41 lines
58 KiB
JavaScript
41 lines
58 KiB
JavaScript
function getTime(e){if(null!=(e=new Date(e)).getHours())return e.getHours()+":"+(e.getMinutes()?e.getMinutes():0)}function tConvert(e){var t=new Date(e);time_s=t.getHours()+":"+t.getMinutes();var a=time_s.split(":"),e=a[0],t=a[1],a=12<=e?"PM":"AM";return(e=(e%=12)||12)+":"+(t=t<10?"0"+t:t)+" "+a}var invoice_new_obj,str_dt=function(e){var t=new Date(e),a=""+["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][t.getMonth()],e=""+t.getDate(),t=t.getFullYear();return a.length<2&&(a="0"+a),[(e=e.length<2?"0"+e:e)+" "+a,t].join(", ")},date=new Date,d=date.getDate(),m=date.getMonth(),y=date.getFullYear(),qty=0,rate=0,Invoices=[{invoice_no:invoice_no="25000351",customer:customer="Valentine Morin",img:img="avatar-1.jpg",email:email="euismod.enim@outlook.net",date:date=new Date(2021,3,d-23,21,58),invoice_amount:invoice_amount=875,status:status="Paid",billing_address:billing_address={full_name:full_name="Valentine Morin",address:address="5114 Adipiscing St. Puno United States 46782",phone:phone="(926) 817-7835",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="Quamar Payne",address:address="534-1477 Non, Av. Bury St. Edmunds France 10846",phone:phone="(926) 817-7835",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="VISA",card_holder_name:card_holder_name="Reese Jacobs",card_number:card_number="4024007179348742",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."},{invoice_no:invoice_no="25000352",customer:customer="Brody Holman",img:img="avatar-2.jpg",email:email="metus@protonmail.org",date:date=new Date(2021,5,d-23,21,58),invoice_amount:invoice_amount=875,status:status="Unpaid",billing_address:billing_address={full_name:full_name="Brody Holman",address:address="P.O. Box 900 Ireland, 6694 Ullamcorper Avenue Port Pirie 37176",phone:phone="1-862-423-3347",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="Elijah Galloway",address:address="7288 Dignissim Rd. Villa Alegre Germany 891315",phone:phone="1-862-423-3347",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="VISA",card_holder_name:card_holder_name="Rashawn Kuhn",card_number:card_number="4916669499578927",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."},{invoice_no:invoice_no="25000353",customer:customer="Jolie Hood",img:img="avatar-3.jpg",email:email="nunc.nulla@yahoo.edu",date:date=new Date(2021,3,d-23,21,58),invoice_amount:invoice_amount=875,status:status="Paid",billing_address:billing_address={full_name:full_name="Jolie Hood",address:address="Ap #957-7519 Vel, Belgium St. Diêm Điền 88188-296",phone:phone="1-634-649-4101",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="MacKensie Peterson",address:address="572-7561 Tempus Ave Alajuela Spain 86558",phone:phone="1-634-649-4101",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="VISA",card_holder_name:card_holder_name="Izaiah O'Kon",card_number:card_number="4486013431082211",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."},{invoice_no:invoice_no="25000354",customer:customer="Buckminster Wong",img:img="avatar-4.jpg",email:email="morbi.quis@protonmail.org",date:date=new Date(2021,8,d-22,21,58),invoice_amount:invoice_amount=875,status:status="Paid",billing_address:billing_address={full_name:full_name="Buckminster Wong",address:address="983-8399 Egestas, Rd Spain. Penza 6596",phone:phone="(922) 264-4841",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="Emerson Riggs",address:address="916-4370 Aliquet Avenue Nordhorn Spain 3200",phone:phone="(922) 264-4841",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="VISA",card_holder_name:card_holder_name="Felicity McGlynn",card_number:card_number="4532135177402156",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."},{invoice_no:invoice_no="25000355",customer:customer="Howard Lyons",img:img="",email:email="neque.sed.dictum@icloud.org",date:date=new Date(2021,3,d-23,21,58),invoice_amount:invoice_amount=875,status:status="Refund",billing_address:billing_address={full_name:full_name="Howard Lyons",address:address="Ap #552-1397 Ac Rd Germany. Barmouth 8574",phone:phone="1-434-874-6805",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="Britanni Daniel",address:address="P.O. Box 998, 9293 Quisque Avenue Puerto Montt Poland 82862",phone:phone="1-434-874-6805",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="VISA",card_holder_name:card_holder_name="David Gleason",card_number:card_number="4024007183253102",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."},{invoice_no:invoice_no="25000356",customer:customer="Howard Oneal",img:img="avatar-6.jpg",email:email="porttitor.tellus.non@yahoo.net",date:date=new Date(2021,3,d-23,21,58),invoice_amount:invoice_amount=875,status:status="Paid",billing_address:billing_address={full_name:full_name="Howard Oneal",address:address="5642 Aliquam, Avenue Zielona Costa Rica Góra 21204",phone:phone="1-546-878-8131",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="Salvador Carney",address:address="715-6973 Non St. Samara Peru 10513",phone:phone="1-546-878-8131",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="VISA",card_holder_name:card_holder_name="Reta Lang",card_number:card_number="4716482226172291",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."},{invoice_no:invoice_no="25000357",customer:customer="Jena Hall",img:img="avatar-7.jpg",email:email="lectus.sit.amet@protonmail.edu",date:date=new Date(2021,3,d-23,21,58),invoice_amount:invoice_amount=875,status:status="Cancel",billing_address:billing_address={full_name:full_name="Jena Hall",address:address="P.O. Box 332 Italy, 5256 Dignissim St. Juazeiro do Norte 646442",phone:phone="(587) 848-3170",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="Kieran Holland",address:address="150-7530 Egestas Av. Panchià Russian Federation 16807",phone:phone="(587) 848-3170",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="VISA",card_holder_name:card_holder_name="Donna Hilpert",card_number:card_number="4485110978669599",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."},{invoice_no:invoice_no="25000358",customer:customer="Paki Edwards",img:img="avatar-8.jpg",email:email="dictum.phasellus.in@hotmail.org",date:date=new Date(2021,3,d-23,21,58),invoice_amount:invoice_amount=875,status:status="Paid",billing_address:billing_address={full_name:full_name="Paki Edwards",address:address="2935 Senectus Av. Tvedestrand Germany 66479",phone:phone="(287) 406-9128",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="Yoshio Skinner",address:address="101-9784 Metus Rd. Minitonas Mexico 19-154",phone:phone="(287) 406-9128",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="VISA",card_holder_name:card_holder_name="Evelyn Miller",card_number:card_number="4609615071890505",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."},{invoice_no:invoice_no="25000359",customer:customer="Christian Cardenas",img:img="avatar-1.jpg",email:email="id.erat@aol.org",date:date=new Date(2022,1,d-20,21,58),invoice_amount:invoice_amount=875,status:status="Paid",billing_address:billing_address={full_name:full_name="Christian Cardenas",address:address="414-240 Odio. Rd Vietnam. Louisville 41715",phone:phone="1-681-342-7158",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="Linus Pitts",address:address="Ap #280-7347 Libero. Rd. Yurimaguas Italy 881484",phone:phone="1-681-342-7158",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="VISA",card_holder_name:card_holder_name="Cleora Cole",card_number:card_number="4011376293886159",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."},{invoice_no:invoice_no="25000360",customer:customer="Yoshi Guerra",img:img="avatar-2.jpg",email:email="sem.magna.nec@hotmail.ca",date:date=new Date(2021,3,d-23,21,58),invoice_amount:invoice_amount=875,status:status="Paid",billing_address:billing_address={full_name:full_name="Yoshi Guerra",address:address="Ap #322-2982 Lacinia Road India Moss 309511",phone:phone="1-514-596-7650",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="Otto Farrell",address:address="Ap #827-2319 Eu Ave Bima Norway 1663",phone:phone="1-514-596-7650",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="VISA",card_holder_name:card_holder_name="Blaise Quigley",card_number:card_number="4929663041722401",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."},{invoice_no:invoice_no="25000361",customer:customer="Hilel Gillespie",img:img="avatar-3.jpg",email:email="enim.nunc@yahoo.edu",date:date=new Date(2021,3,d-23,21,58),invoice_amount:invoice_amount=875,status:status="Paid",billing_address:billing_address={full_name:full_name="Hilel Gillespie",address:address="848-2883 At Street Kalisz United Kingdom 687132",phone:phone="(451) 816-7296",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="Dacey Villarreal",address:address="292-7088 In Road Rawalakot New Zealand 6842",phone:phone="(451) 816-7296",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="VISA",card_holder_name:card_holder_name="Hollie Zboncak",card_number:card_number="4828772787474622",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."},{invoice_no:invoice_no="25000362",customer:customer="Randall Stafford",img:img="avatar-4.jpg",email:email="eget.lacus@outlook.org",date:date=new Date(2021,3,d-23,21,58),invoice_amount:invoice_amount=875,status:status="Paid",billing_address:billing_address={full_name:full_name="Randall Stafford",address:address="P.O. Box 583 Colombia, 2640 Aliquam Ave Toruń 456387",phone:phone="1-340-324-3678",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="Shana Hudson",address:address="Ap #973-232 Non, St. Tibet Sweden GW0R 2VR",phone:phone="1-340-324-3678",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="MasterCard",card_holder_name:card_holder_name="Kameron Barrows",card_number:card_number="2720686256191298",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."},{invoice_no:invoice_no="25000363",customer:customer="Fletcher Jones",img:img="avatar-5.jpg",email:email="sapien.cursus@google.couk",date:date=new Date(2021,3,d-23,21,58),invoice_amount:invoice_amount=875,status:status="Paid",billing_address:billing_address={full_name:full_name="Fletcher Jones",address:address="P.O. Box 951 New Zealand, 1480 Venenatis Ave Swat 152307",phone:phone="(433) 436-0003",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="Fitzgerald Rice",address:address="314-372 Facilisis Rd. Nancy Turkey E2K 1HY",phone:phone="(433) 436-0003",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="MasterCard",card_holder_name:card_holder_name="Gus Thiel",card_number:card_number="2221197016300538",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."},{invoice_no:invoice_no="25000364",customer:customer="Donovan Sparks",img:img="avatar-6.jpg",email:email="urna.convallis@yahoo.net",date:date=new Date(2021,3,d-23,21,58),invoice_amount:invoice_amount=875,status:status="Paid",billing_address:billing_address={full_name:full_name="Donovan Sparks",address:address="176-4856 Hendrerit Av. France San Juan de Girón 58811-629",phone:phone="1-658-684-1084",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="Georgia Nixon",address:address="Ap #599-1431 Non, St. Cartagena del Chairá United States 2548",phone:phone="1-658-684-1084",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="MasterCard",card_holder_name:card_holder_name="Emily Stokes",card_number:card_number="2221426370404515",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."},{invoice_no:invoice_no="25000365",customer:customer="Sage Gardner",img:img="avatar-7.jpg",email:email="consequat.enim@google.com",date:date=new Date(2021,3,d-23,21,58),invoice_amount:invoice_amount=875,status:status="Paid",billing_address:billing_address={full_name:full_name="Sage Gardner",address:address="Ap #193-730 Orci, Chile Street San José de Alajuela 8317",phone:phone="(470) 328-1309",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="Melinda Banks",address:address="5778 Aliquam Road Ofena Italy 11218",phone:phone="(470) 328-1309",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="MasterCard",card_holder_name:card_holder_name="Salvador Gerlach",card_number:card_number="5347125175526959",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."},{invoice_no:invoice_no="25000366",customer:customer="Paki Grimes",img:img="avatar-1.jpg",email:email="ante.lectus.convallis@google.com",date:date=new Date(2021,3,d-23,21,58),invoice_amount:invoice_amount=875,status:status="Paid",billing_address:billing_address={full_name:full_name="Paki Grimes",address:address="516-3641 Tincidunt St. Pakistan Zamora de Hidalgo 6554",phone:phone="(726) 823-5568",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="Shaeleigh Wilkins",address:address="961-3054 Integer St. Abergele United Kingdom 6746",phone:phone="(726) 823-5568",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="MasterCard",card_holder_name:card_holder_name="Marilyne Swift",card_number:card_number="2221357276228023",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."},{invoice_no:invoice_no="25000367",customer:customer="James Diaz",img:img="avatar-2.jpg",email:email="nascetur@yahoo.com",date:date=new Date(2021,3,d-23,21,58),invoice_amount:invoice_amount=875,status:status="Paid",billing_address:billing_address={full_name:full_name="James Diaz",address:address="Ap #160-8536 Ante St Colombia. Santa Coloma de Gramenet 19475",phone:phone="1-989-241-7715",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="Julian Tanner",address:address="630-5275 Quis Street Kraków Canada E39 0RE",phone:phone="1-989-241-7715",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="MasterCard",card_holder_name:card_holder_name="Kraig Prohaska",card_number:card_number="2221381107199906",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."},{invoice_no:invoice_no="25000368",customer:customer="Karen Monroe",img:img="avatar-3.jpg",email:email="ac.ipsum@google.com",date:date=new Date(2021,3,d-23,21,58),invoice_amount:invoice_amount=875,status:status="Paid",billing_address:billing_address={full_name:full_name="Karen Monroe",address:address="486-3233 Quis Road Burnie Costa Rica 82926",phone:phone="(131) 702-8456",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="Jescie Keller",address:address="256-3596 Fermentum Road Salzburg United States 86-910",phone:phone="(131) 702-8456",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="MasterCard",card_holder_name:card_holder_name="Domenic Kassulke",card_number:card_number="5576137153087732",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."},{invoice_no:invoice_no="25000369",customer:customer="Vincent Weeks",img:img="avatar-4.jpg",email:email="metus.facilisis@hotmail.edu",date:date=new Date(2021,3,d-23,21,58),invoice_amount:invoice_amount=875,status:status="Paid",billing_address:billing_address={full_name:full_name="Vincent Weeks",address:address="128-7206 Sit Street Bathurst Indonesia 812326",phone:phone="1-361-716-4822",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="Jonah Hayden",address:address="Ap #315-5686 Luctus. Rd. Samaniego Canada 482995",phone:phone="1-361-716-4822",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="MasterCard",card_holder_name:card_holder_name="Abner Muller",card_number:card_number="5322044544430471",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."},{invoice_no:invoice_no="25000370",customer:customer="Miriam Dickson",img:img="avatar-5.jpg",email:email="nunc.ac@icloud.ca",date:date=new Date(2021,3,d-23,21,58),invoice_amount:invoice_amount=875,status:status="Paid",billing_address:billing_address={full_name:full_name="Miriam Dickson",address:address="1747 Dui, Ave Springdale Russian Federation 67155",phone:phone="(215) 293-4168",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="Eaton Buckley",address:address="846-7108 Orci. Road Ukkel India 624087",phone:phone="(215) 293-4168",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="MasterCard",card_holder_name:card_holder_name="Elyse Green",card_number:card_number="5393850427187200",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."},{invoice_no:invoice_no="25000371",customer:customer="Ashton Head",img:img="",email:email="cras@outlook.edu",date:date=new Date(2021,3,d-23,21,58),invoice_amount:invoice_amount=875,status:status="Paid",billing_address:billing_address={full_name:full_name="Ashton Head",address:address="735-6864 Mauris Ave Linz South Korea 39964",phone:phone="(256) 774-0737",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="Lani Ashley",address:address="P.O. Box 451, 696 Metus Avenue Jaboatão dos Guararapes Colombia 391846",phone:phone="(256) 774-0737",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="MasterCard",card_holder_name:card_holder_name="Wilhelmine Cummerata",card_number:card_number="5529776760187837",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."},{invoice_no:invoice_no="25000371",customer:customer="Linus Martin",img:img="avatar-2.jpg",email:email="fringilla.est.mauris@google.edu",date:date=new Date(2021,3,d-23,21,58),invoice_amount:invoice_amount=875,status:status="Paid",billing_address:billing_address={full_name:full_name="Linus Martin",address:address="907-233 Vehicula. Road Vietnam Vienna 8231",phone:phone="1-544-454-6888",tax:tax="123456789"},shipping_address:shipping_address={full_name:full_name="Yuri Allison",address:address="Ap #769-2743 Pede. Road Gönen Spain 83472-82897",phone:phone="1-544-454-6888",tax:tax="123456789"},prducts:prducts=[{product_name:product_name="Sweatshirt for Men (Pink)",product_details:product_details="Graphic Print Men & Women Sweatshirt",rates:rates=rate=119.99,quantity:quantity=qty=2,amount:amount=rate*qty},{product_name:product_name="Noise NoiseFit Endure Smart Watch",product_details:product_details="32.5mm (1.28 Inch) TFT Color Touch Display",rates:rates=rate=94.99,quantity:quantity=qty=1,amount:amount=rate*qty},{product_name:product_name="350 ml Glass Grocery Container",product_details:product_details="Glass Grocery Container (Pack of 3, White)",rates:rates=rate=24.99,quantity:quantity=qty=1,amount:amount=rate*qty}],payment_details:payment_details={payment_method:payment_method="MasterCard",card_holder_name:card_holder_name="Tania Price",card_number:card_number="5336874146007028",total_amount:total_amount=415.96},company_details:company_details={legal_registration_no:legal_registration_no="987654",email:email="velzon@themesbrand.com",website:website="www.themesbrand.com",contact_no:contact_no="0123456789",address:address="California, United States",zip_code:zip_code="90201"},order_summary:order_summary={sub_total:sub_total=359.96,estimated_tex:estimated_tex=44.99,discount:discount=53.99,shipping_charge:shipping_charge=65,total_amount:total_amount=415.96},notes:notes="All accounts are to be paid within 7 days from receipt of invoice. To be paid by cheque or credit card or direct payment online. If account is not paid within 7 days the credits details supplied as confirmation of work undertaken will be charged the agreed quoted fee noted above."}];null===localStorage.getItem("invoices-list")&&null===localStorage.getItem("new_data_object")||(null===localStorage.getItem("invoices-list")&&null!==localStorage.getItem("new_data_object")?(invoice_new_obj=JSON.parse(localStorage.getItem("new_data_object")),Invoices.push(invoice_new_obj),localStorage.removeItem("new_data_object")):(Invoices=[],Invoices=JSON.parse(localStorage.getItem("invoices-list")),null!==localStorage.getItem("new_data_object")&&(invoice_new_obj=JSON.parse(localStorage.getItem("new_data_object")),Invoices.push(invoice_new_obj),localStorage.removeItem("new_data_object")),localStorage.removeItem("invoices-list"))),Invoices.forEach(function(e){let t;switch(e.status){case"Paid":t="success";break;case"Refund":t="primary";break;case"Unpaid":t="warning";break;case"Cancel":t="danger"}var a;a=e.img?"<img src='assets/images/users/"+e.img+"' alt='' class='avatar-xs rounded-circle me-2'>":'<div class="flex-shrink-0 avatar-xs me-2"><div class="avatar-title bg-soft-success text-success rounded-circle fs-13">'+(2<=(a=e.customer.split(" ")).length?a[0].slice(0,1)+a[1].slice(0,1):a[0].slice(0,1))+"</div></div>";e=`<tr>
|
|
<th scope="row">
|
|
<div class="form-check">
|
|
<input class="form-check-input" type="checkbox" name="chk_child" value="#VL${e.invoice_no}">
|
|
</div>
|
|
</th>
|
|
<td class="id"><a href="javascript:void(0);" onclick="ViewInvoice(this);" data-id="`+e.invoice_no+'" class="fw-medium link-primary">#VL'+e.invoice_no+`</a></td>
|
|
<td class="customer_name">
|
|
<div class="d-flex align-items-center">
|
|
`+a+e.customer+`
|
|
</div>
|
|
</td>
|
|
<td class="email">`+e.email+`</td>
|
|
<td class="country">`+e.country+`</td>
|
|
<td class="date">`+str_dt(e.date)+' <small class="text-muted">'+tConvert(e.date)+`</small></td>
|
|
<td class="invoice_amount">$`+e.invoice_amount+`</td>
|
|
<td class="status"><span class="badge badge-soft-`+t+' text-uppercase">'+e.status+`</span>
|
|
</td>
|
|
<td>
|
|
<div class="dropdown">
|
|
<button class="btn btn-soft-secondary btn-sm dropdown" type="button" data-bs-toggle="dropdown" aria-expanded="false">
|
|
<i class="ri-more-fill align-middle"></i>
|
|
</button>
|
|
<ul class="dropdown-menu dropdown-menu-end">
|
|
<li><button class="dropdown-item" href="javascript:void(0);" onclick="ViewInvoice(this);" data-id="`+e.invoice_no+`" ><i class="ri-eye-fill align-bottom me-2 text-muted"></i>
|
|
View</button></li>
|
|
<li><button class="dropdown-item" href="javascript:void(0);" onclick="EditInvoice(this);" data-id="`+e.invoice_no+`"><i class="ri-pencil-fill align-bottom me-2 text-muted"></i>
|
|
Edit</button></li>
|
|
<li><a class="dropdown-item" href="javascript:void(0);"><i class="ri-download-2-line align-bottom me-2 text-muted"></i>
|
|
Download</a></li>
|
|
<li class="dropdown-divider"></li>
|
|
<li>
|
|
<a class="dropdown-item remove-item-btn" data-bs-toggle="modal" href="#deleteOrder">
|
|
<i class="ri-delete-bin-fill align-bottom me-2 text-muted"></i>
|
|
Delete
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</td>
|
|
</tr>`;document.getElementById("invoice-list-data").innerHTML+=e}),document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll('[data-plugin="choices"]');for(i=0;i<e.length;++i){var t=e[i];new Choices(t,{placeholderValue:"This is a placeholder set in the config",searchPlaceholderValue:"Search results here"})}}),flatpickr("#datepicker-range",{mode:"range",dateFormat:"d M, Y"}),flatpickr("#date-field",{dateFormat:"d M, Y"});var checkAll=document.getElementById("checkAll");checkAll&&(checkAll.onclick=function(){for(var e=document.querySelectorAll('.form-check-all input[type="checkbox"]'),t=0;t<e.length;t++)e[t].checked=this.checked,e[t].checked?e[t].closest("tr").classList.add("table-active"):e[t].closest("tr").classList.remove("table-active")});var perPage=8,options={valueNames:["id","customer_name","email","country","date","invoice_amount","status"],page:perPage,pagination:!0,plugins:[ListPagination({left:2,right:2})]},invoiceList=new List("invoiceList",options).on("updated",function(e){0==e.matchingItems.length?document.getElementsByClassName("noresult")[0].style.display="block":document.getElementsByClassName("noresult")[0].style.display="none";var t=1==e.i,a=e.i>e.matchingItems.length-e.page;document.querySelector(".pagination-prev.disabled")&&document.querySelector(".pagination-prev.disabled").classList.remove("disabled"),document.querySelector(".pagination-next.disabled")&&document.querySelector(".pagination-next.disabled").classList.remove("disabled"),t&&document.querySelector(".pagination-prev").classList.add("disabled"),a&&document.querySelector(".pagination-next").classList.add("disabled"),e.matchingItems.length<=perPage?document.querySelector(".pagination-wrap").style.display="none":document.querySelector(".pagination-wrap").style.display="flex",e.matchingItems.length==perPage&&document.querySelector(".pagination.listjs-pagination").firstElementChild.children[0].click(),0<e.matchingItems.length?document.getElementsByClassName("noresult")[0].style.display="none":document.getElementsByClassName("noresult")[0].style.display="block"});isCount=(new DOMParser).parseFromString(invoiceList.items.slice(-1)[0]._values.id,"text/html");var isValue=isCount.body.firstElementChild.innerHTML,idField=document.getElementById("orderId"),customerNameField=document.getElementById("customername-field"),emailField=document.getElementById("email-field"),dateField=document.getElementById("date-field"),countryField=document.getElementById("country-field"),statusField=document.getElementById("delivered-status"),addBtn=document.getElementById("add-btn"),editBtn=document.getElementById("edit-btn"),removeBtns=document.getElementsByClassName("remove-item-btn"),editBtns=document.getElementsByClassName("edit-item-btn");function filterContact(e){var t=e;invoiceList.filter(function(e){matchData=(new DOMParser).parseFromString(e.values().status,"text/html");e=matchData.body.firstElementChild.innerHTML;return"All"==e||"All"==t||e==t}),invoiceList.update()}function updateList(){var t=document.querySelector("input[name=status]:checked").value;data=userList.filter(function(e){return"All"==t||e.values().sts==t}),userList.update()}refreshCallbacks(),filterContact("All");var table=document.getElementById("invoiceTable"),tr=table.getElementsByTagName("tr"),trlist=table.querySelectorAll(".list tr");function SearchData(){var o=document.getElementById("idStatus").value,i=document.getElementById("datepicker-range").value,r=i.split(" to ")[0],s=i.split(" to ")[1];invoiceList.filter(function(e){matchData=(new DOMParser).parseFromString(e.values().status,"text/html");var t=matchData.body.firstElementChild.innerHTML,a=!1,n=!1,a="all"==t||"all"==o||t==o,n=new Date(e.values().date.slice(0,12))>=new Date(r)&&new Date(e.values().date.slice(0,12))<=new Date(s);return a&&n||(a&&""==i?a:n&&""==i?n:void 0)}),invoiceList.update()}function ischeckboxcheck(){document.getElementsByName("checkAll").forEach(function(e){e.addEventListener("click",function(e){e.target.checked?e.target.closest("tr").classList.add("table-active"):e.target.closest("tr").classList.remove("table-active")})})}function refreshCallbacks(){removeBtns.forEach(function(e){e.addEventListener("click",function(e){e.target.closest("tr").children[1].innerText,itemId=e.target.closest("tr").children[1].innerText,invoiceList.get({id:itemId}).forEach(function(e){deleteid=(new DOMParser).parseFromString(e._values.id,"text/html");var t=deleteid.body.firstElementChild;deleteid.body.firstElementChild.innerHTML==itemId&&document.getElementById("delete-record").addEventListener("click",function(){invoiceList.remove("id",t.outerHTML),console.log(t.outerHTML),document.getElementById("deleteOrder").click()})})})})}function clearFields(){customerNameField.value="",emailField.value="",dateField.value="",countryField.value=""}function ViewInvoice(e){e=e.getAttribute("data-id");localStorage.setItem("invoices-list",JSON.stringify(Invoices)),localStorage.setItem("option","view-invoice"),localStorage.setItem("invoice_no",e),window.location.assign("apps-invoices-details.html")}function EditInvoice(e){e=e.getAttribute("data-id");localStorage.setItem("invoices-list",JSON.stringify(Invoices)),localStorage.setItem("option","edit-invoice"),localStorage.setItem("invoice_no",e),window.location.assign("apps-invoices-create.html")}function deleteMultiple(){ids_array=[];for(var e=document.getElementsByName("chk_child"),t=0;t<e.length;t++)1==e[t].checked&&ids_array.push(e[t].value);if("undefined"!=typeof ids_array&&0<ids_array.length){if(!confirm("Are you sure you want to delete this?"))return!1;ids_array.forEach(function(e){invoiceList.remove("id",'<a href="javascript:void(0);" onclick="ViewInvoice(this);" data-id="'+e.slice(3)+`" class="fw-medium link-primary">${e}</a>`)}),document.getElementById("checkAll").checked=!1}else alert("Please Select Atleast One Checkbox")}document.querySelector("#invoiceList").addEventListener("click",function(){refreshCallbacks(),ischeckboxcheck()}),document.querySelector(".pagination-next").addEventListener("click",function(){!document.querySelector(".pagination.listjs-pagination")||document.querySelector(".pagination.listjs-pagination").querySelector(".active")&&document.querySelector(".pagination.listjs-pagination").querySelector(".active").nextElementSibling.children[0].click()}),document.querySelector(".pagination-prev").addEventListener("click",function(){!document.querySelector(".pagination.listjs-pagination")||document.querySelector(".pagination.listjs-pagination").querySelector(".active")&&document.querySelector(".pagination.listjs-pagination").querySelector(".active").previousSibling.children[0].click()}); |