HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1017-azure #17~24.04.1-Ubuntu SMP Mon Dec 1 20:10:50 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: /mnt/data/smarthr-co-in/demo/angular/template/chunk-XG3VZDGS.js
import{a as T,d as N,f as P}from"./chunk-QTTEMGWW.js";import"./chunk-VZSYGL77.js";import"./chunk-KT3425N4.js";import"./chunk-L5US5TIY.js";import"./chunk-KLR3GVJ4.js";import"./chunk-ROUB2DV5.js";import"./chunk-ZRYDU45O.js";import"./chunk-D2NXOKOR.js";import"./chunk-3OLHRZ2P.js";import"./chunk-2OYBQGHU.js";import"./chunk-33OPMCTI.js";import"./chunk-OH3XPIE7.js";import"./chunk-D5XKRYC7.js";import"./chunk-PYXABXFS.js";import"./chunk-RAVHNKJU.js";import{c as j,e as F,h as $}from"./chunk-WT44ZQWY.js";import"./chunk-GZFJ7A3T.js";import"./chunk-3NNWUWWG.js";import"./chunk-4FNTF56S.js";import{i as k,k as D,n as A,y as I}from"./chunk-7PPOABPU.js";import{a as C}from"./chunk-ILLDEPHH.js";import{e as _}from"./chunk-K3YFDFGL.js";import"./chunk-WA2UGD5L.js";import"./chunk-BT37DHWM.js";import{Eb as E,Fc as c,Hd as h,Sb as d,Tb as e,Ub as t,Vb as n,Zb as u,_b as f,ac as b,cc as s,ec as g,fb as a,pa as v,qa as x,tc as i,ud as y,vd as w,yb as S}from"./chunk-AQ27DSQO.js";import"./chunk-EQDQRRRY.js";var B=()=>({adaptivePosition:!0});function R(p,m){if(p&1){let r=b();u(0),e(1,"div",112)(2,"div",36)(3,"div",23)(4,"label",19),i(5,"Description"),t(),n(6,"input",20),t()(),e(7,"div",36)(8,"div",21)(9,"div",37)(10,"div",23)(11,"label",19),i(12,"Qty"),t(),n(13,"input",20),t()(),e(14,"div",37)(15,"div",23)(16,"label",19),i(17,"Discount"),t(),n(18,"input",20),t()(),e(19,"div",37)(20,"div",23)(21,"label",19),i(22,"Rate"),t(),e(23,"div",113),n(24,"input",20),e(25,"a",114),s("click",function(){let o=v(r).index,L=g();return x(L.removeRow(o))}),n(26,"i",115),t()()()()()()(),f()}}var M=class p{routes=C;password=[!1,!1,!1,!1];togglePassword(m){this.password[m]=!this.password[m]}formData=[];addNewRow(){this.formData.push({})}removeRow(m){this.formData.splice(m,1)}trackByIndex(m,r){return m}static \u0275fac=function(r){return new(r||p)};static \u0275cmp=S({type:p,selectors:[["app-add-invoice"]],decls:451,vars:11,consts:[[1,"content"],[1,"row","align-items-center"],[1,"col-md-10","mx-auto"],[1,"card"],[1,"card-body"],[1,"d-flex","align-items-center","justify-content-between","mb-4"],[1,"back-icon","align-items-center","fs-14","d-inline-flex","fw-medium",3,"routerLink"],[1,"d-flex","justify-content-center","align-items-center","rounded-circle","me-2"],[1,"ti","ti-arrow-left","fs-12"],["href","javascript:void(0);","data-bs-toggle","modal","data-bs-target","#invoice_preview",1,"text-primary","text-decoration-underline"],[1,"bg-light","p-3","rounded","mb-3"],[1,"d-flex","justify-content-between","align-items-center","mb-3"],["href","javascript:void(0);",1,"text-dark","fw-medium"],[1,"text-gray","me-2"],[1,"ti","ti-edit"],[1,"mb-1"],[1,"text-dark"],[1,"border-bottom","mb-3"],[1,"mb-2"],[1,"form-label",3,"htmlFor"],["type","text",1,"form-control"],[1,"row"],[1,"col-md-4","col-sm-12"],[1,"mb-3"],[1,"input-icon","position-relative","w-100","me-2"],[1,"input-icon-addon"],[1,"ti","ti-calendar"],["type","text","bsDatepicker","","container",".ngx-date4","placeholder","dd/mm/yyyy","value","02-05-2024",1,"form-control","datetimepicker",3,"bsConfig"],[1,"col-lg-3","col-md-6","col-sm-12"],[1,"d-flex","justify-content-between","align-items-center"],["href","javascript:void(0);","data-bs-toggle","modal","data-bs-target","#add_customer",1,"text-primary","fw-medium","d-flex","align-items-center"],[1,"ti","ti-plus","me-2"],["placeholder","Select",1,"select","custom-mat-select"],["value","1"],[1,"border","rounded","p-3","mb-3"],[1,"add-description-info"],[1,"col-md-6"],[1,"col-md-4"],[4,"ngFor","ngForOf","ngForTrackBy"],["href","javascript:void(0);",1,"text-primary","add-more-description","fw-medium","d-flex","align-items-center",3,"click"],["rows","3",1,"form-control"],[1,"d-flex","justify-content-end","align-items-center","flex-wrap","row-gap-3"],["href","javascript:void(0);",1,"btn","btn-dark","d-flex","justify-content-center","align-items-center"],[1,"ti","ti-printer","me-2"],["href","javascript:void(0);",1,"btn","btn-primary","d-flex","justify-content-center","align-items-center","ms-2"],[1,"ti","ti-copy","me-2"],["id","invoice_preview",1,"modal","fade"],[1,"modal-dialog","modal-dialog-centered","modal-lg"],[1,"modal-content"],[1,"modal-body","p-4"],[1,"invoice-content"],[1,"d-flex","justify-content-center","align-items-center"],[1,"flex-fill"],[1,"row","justify-content-between","align-items-center","border-bottom","mb-3"],["src","assets/img/logo.svg","alt","logo",1,"img-fluid"],[1,"text-end","mb-3"],[1,"text-gray","mb-1"],[1,"text-primary"],[1,"mb-1","fw-medium"],[1,"fw-medium"],[1,"row","border-bottom","mb-3"],[1,"col-md-5"],[1,"text-dark","mb-2","fw-semibold"],[1,"col-md-2"],[1,"text-title","mb-2","fw-medium"],[1,"badge","badge-danger","align-items-center","mb-3"],[1,"ti","ti-point-filled"],["src","assets/img/qr.svg","alt","QR",1,"img-fluid"],[1,"text-dark","fw-medium"],[1,"table-responsive","mb-3"],[1,"table"],[1,"thead-light"],[1,"text-end"],[1,"text-gray-9","fw-medium","text-end"],[1,"col-md-7"],[1,"py-4"],[1,"d-flex","justify-content-between","align-items-center","border-bottom","mb-2","pe-3"],[1,"mb-0"],[1,"text-dark","fw-medium","mb-2"],[1,"d-flex","justify-content-between","align-items-center","mb-2","pe-3"],[1,"fs-12"],[1,"row","justify-content-end","align-items-end","text-end","border-bottom","mb-3"],[1,"col-md-3"],["src","assets/img/sign.svg","alt","sign",1,"img-fluid"],[1,"fs-14","fw-medium","pe-3"],[1,"text-center"],[1,"text-dark","mb-1"],[1,"fs-12","mb-0","me-3"],["id","add_customer",1,"modal","fade"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal","aria-label","Close",1,"btn-close","custom-btn-close"],[1,"ti","ti-x"],[1,"modal-body"],[1,"d-flex","align-items-center","flex-wrap","row-gap-3","bg-light","w-100","rounded","p-3","mb-4"],[1,"d-flex","align-items-center","justify-content-center","avatar","avatar-xxl","rounded-circle","border","border-dashed","me-2","flex-shrink-0","text-dark","frames"],[1,"ti","ti-photo-plus","fs-16"],[1,"profile-upload"],[1,"profile-uploader","d-flex","align-items-center"],[1,"drag-upload-btn","btn","btn-sm","btn-primary","me-2"],["type","file","multiple","",1,"form-control","image-sign"],["href","javascript:void(0);",1,"btn","btn-light","btn-sm"],[1,"text-danger"],[1,"pass-group"],["tabindex","0","placeholder","Password",1,"pass-input","form-control",3,"type"],["tabindex","0",1,"ti","toggle-password",3,"click","keydown.enter","ngClass"],["placeholder","Confirm Password","tabindex","0",1,"pass-input","form-control",3,"type"],[1,"col-md-12"],[1,"modal-footer"],[1,"d-flex","align-items-center","justify-content-end","m-0"],["type","button","data-bs-dismiss","modal",1,"btn","btn-outline","border","me-2"],["type","button","data-bs-dismiss","modal",1,"btn","btn-primary"],[1,"row","extra-title-row"],[1,"d-flex","align-items-center"],["href","javascript:void(0);",1,"link-danger","ms-2","delete-item",3,"click"],[1,"far","fa-trash-alt"]],template:function(r,l){r&1&&(e(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"a",6)(7,"span",7),n(8,"i",8),t(),i(9," Back to List "),t(),e(10,"a",9),i(11," Preview "),t()(),e(12,"div",10)(13,"div",11)(14,"h5"),i(15,"From"),t(),e(16,"a",12)(17,"span",13),n(18,"i",14),t(),i(19,"Edit Details"),t()(),e(20,"div")(21,"h4",15),i(22,"Thomas Lawler"),t(),e(23,"p",15),i(24,"2077 Chicago Avenue Orosi, CA 93647"),t(),e(25,"p",15),i(26,"Email : "),e(27,"span",16),i(28,"[email protected]"),t()(),e(29,"p"),i(30,"Phone : "),e(31,"span",16),i(32,"+1 987 654 3210"),t()()()(),e(33,"div",17)(34,"h4",18),i(35,"Invoice Details"),t(),e(36,"div",18)(37,"label",19),i(38,"Invoice Title"),t(),n(39,"input",20),t(),e(40,"div",21)(41,"div",22)(42,"div",23)(43,"label",19),i(44,"Invoice No"),t(),n(45,"input",20),t()(),e(46,"div",22)(47,"div",23)(48,"label",19),i(49,"Invoice Date"),t(),e(50,"div",24)(51,"span",25),n(52,"i",26),t(),n(53,"input",27),t()()(),e(54,"div",22)(55,"div",23)(56,"label",19),i(57,"Due Date"),t(),e(58,"div",24)(59,"span",25),n(60,"i",26),t(),n(61,"input",27),t()()()()(),e(62,"div",17)(63,"h4",18),i(64,"Payment Details"),t(),e(65,"div",21)(66,"div",28)(67,"div",23)(68,"div",29)(69,"label",19),i(70,"Customer"),t(),e(71,"a",30),n(72,"i",31),i(73,"Add New "),t()(),n(74,"input",20),t()(),e(75,"div",28)(76,"div",23)(77,"label",19),i(78,"Reference Number"),t(),n(79,"input",20),t()(),e(80,"div",28)(81,"div",23)(82,"label",19),i(83,"Select Payment Type"),t(),e(84,"mat-select",32)(85,"mat-option",33),i(86,"Select"),t(),e(87,"mat-option",33),i(88,"Credit"),t(),e(89,"mat-option",33),i(90,"Debit"),t()()()(),e(91,"div",28)(92,"div",23)(93,"label",19),i(94,"Bank Details"),t(),e(95,"mat-select",32)(96,"mat-option",33),i(97,"Select"),t(),e(98,"mat-option",33),i(99,"Bank of America"),t(),e(100,"mat-option",33),i(101,"U.S. Bank"),t()()()()()(),e(102,"div",17)(103,"h4",18),i(104,"Add Items"),t(),e(105,"div",34)(106,"div",35)(107,"div",21)(108,"div",36)(109,"div",23)(110,"label",19),i(111,"Description"),t(),n(112,"input",20),t()(),e(113,"div",36)(114,"div",21)(115,"div",37)(116,"div",23)(117,"label",19),i(118,"Qty"),t(),n(119,"input",20),t()(),e(120,"div",37)(121,"div",23)(122,"label",19),i(123,"Discount"),t(),n(124,"input",20),t()(),e(125,"div",37)(126,"div",23)(127,"label",19),i(128,"Rate"),t(),n(129,"input",20),t()()()()(),E(130,R,27,0,"ng-container",38),t(),e(131,"a",39),s("click",function(){return l.addNewRow()}),n(132,"i",31),i(133,"Add New"),t()()(),e(134,"div")(135,"h4",18),i(136,"Additional Details"),t(),e(137,"div",23)(138,"label",19),i(139," Description"),t(),n(140,"textarea",40),t(),e(141,"div",23)(142,"label",19),i(143,"Notes"),t(),n(144,"textarea",40),t()(),e(145,"div",41)(146,"a",42),n(147,"i",43),i(148,"Save as Draft"),t(),e(149,"a",44),n(150,"i",45),i(151,"Save & Send"),t()()()()()()(),e(152,"div",46)(153,"div",47)(154,"div",48)(155,"div",49)(156,"div",50)(157,"div",51)(158,"div",52)(159,"div",53)(160,"div",36)(161,"div",18),n(162,"img",54),t(),e(163,"p"),i(164,"3099 Kennedy Court Framingham, MA 01702"),t()(),e(165,"div",36)(166,"div",55)(167,"h5",56),i(168,"Invoice No "),e(169,"span",57),i(170,"#INV0001"),t()(),e(171,"p",58),i(172,"Created Date : "),e(173,"span",16),i(174,"Sep 24, 2023"),t()(),e(175,"p",59),i(176,"Due Date : "),e(177,"span",16),i(178,"Sep 30, 2023"),t()()()()(),e(179,"div",60)(180,"div",61)(181,"p",62),i(182,"From"),t(),e(183,"div")(184,"h4",15),i(185,"Thomas Lawler"),t(),e(186,"p",15),i(187,"2077 Chicago Avenue Orosi, CA 93647"),t(),e(188,"p",15),i(189,"Email : "),e(190,"span",16),i(191,"[email protected]"),t()(),e(192,"p"),i(193,"Phone : "),e(194,"span",16),i(195,"+1 987 654 3210"),t()()()(),e(196,"div",61)(197,"p",62),i(198,"To"),t(),e(199,"div")(200,"h4",15),i(201,"Sara Inc,."),t(),e(202,"p",15),i(203,"3103 Trainer Avenue Peoria, IL 61602"),t(),e(204,"p",15),i(205,"Email : "),e(206,"span",16),i(207,"[email protected]"),t()(),e(208,"p"),i(209,"Phone : "),e(210,"span",16),i(211,"+1 987 471 6589"),t()()()(),e(212,"div",63)(213,"div",23)(214,"p",64),i(215,"Payment Status "),t(),e(216,"span",65),n(217,"i",66),i(218,"Due in 10 Days"),t(),e(219,"div"),n(220,"img",67),t()()()(),e(221,"div")(222,"p",59),i(223,"Invoice For : "),e(224,"span",68),i(225,"Design & development of Website"),t()(),e(226,"div",69)(227,"table",70)(228,"thead",71)(229,"tr")(230,"th"),i(231,"Job Description"),t(),e(232,"th",72),i(233,"Qty"),t(),e(234,"th",72),i(235,"Cost"),t(),e(236,"th",72),i(237,"Discount"),t(),e(238,"th",72),i(239,"Total"),t()()(),e(240,"tbody")(241,"tr")(242,"td")(243,"h6"),i(244,"UX Strategy"),t()(),e(245,"td",73),i(246,"1"),t(),e(247,"td",73),i(248,"$500"),t(),e(249,"td",73),i(250,"$100"),t(),e(251,"td",73),i(252,"$500"),t()(),e(253,"tr")(254,"td")(255,"h6"),i(256,"Design System"),t()(),e(257,"td",73),i(258,"1"),t(),e(259,"td",73),i(260,"$5000"),t(),e(261,"td",73),i(262,"$100"),t(),e(263,"td",73),i(264,"$5000"),t()(),e(265,"tr")(266,"td")(267,"h6"),i(268,"Brand Guidellines"),t()(),e(269,"td",73),i(270,"1"),t(),e(271,"td",73),i(272,"$5000"),t(),e(273,"td",73),i(274,"$100"),t(),e(275,"td",73),i(276,"$5000"),t()(),e(277,"tr")(278,"td")(279,"h6"),i(280,"Social Media Template"),t()(),e(281,"td",73),i(282,"1"),t(),e(283,"td",73),i(284,"$5000"),t(),e(285,"td",73),i(286,"$100"),t(),e(287,"td",73),i(288,"$5000"),t()()()()()(),e(289,"div",60)(290,"div",74)(291,"div",75)(292,"div",23)(293,"h6",15),i(294,"Terms and Conditions"),t(),e(295,"p"),i(296,"Please pay within 15 days from the date of invoice, overdue interest @ 14% will be charged on delayed payments."),t()(),e(297,"div",23)(298,"h6",15),i(299,"Notes"),t(),e(300,"p"),i(301,"Please quote invoice number when remitting funds."),t()()()(),e(302,"div",61)(303,"div",76)(304,"p",77),i(305,"Sub Total"),t(),e(306,"p",78),i(307,"$5500"),t()(),e(308,"div",76)(309,"p",77),i(310,"Discount(0%)"),t(),e(311,"p",78),i(312,"$400"),t()(),e(313,"div",79)(314,"p",77),i(315,"VAT(5%)"),t(),e(316,"p",78),i(317,"$54"),t()(),e(318,"div",79)(319,"h5"),i(320,"Total Amount"),t(),e(321,"h5"),i(322,"$5775"),t()(),e(323,"p",80),i(324," Amount in Words : Dollar Five thousand Seven Seventy Five "),t()()(),e(325,"div",81)(326,"div",82)(327,"div",72),n(328,"img",83),t(),e(329,"div",55)(330,"h6",84),i(331,"Ted M. Davis"),t(),e(332,"p"),i(333,"Assistant Manager"),t()()()(),e(334,"div",85)(335,"div",23),n(336,"img",54),t(),e(337,"p",86),i(338,"Payment Made Via bank transfer / Cheque in the name of Thomas Lawler"),t(),e(339,"div",51)(340,"p",87),i(341,"Bank Name : "),e(342,"span",16),i(343,"HDFC Bank"),t()(),e(344,"p",87),i(345,"Account Number : "),e(346,"span",16),i(347,"45366287987"),t()(),e(348,"p",80),i(349,"IFSC : "),e(350,"span",16),i(351,"HDFC0018159"),t()()()()()()()()()()(),e(352,"div",88)(353,"div",47)(354,"div",48)(355,"div",89)(356,"h4",90),i(357,"Add New Customer"),t(),e(358,"button",91),n(359,"i",92),t()(),e(360,"form")(361,"div",93)(362,"div",94)(363,"div",95),n(364,"i",96),t(),e(365,"div",97)(366,"div",18)(367,"h6",15),i(368,"Upload Profile Image"),t(),e(369,"p",80),i(370,"Image should be below 4 mb"),t()(),e(371,"div",98)(372,"div",99),i(373," Upload "),n(374,"input",100),t(),e(375,"a",101),i(376,"Cancel"),t()()()(),e(377,"div",21)(378,"div",36)(379,"div",23)(380,"label",19),i(381,"First Name "),e(382,"span",102),i(383," *"),t()(),n(384,"input",20),t()(),e(385,"div",36)(386,"div",23)(387,"label",19),i(388,"Last Name "),e(389,"span",102),i(390," *"),t()(),n(391,"input",20),t()(),e(392,"div",36)(393,"div",23)(394,"label",19),i(395,"User Name "),e(396,"span",102),i(397," *"),t()(),n(398,"input",20),t()(),e(399,"div",36)(400,"div",23)(401,"label",19),i(402,"Email "),e(403,"span",102),i(404," *"),t()(),n(405,"input",20),t()(),e(406,"div",36)(407,"div",23)(408,"label",19),i(409,"Password "),e(410,"span",102),i(411," *"),t()(),e(412,"div",103),n(413,"input",104),e(414,"span",105),s("click",function(){return l.togglePassword(0)})("keydown.enter",function(){return l.togglePassword(0)}),t()()()(),e(415,"div",36)(416,"div",23)(417,"label",19),i(418,"Confirm Password "),e(419,"span",102),i(420," *"),t()(),e(421,"div",103),n(422,"input",106),e(423,"span",105),s("click",function(){return l.togglePassword(1)})("keydown.enter",function(){return l.togglePassword(1)}),t()()()(),e(424,"div",36)(425,"div",23)(426,"label",19),i(427,"Phone Number "),e(428,"span",102),i(429," *"),t()(),n(430,"input",20),t()(),e(431,"div",36)(432,"div",23)(433,"label",19),i(434,"Company "),e(435,"span",102),i(436," *"),t()(),n(437,"input",20),t()(),e(438,"div",107)(439,"div",77)(440,"label",19),i(441,"Address "),e(442,"span",102),i(443," *"),t()(),n(444,"input",20),t()()()(),e(445,"div",108)(446,"div",109)(447,"button",110),i(448,"Cancel"),t(),e(449,"button",111),i(450,"Save"),t()()()()()()()),r&2&&(a(6),d("routerLink",l.routes.index),a(47),d("bsConfig",c(9,B)),a(8),d("bsConfig",c(10,B)),a(69),d("ngForOf",l.formData)("ngForTrackBy",l.trackByIndex),a(283),d("type",l.password[0]?"text":"password"),a(),d("ngClass",l.password[0]?"ti-eye":"ti-eye-off"),a(8),d("type",l.password[1]?"text":"password"),a(),d("ngClass",l.password[1]?"ti-eye":"ti-eye-off"))},dependencies:[h,y,w,I,A,k,D,P,N,T,_,$,j,F],encapsulation:2})};export{M as AddInvoiceComponent};