asv-hlps 1.3.63 → 1.3.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/bills/models/Bill.d.ts +1 -1
- package/lib/cjs/bills/models/BillCat.d.ts +1 -1
- package/lib/cjs/bills/models/BillCat.js +0 -4
- package/lib/cjs/bills/models/index.d.ts +1 -0
- package/lib/cjs/estates/models/HousingRented.d.ts +5 -5
- package/lib/cjs/products/models/Product.d.ts +2 -0
- package/lib/{esm/models/products/ProductFg.d.ts → cjs/products/models/ProductWay.d.ts} +1 -1
- package/lib/cjs/products/product.d.ts +1 -0
- package/lib/cjs/products/product.js +15 -1
- package/lib/cjs/utils.d.ts +2 -0
- package/lib/cjs/utils.js +13 -3
- package/lib/esm/bills/models/Bill.d.ts +1 -1
- package/lib/esm/bills/models/BillCat.d.ts +1 -1
- package/lib/esm/bills/models/BillCat.js +1 -2
- package/lib/esm/bills/models/index.d.ts +1 -0
- package/lib/esm/estates/models/HousingRented.d.ts +5 -5
- package/lib/esm/products/models/Product.d.ts +2 -0
- package/lib/{cjs/models/products/ProductFg.d.ts → esm/products/models/ProductWay.d.ts} +1 -1
- package/lib/esm/products/product.d.ts +1 -0
- package/lib/esm/products/product.js +13 -0
- package/lib/esm/utils.d.ts +2 -0
- package/lib/esm/utils.js +9 -1
- package/package.json +7 -7
- package/lib/cjs/auth.d.ts +0 -27
- package/lib/cjs/auth.js +0 -66
- package/lib/cjs/back-end/hlpQbuilder.d.ts +0 -7
- package/lib/cjs/back-end/hlpQbuilder.js +0 -45
- package/lib/cjs/back-end/index.d.ts +0 -1
- package/lib/cjs/back-end/index.js +0 -8
- package/lib/cjs/bill.d.ts +0 -20
- package/lib/cjs/bill.js +0 -79
- package/lib/cjs/helpers/hlpEntry.d.ts +0 -17
- package/lib/cjs/helpers/hlpEntry.js +0 -90
- package/lib/cjs/helpers/hlpProduct.d.ts +0 -18
- package/lib/cjs/helpers/hlpProduct.js +0 -129
- package/lib/cjs/helpers/pipes/amount-on-bill-pipe.d.ts +0 -6
- package/lib/cjs/helpers/pipes/amount-on-bill-pipe.js +0 -9
- package/lib/cjs/helpers/pipes/amount-on-list-bill-pipe.d.ts +0 -6
- package/lib/cjs/helpers/pipes/amount-on-list-bill-pipe.js +0 -18
- package/lib/cjs/helpers/pipes/stock-pipe.d.ts +0 -6
- package/lib/cjs/helpers/pipes/stock-pipe.js +0 -24
- package/lib/cjs/models/acts/Act.d.ts +0 -18
- package/lib/cjs/models/acts/ActCat.d.ts +0 -4
- package/lib/cjs/models/acts/ActCat.js +0 -2
- package/lib/cjs/models/acts/ActLine.d.ts +0 -13
- package/lib/cjs/models/acts/ActLine.js +0 -2
- package/lib/cjs/models/acts/index.d.ts +0 -4
- package/lib/cjs/models/acts/index.js +0 -2
- package/lib/cjs/models/auth/AuthTag.d.ts +0 -6
- package/lib/cjs/models/auth/AuthTag.js +0 -2
- package/lib/cjs/models/auth/AuthTagCat.d.ts +0 -5
- package/lib/cjs/models/auth/AuthTagCat.js +0 -2
- package/lib/cjs/models/auth/index.d.ts +0 -3
- package/lib/cjs/models/auth/index.js +0 -2
- package/lib/cjs/models/bills/Bill.d.ts +0 -40
- package/lib/cjs/models/bills/Bill.js +0 -2
- package/lib/cjs/models/bills/BillCat.d.ts +0 -4
- package/lib/cjs/models/bills/BillCat.js +0 -6
- package/lib/cjs/models/bills/BillLine.d.ts +0 -9
- package/lib/cjs/models/bills/BillLine.js +0 -2
- package/lib/cjs/models/bills/BillPayment.d.ts +0 -21
- package/lib/cjs/models/bills/BillPayment.js +0 -2
- package/lib/cjs/models/bills/BillPaymentMethod.d.ts +0 -5
- package/lib/cjs/models/bills/BillPaymentMethod.js +0 -2
- package/lib/cjs/models/bills/CBillPeriod.d.ts +0 -4
- package/lib/cjs/models/bills/CBillPeriod.js +0 -8
- package/lib/cjs/models/bills/EBillPeriod.d.ts +0 -5
- package/lib/cjs/models/bills/EBillPeriod.js +0 -9
- package/lib/cjs/models/bills/EPayMethod.d.ts +0 -5
- package/lib/cjs/models/bills/EPayMethod.js +0 -9
- package/lib/cjs/models/bills/index.d.ts +0 -8
- package/lib/cjs/models/bills/index.js +0 -9
- package/lib/cjs/models/buys/Buy.d.ts +0 -19
- package/lib/cjs/models/buys/Buy.js +0 -2
- package/lib/cjs/models/buys/BuyCart.d.ts +0 -4
- package/lib/cjs/models/buys/BuyCart.js +0 -2
- package/lib/cjs/models/buys/BuyItem.d.ts +0 -5
- package/lib/cjs/models/buys/BuyItem.js +0 -2
- package/lib/cjs/models/buys/BuyItems.d.ts +0 -6
- package/lib/cjs/models/buys/BuyItems.js +0 -6
- package/lib/cjs/models/buys/index.d.ts +0 -5
- package/lib/cjs/models/buys/index.js +0 -5
- package/lib/cjs/models/cashs/Account.d.ts +0 -6
- package/lib/cjs/models/cashs/Account.js +0 -2
- package/lib/cjs/models/cashs/Bank.d.ts +0 -4
- package/lib/cjs/models/cashs/Bank.js +0 -2
- package/lib/cjs/models/cashs/Currency.d.ts +0 -10
- package/lib/cjs/models/cashs/Currency.js +0 -2
- package/lib/cjs/models/cashs/Deposit.d.ts +0 -12
- package/lib/cjs/models/cashs/Deposit.js +0 -2
- package/lib/cjs/models/cashs/Feed.d.ts +0 -17
- package/lib/cjs/models/cashs/Feed.js +0 -2
- package/lib/cjs/models/cashs/Spent.d.ts +0 -14
- package/lib/cjs/models/cashs/Spent.js +0 -2
- package/lib/cjs/models/cashs/index.d.ts +0 -7
- package/lib/cjs/models/cashs/index.js +0 -2
- package/lib/cjs/models/comptas/Entry.d.ts +0 -31
- package/lib/cjs/models/comptas/Entry.js +0 -2
- package/lib/cjs/models/comptas/EntryAccount.d.ts +0 -5
- package/lib/cjs/models/comptas/EntryAccount.js +0 -2
- package/lib/cjs/models/comptas/EntryCat.d.ts +0 -5
- package/lib/cjs/models/comptas/EntryCat.js +0 -2
- package/lib/cjs/models/comptas/EntryLine.d.ts +0 -23
- package/lib/cjs/models/comptas/EntryLine.js +0 -2
- package/lib/cjs/models/comptas/OhadaAbs.d.ts +0 -6
- package/lib/cjs/models/comptas/OhadaAbs.js +0 -6
- package/lib/cjs/models/comptas/OhadaCat.d.ts +0 -5
- package/lib/cjs/models/comptas/OhadaCat.js +0 -2
- package/lib/cjs/models/comptas/OhadaGrp.d.ts +0 -5
- package/lib/cjs/models/comptas/OhadaGrp.js +0 -2
- package/lib/cjs/models/comptas/OhadaPlan.d.ts +0 -3
- package/lib/cjs/models/comptas/OhadaPlan.js +0 -2
- package/lib/cjs/models/comptas/OhadaSubCat.d.ts +0 -5
- package/lib/cjs/models/comptas/OhadaSubCat.js +0 -2
- package/lib/cjs/models/comptas/index.d.ts +0 -9
- package/lib/cjs/models/comptas/index.js +0 -2
- package/lib/cjs/models/docs/Docu.d.ts +0 -12
- package/lib/cjs/models/docs/Docu.js +0 -2
- package/lib/cjs/models/docs/DocuCat.d.ts +0 -10
- package/lib/cjs/models/docs/DocuCat.js +0 -2
- package/lib/cjs/models/docs/Faq.d.ts +0 -10
- package/lib/cjs/models/docs/Faq.js +0 -2
- package/lib/cjs/models/docs/FaqCat.d.ts +0 -12
- package/lib/cjs/models/docs/FaqCat.js +0 -2
- package/lib/cjs/models/docs/Memo.d.ts +0 -8
- package/lib/cjs/models/docs/Memo.js +0 -2
- package/lib/cjs/models/docs/MemoCat.d.ts +0 -8
- package/lib/cjs/models/docs/MemoCat.js +0 -2
- package/lib/cjs/models/docs/index.d.ts +0 -7
- package/lib/cjs/models/docs/index.js +0 -2
- package/lib/cjs/models/index.d.ts +0 -14
- package/lib/cjs/models/index.js +0 -30
- package/lib/cjs/models/mails/Mail.d.ts +0 -9
- package/lib/cjs/models/mails/Mail.js +0 -2
- package/lib/cjs/models/mails/MailMass.d.ts +0 -8
- package/lib/cjs/models/mails/MailMass.js +0 -2
- package/lib/cjs/models/mails/MsgAbs.d.ts +0 -6
- package/lib/cjs/models/mails/MsgAbs.js +0 -6
- package/lib/cjs/models/mails/MsgAlert.d.ts +0 -9
- package/lib/cjs/models/mails/MsgAlert.js +0 -2
- package/lib/cjs/models/mails/MsgChat.d.ts +0 -4
- package/lib/cjs/models/mails/MsgChat.js +0 -2
- package/lib/cjs/models/mails/index.d.ts +0 -5
- package/lib/cjs/models/mails/index.js +0 -2
- package/lib/cjs/models/products/Product.d.ts +0 -78
- package/lib/cjs/models/products/Product.js +0 -2
- package/lib/cjs/models/products/ProductAgcy.d.ts +0 -6
- package/lib/cjs/models/products/ProductAgcy.js +0 -2
- package/lib/cjs/models/products/ProductAmm.d.ts +0 -10
- package/lib/cjs/models/products/ProductAmm.js +0 -2
- package/lib/cjs/models/products/ProductBuy.d.ts +0 -10
- package/lib/cjs/models/products/ProductBuy.js +0 -2
- package/lib/cjs/models/products/ProductCat.d.ts +0 -6
- package/lib/cjs/models/products/ProductCat.js +0 -2
- package/lib/cjs/models/products/ProductDci.d.ts +0 -6
- package/lib/cjs/models/products/ProductDci.js +0 -2
- package/lib/cjs/models/products/ProductDepot.d.ts +0 -9
- package/lib/cjs/models/products/ProductDepot.js +0 -2
- package/lib/cjs/models/products/ProductDos.d.ts +0 -5
- package/lib/cjs/models/products/ProductDos.js +0 -2
- package/lib/cjs/models/products/ProductFg.js +0 -2
- package/lib/cjs/models/products/ProductIn.d.ts +0 -8
- package/lib/cjs/models/products/ProductIn.js +0 -2
- package/lib/cjs/models/products/ProductInOut.d.ts +0 -26
- package/lib/cjs/models/products/ProductInOut.js +0 -2
- package/lib/cjs/models/products/ProductInventory.d.ts +0 -8
- package/lib/cjs/models/products/ProductInventory.js +0 -2
- package/lib/cjs/models/products/ProductLabo.d.ts +0 -5
- package/lib/cjs/models/products/ProductLabo.js +0 -2
- package/lib/cjs/models/products/ProductLoc.d.ts +0 -7
- package/lib/cjs/models/products/ProductLoc.js +0 -2
- package/lib/cjs/models/products/ProductMvt.d.ts +0 -24
- package/lib/cjs/models/products/ProductMvt.js +0 -2
- package/lib/cjs/models/products/ProductMvtInventory.d.ts +0 -8
- package/lib/cjs/models/products/ProductMvtInventory.js +0 -2
- package/lib/cjs/models/products/ProductOutReason.d.ts +0 -6
- package/lib/cjs/models/products/ProductOutReason.js +0 -2
- package/lib/cjs/models/products/ProductPromo.d.ts +0 -15
- package/lib/cjs/models/products/ProductPromo.js +0 -6
- package/lib/cjs/models/products/ProductPvd.d.ts +0 -6
- package/lib/cjs/models/products/ProductPvd.js +0 -2
- package/lib/cjs/models/products/ProductSof.d.ts +0 -6
- package/lib/cjs/models/products/ProductSof.js +0 -2
- package/lib/cjs/models/products/ProductStore.d.ts +0 -29
- package/lib/cjs/models/products/ProductStore.js +0 -2
- package/lib/cjs/models/products/ProductTcl.d.ts +0 -10
- package/lib/cjs/models/products/ProductTcl.js +0 -2
- package/lib/cjs/models/products/ProductTclGrp.d.ts +0 -8
- package/lib/cjs/models/products/ProductTclGrp.js +0 -2
- package/lib/cjs/models/products/ProductTransfert.d.ts +0 -14
- package/lib/cjs/models/products/ProductTransfert.js +0 -2
- package/lib/cjs/models/products/ProductWanted.d.ts +0 -8
- package/lib/cjs/models/products/ProductWanted.js +0 -2
- package/lib/cjs/models/products/index.d.ts +0 -26
- package/lib/cjs/models/products/index.js +0 -5
- package/lib/cjs/models/sales/CartItem.d.ts +0 -8
- package/lib/cjs/models/sales/CartItem.js +0 -2
- package/lib/cjs/models/sales/DeliveryProcess.d.ts +0 -6
- package/lib/cjs/models/sales/DeliveryProcess.js +0 -2
- package/lib/cjs/models/sales/Sale.d.ts +0 -55
- package/lib/cjs/models/sales/Sale.js +0 -2
- package/lib/cjs/models/sales/SaleDelivery.d.ts +0 -15
- package/lib/cjs/models/sales/SaleDelivery.js +0 -2
- package/lib/cjs/models/sales/SaleInfo.d.ts +0 -11
- package/lib/cjs/models/sales/SaleInfo.js +0 -2
- package/lib/cjs/models/sales/SaleItems.d.ts +0 -8
- package/lib/cjs/models/sales/SaleItems.js +0 -6
- package/lib/cjs/models/sales/SaleProduct.d.ts +0 -26
- package/lib/cjs/models/sales/SaleProduct.js +0 -6
- package/lib/cjs/models/sales/SaleProductLot.d.ts +0 -11
- package/lib/cjs/models/sales/SaleProductLot.js +0 -6
- package/lib/cjs/models/sales/SaleProductQtityIssue.d.ts +0 -9
- package/lib/cjs/models/sales/SaleProductQtityIssue.js +0 -2
- package/lib/cjs/models/sales/SaleShop.d.ts +0 -47
- package/lib/cjs/models/sales/SaleShop.js +0 -6
- package/lib/cjs/models/sales/ShopCart.d.ts +0 -4
- package/lib/cjs/models/sales/ShopCart.js +0 -9
- package/lib/cjs/models/sales/enums/SaleTreatStatus.d.ts +0 -6
- package/lib/cjs/models/sales/enums/SaleTreatStatus.js +0 -10
- package/lib/cjs/models/sales/index.d.ts +0 -13
- package/lib/cjs/models/sales/index.js +0 -15
- package/lib/cjs/models/shared/EDate.d.ts +0 -7
- package/lib/cjs/models/shared/EDate.js +0 -11
- package/lib/cjs/models/shared/EInOutMotive.d.ts +0 -12
- package/lib/cjs/models/shared/EInOutMotive.js +0 -16
- package/lib/cjs/models/shared/EPayMethod.d.ts +0 -5
- package/lib/cjs/models/shared/EPayMethod.js +0 -9
- package/lib/cjs/models/shared/IParam.d.ts +0 -26
- package/lib/cjs/models/shared/IParam.js +0 -2
- package/lib/cjs/models/shared/IPath.d.ts +0 -14
- package/lib/cjs/models/shared/IPath.js +0 -11
- package/lib/cjs/models/shared/NaAc.d.ts +0 -6
- package/lib/cjs/models/shared/NaAc.js +0 -2
- package/lib/cjs/models/shared/NaCoAc.d.ts +0 -4
- package/lib/cjs/models/shared/NaCoAc.js +0 -2
- package/lib/cjs/models/shared/NaCoShortAc.d.ts +0 -4
- package/lib/cjs/models/shared/NaCoShortAc.js +0 -2
- package/lib/cjs/models/shared/index.d.ts +0 -7
- package/lib/cjs/models/shared/index.js +0 -5
- package/lib/cjs/models/users/Address.d.ts +0 -13
- package/lib/cjs/models/users/Address.js +0 -2
- package/lib/cjs/models/users/DutyPhcie.d.ts +0 -11
- package/lib/cjs/models/users/DutyPhcie.js +0 -2
- package/lib/cjs/models/users/Gender.d.ts +0 -6
- package/lib/cjs/models/users/Gender.js +0 -2
- package/lib/cjs/models/users/Leave.d.ts +0 -14
- package/lib/cjs/models/users/Leave.js +0 -2
- package/lib/cjs/models/users/Ste.d.ts +0 -16
- package/lib/cjs/models/users/Ste.js +0 -2
- package/lib/cjs/models/users/SteGrp.d.ts +0 -7
- package/lib/cjs/models/users/SteGrp.js +0 -2
- package/lib/cjs/models/users/User.d.ts +0 -44
- package/lib/cjs/models/users/User.js +0 -2
- package/lib/cjs/models/users/UserAbs.d.ts +0 -31
- package/lib/cjs/models/users/UserAbs.js +0 -2
- package/lib/cjs/models/users/UserBase.d.ts +0 -31
- package/lib/cjs/models/users/UserBase.js +0 -2
- package/lib/cjs/models/users/UserCredit.d.ts +0 -14
- package/lib/cjs/models/users/UserCredit.js +0 -6
- package/lib/cjs/models/users/UserGrp.d.ts +0 -4
- package/lib/cjs/models/users/UserGrp.js +0 -2
- package/lib/cjs/models/users/UserNotatial.d.ts +0 -9
- package/lib/cjs/models/users/UserNotatial.js +0 -2
- package/lib/cjs/models/users/UserNote.d.ts +0 -7
- package/lib/cjs/models/users/UserNote.js +0 -2
- package/lib/cjs/models/users/UserOnline.d.ts +0 -9
- package/lib/cjs/models/users/UserOnline.js +0 -2
- package/lib/cjs/models/users/UserRole.d.ts +0 -5
- package/lib/cjs/models/users/UserRole.js +0 -2
- package/lib/cjs/models/users/UserTitr.d.ts +0 -5
- package/lib/cjs/models/users/UserTitr.js +0 -2
- package/lib/cjs/models/users/Zone.d.ts +0 -11
- package/lib/cjs/models/users/Zone.js +0 -2
- package/lib/cjs/models/users/index.d.ts +0 -17
- package/lib/cjs/models/users/index.js +0 -5
- package/lib/cjs/models/utilities/Todo.d.ts +0 -9
- package/lib/cjs/models/utilities/Todo.js +0 -6
- package/lib/cjs/models/utilities/Vehicle.d.ts +0 -8
- package/lib/cjs/models/utilities/Vehicle.js +0 -2
- package/lib/cjs/models/utilities/Wish.d.ts +0 -14
- package/lib/cjs/models/utilities/Wish.js +0 -6
- package/lib/cjs/models/utilities/index.d.ts +0 -4
- package/lib/cjs/models/utilities/index.js +0 -7
- package/lib/cjs/models/world/City.d.ts +0 -15
- package/lib/cjs/models/world/City.js +0 -6
- package/lib/cjs/models/world/Continent.d.ts +0 -6
- package/lib/cjs/models/world/Continent.js +0 -6
- package/lib/cjs/models/world/Country.d.ts +0 -12
- package/lib/cjs/models/world/Country.js +0 -2
- package/lib/cjs/models/world/Department.d.ts +0 -10
- package/lib/cjs/models/world/Department.js +0 -2
- package/lib/cjs/models/world/Quarter.d.ts +0 -7
- package/lib/cjs/models/world/Quarter.js +0 -2
- package/lib/cjs/models/world/Region.d.ts +0 -9
- package/lib/cjs/models/world/Region.js +0 -6
- package/lib/cjs/models/world/index.d.ts +0 -7
- package/lib/cjs/models/world/index.js +0 -9
- package/lib/cjs/pdfs/invoices/amountInvoice.d.ts +0 -66
- package/lib/cjs/pdfs/invoices/amountInvoice.js +0 -152
- package/lib/cjs/pdfs/invoices/infoInvoice.d.ts +0 -32
- package/lib/cjs/pdfs/invoices/infoInvoice.js +0 -79
- package/lib/cjs/pdfs/tools/tools.d.ts +0 -41
- package/lib/cjs/pdfs/tools/tools.js +0 -54
- package/lib/cjs/product.d.ts +0 -4
- package/lib/cjs/product.js +0 -23
- package/lib/cjs/react-utils.d.ts +0 -1
- package/lib/cjs/react-utils.js +0 -14
- package/lib/cjs/salaries/Salary.d.ts +0 -7
- package/lib/cjs/salaries/Salary.js +0 -2
- package/lib/cjs/salaries/SalaryScale.d.ts +0 -25
- package/lib/cjs/salaries/SalaryScale.js +0 -2
- package/lib/cjs/sale.d.ts +0 -19
- package/lib/cjs/sale.js +0 -137
- package/lib/cjs/services/authService.d.ts +0 -20
- package/lib/cjs/services/authService.js +0 -101
- package/lib/cjs/services/storageService.d.ts +0 -7
- package/lib/cjs/services/storageService.js +0 -64
- package/lib/cjs/shared/EDate.d.ts +0 -8
- package/lib/cjs/shared/EDate.js +0 -11
- package/lib/cjs/shared/EInOutMotive.d.ts +0 -13
- package/lib/cjs/shared/EInOutMotive.js +0 -16
- package/lib/cjs/shared/EPayMethod.d.ts +0 -6
- package/lib/cjs/shared/EPayMethod.js +0 -9
- package/lib/cjs/shared/IParam.d.ts +0 -26
- package/lib/cjs/shared/IParam.js +0 -2
- package/lib/cjs/shared/IPath.d.ts +0 -14
- package/lib/cjs/shared/IPath.js +0 -11
- package/lib/cjs/shared/NaAc.d.ts +0 -6
- package/lib/cjs/shared/NaAc.js +0 -2
- package/lib/cjs/shared/NaCoAc.d.ts +0 -4
- package/lib/cjs/shared/NaCoAc.js +0 -2
- package/lib/cjs/shared/NaCoShortAc.d.ts +0 -4
- package/lib/cjs/shared/NaCoShortAc.js +0 -2
- package/lib/cjs/user.d.ts +0 -35
- package/lib/cjs/user.js +0 -149
- package/lib/esm/auth.d.ts +0 -27
- package/lib/esm/auth.js +0 -63
- package/lib/esm/back-end/hlpQbuilder.d.ts +0 -7
- package/lib/esm/back-end/hlpQbuilder.js +0 -43
- package/lib/esm/back-end/index.d.ts +0 -1
- package/lib/esm/back-end/index.js +0 -1
- package/lib/esm/bill.d.ts +0 -20
- package/lib/esm/bill.js +0 -58
- package/lib/esm/helpers/hlpEntry.d.ts +0 -17
- package/lib/esm/helpers/hlpEntry.js +0 -86
- package/lib/esm/helpers/hlpProduct.d.ts +0 -18
- package/lib/esm/helpers/hlpProduct.js +0 -127
- package/lib/esm/helpers/pipes/amount-on-bill-pipe.d.ts +0 -6
- package/lib/esm/helpers/pipes/amount-on-bill-pipe.js +0 -7
- package/lib/esm/helpers/pipes/amount-on-list-bill-pipe.d.ts +0 -6
- package/lib/esm/helpers/pipes/amount-on-list-bill-pipe.js +0 -16
- package/lib/esm/helpers/pipes/stock-pipe.d.ts +0 -6
- package/lib/esm/helpers/pipes/stock-pipe.js +0 -19
- package/lib/esm/models/acts/Act.d.ts +0 -18
- package/lib/esm/models/acts/ActCat.d.ts +0 -4
- package/lib/esm/models/acts/ActCat.js +0 -1
- package/lib/esm/models/acts/ActLine.d.ts +0 -13
- package/lib/esm/models/acts/ActLine.js +0 -1
- package/lib/esm/models/acts/index.d.ts +0 -4
- package/lib/esm/models/acts/index.js +0 -1
- package/lib/esm/models/auth/AuthTag.d.ts +0 -6
- package/lib/esm/models/auth/AuthTag.js +0 -1
- package/lib/esm/models/auth/AuthTagCat.d.ts +0 -5
- package/lib/esm/models/auth/AuthTagCat.js +0 -1
- package/lib/esm/models/auth/index.d.ts +0 -3
- package/lib/esm/models/auth/index.js +0 -1
- package/lib/esm/models/bills/Bill.d.ts +0 -40
- package/lib/esm/models/bills/Bill.js +0 -1
- package/lib/esm/models/bills/BillCat.d.ts +0 -4
- package/lib/esm/models/bills/BillCat.js +0 -2
- package/lib/esm/models/bills/BillLine.d.ts +0 -9
- package/lib/esm/models/bills/BillLine.js +0 -1
- package/lib/esm/models/bills/BillPayment.d.ts +0 -21
- package/lib/esm/models/bills/BillPayment.js +0 -1
- package/lib/esm/models/bills/BillPaymentMethod.d.ts +0 -5
- package/lib/esm/models/bills/BillPaymentMethod.js +0 -1
- package/lib/esm/models/bills/CBillPeriod.d.ts +0 -4
- package/lib/esm/models/bills/CBillPeriod.js +0 -5
- package/lib/esm/models/bills/EBillPeriod.d.ts +0 -5
- package/lib/esm/models/bills/EBillPeriod.js +0 -6
- package/lib/esm/models/bills/EPayMethod.d.ts +0 -5
- package/lib/esm/models/bills/EPayMethod.js +0 -6
- package/lib/esm/models/bills/index.d.ts +0 -8
- package/lib/esm/models/bills/index.js +0 -4
- package/lib/esm/models/buys/Buy.d.ts +0 -19
- package/lib/esm/models/buys/Buy.js +0 -1
- package/lib/esm/models/buys/BuyCart.d.ts +0 -4
- package/lib/esm/models/buys/BuyCart.js +0 -1
- package/lib/esm/models/buys/BuyItem.d.ts +0 -5
- package/lib/esm/models/buys/BuyItem.js +0 -1
- package/lib/esm/models/buys/BuyItems.d.ts +0 -6
- package/lib/esm/models/buys/BuyItems.js +0 -2
- package/lib/esm/models/buys/index.d.ts +0 -5
- package/lib/esm/models/buys/index.js +0 -2
- package/lib/esm/models/cashs/Account.d.ts +0 -6
- package/lib/esm/models/cashs/Account.js +0 -1
- package/lib/esm/models/cashs/Bank.d.ts +0 -4
- package/lib/esm/models/cashs/Bank.js +0 -1
- package/lib/esm/models/cashs/Currency.d.ts +0 -10
- package/lib/esm/models/cashs/Currency.js +0 -1
- package/lib/esm/models/cashs/Deposit.d.ts +0 -12
- package/lib/esm/models/cashs/Deposit.js +0 -1
- package/lib/esm/models/cashs/Feed.d.ts +0 -17
- package/lib/esm/models/cashs/Feed.js +0 -1
- package/lib/esm/models/cashs/Spent.d.ts +0 -14
- package/lib/esm/models/cashs/Spent.js +0 -1
- package/lib/esm/models/cashs/index.d.ts +0 -7
- package/lib/esm/models/cashs/index.js +0 -1
- package/lib/esm/models/comptas/Entry.d.ts +0 -31
- package/lib/esm/models/comptas/Entry.js +0 -1
- package/lib/esm/models/comptas/EntryAccount.d.ts +0 -5
- package/lib/esm/models/comptas/EntryAccount.js +0 -1
- package/lib/esm/models/comptas/EntryCat.d.ts +0 -5
- package/lib/esm/models/comptas/EntryCat.js +0 -1
- package/lib/esm/models/comptas/EntryLine.d.ts +0 -23
- package/lib/esm/models/comptas/EntryLine.js +0 -1
- package/lib/esm/models/comptas/OhadaAbs.d.ts +0 -6
- package/lib/esm/models/comptas/OhadaAbs.js +0 -2
- package/lib/esm/models/comptas/OhadaCat.d.ts +0 -5
- package/lib/esm/models/comptas/OhadaCat.js +0 -1
- package/lib/esm/models/comptas/OhadaGrp.d.ts +0 -5
- package/lib/esm/models/comptas/OhadaGrp.js +0 -1
- package/lib/esm/models/comptas/OhadaPlan.d.ts +0 -3
- package/lib/esm/models/comptas/OhadaPlan.js +0 -1
- package/lib/esm/models/comptas/OhadaSubCat.d.ts +0 -5
- package/lib/esm/models/comptas/OhadaSubCat.js +0 -1
- package/lib/esm/models/comptas/index.d.ts +0 -9
- package/lib/esm/models/comptas/index.js +0 -1
- package/lib/esm/models/docs/Docu.d.ts +0 -12
- package/lib/esm/models/docs/Docu.js +0 -1
- package/lib/esm/models/docs/DocuCat.d.ts +0 -10
- package/lib/esm/models/docs/DocuCat.js +0 -1
- package/lib/esm/models/docs/Faq.d.ts +0 -10
- package/lib/esm/models/docs/Faq.js +0 -1
- package/lib/esm/models/docs/FaqCat.d.ts +0 -12
- package/lib/esm/models/docs/FaqCat.js +0 -1
- package/lib/esm/models/docs/Memo.d.ts +0 -8
- package/lib/esm/models/docs/Memo.js +0 -1
- package/lib/esm/models/docs/MemoCat.d.ts +0 -8
- package/lib/esm/models/docs/MemoCat.js +0 -1
- package/lib/esm/models/docs/index.d.ts +0 -7
- package/lib/esm/models/docs/index.js +0 -1
- package/lib/esm/models/index.d.ts +0 -14
- package/lib/esm/models/index.js +0 -14
- package/lib/esm/models/mails/Mail.d.ts +0 -9
- package/lib/esm/models/mails/Mail.js +0 -1
- package/lib/esm/models/mails/MailMass.d.ts +0 -8
- package/lib/esm/models/mails/MailMass.js +0 -1
- package/lib/esm/models/mails/MsgAbs.d.ts +0 -6
- package/lib/esm/models/mails/MsgAbs.js +0 -2
- package/lib/esm/models/mails/MsgAlert.d.ts +0 -9
- package/lib/esm/models/mails/MsgAlert.js +0 -1
- package/lib/esm/models/mails/MsgChat.d.ts +0 -4
- package/lib/esm/models/mails/MsgChat.js +0 -1
- package/lib/esm/models/mails/index.d.ts +0 -5
- package/lib/esm/models/mails/index.js +0 -1
- package/lib/esm/models/products/Product.d.ts +0 -78
- package/lib/esm/models/products/Product.js +0 -1
- package/lib/esm/models/products/ProductAgcy.d.ts +0 -6
- package/lib/esm/models/products/ProductAgcy.js +0 -1
- package/lib/esm/models/products/ProductAmm.d.ts +0 -10
- package/lib/esm/models/products/ProductAmm.js +0 -1
- package/lib/esm/models/products/ProductBuy.d.ts +0 -10
- package/lib/esm/models/products/ProductBuy.js +0 -1
- package/lib/esm/models/products/ProductCat.d.ts +0 -6
- package/lib/esm/models/products/ProductCat.js +0 -1
- package/lib/esm/models/products/ProductDci.d.ts +0 -6
- package/lib/esm/models/products/ProductDci.js +0 -1
- package/lib/esm/models/products/ProductDepot.d.ts +0 -9
- package/lib/esm/models/products/ProductDepot.js +0 -1
- package/lib/esm/models/products/ProductDos.d.ts +0 -5
- package/lib/esm/models/products/ProductDos.js +0 -1
- package/lib/esm/models/products/ProductFg.js +0 -1
- package/lib/esm/models/products/ProductIn.d.ts +0 -8
- package/lib/esm/models/products/ProductIn.js +0 -1
- package/lib/esm/models/products/ProductInOut.d.ts +0 -26
- package/lib/esm/models/products/ProductInOut.js +0 -1
- package/lib/esm/models/products/ProductInventory.d.ts +0 -8
- package/lib/esm/models/products/ProductInventory.js +0 -1
- package/lib/esm/models/products/ProductLabo.d.ts +0 -5
- package/lib/esm/models/products/ProductLabo.js +0 -1
- package/lib/esm/models/products/ProductLoc.d.ts +0 -7
- package/lib/esm/models/products/ProductLoc.js +0 -1
- package/lib/esm/models/products/ProductMvt.d.ts +0 -24
- package/lib/esm/models/products/ProductMvt.js +0 -1
- package/lib/esm/models/products/ProductMvtInventory.d.ts +0 -8
- package/lib/esm/models/products/ProductMvtInventory.js +0 -1
- package/lib/esm/models/products/ProductOutReason.d.ts +0 -6
- package/lib/esm/models/products/ProductOutReason.js +0 -1
- package/lib/esm/models/products/ProductPromo.d.ts +0 -15
- package/lib/esm/models/products/ProductPromo.js +0 -2
- package/lib/esm/models/products/ProductPvd.d.ts +0 -6
- package/lib/esm/models/products/ProductPvd.js +0 -1
- package/lib/esm/models/products/ProductSof.d.ts +0 -6
- package/lib/esm/models/products/ProductSof.js +0 -1
- package/lib/esm/models/products/ProductStore.d.ts +0 -29
- package/lib/esm/models/products/ProductStore.js +0 -1
- package/lib/esm/models/products/ProductTcl.d.ts +0 -10
- package/lib/esm/models/products/ProductTcl.js +0 -1
- package/lib/esm/models/products/ProductTclGrp.d.ts +0 -8
- package/lib/esm/models/products/ProductTclGrp.js +0 -1
- package/lib/esm/models/products/ProductTransfert.d.ts +0 -14
- package/lib/esm/models/products/ProductTransfert.js +0 -1
- package/lib/esm/models/products/ProductWanted.d.ts +0 -8
- package/lib/esm/models/products/ProductWanted.js +0 -1
- package/lib/esm/models/products/index.d.ts +0 -26
- package/lib/esm/models/products/index.js +0 -2
- package/lib/esm/models/sales/CartItem.d.ts +0 -8
- package/lib/esm/models/sales/CartItem.js +0 -1
- package/lib/esm/models/sales/DeliveryProcess.d.ts +0 -6
- package/lib/esm/models/sales/DeliveryProcess.js +0 -1
- package/lib/esm/models/sales/Sale.d.ts +0 -55
- package/lib/esm/models/sales/Sale.js +0 -1
- package/lib/esm/models/sales/SaleDelivery.d.ts +0 -15
- package/lib/esm/models/sales/SaleDelivery.js +0 -1
- package/lib/esm/models/sales/SaleInfo.d.ts +0 -11
- package/lib/esm/models/sales/SaleInfo.js +0 -1
- package/lib/esm/models/sales/SaleItems.d.ts +0 -8
- package/lib/esm/models/sales/SaleItems.js +0 -2
- package/lib/esm/models/sales/SaleProduct.d.ts +0 -26
- package/lib/esm/models/sales/SaleProduct.js +0 -2
- package/lib/esm/models/sales/SaleProductLot.d.ts +0 -11
- package/lib/esm/models/sales/SaleProductLot.js +0 -2
- package/lib/esm/models/sales/SaleProductQtityIssue.d.ts +0 -9
- package/lib/esm/models/sales/SaleProductQtityIssue.js +0 -1
- package/lib/esm/models/sales/SaleShop.d.ts +0 -47
- package/lib/esm/models/sales/SaleShop.js +0 -2
- package/lib/esm/models/sales/ShopCart.d.ts +0 -4
- package/lib/esm/models/sales/ShopCart.js +0 -5
- package/lib/esm/models/sales/enums/SaleTreatStatus.d.ts +0 -6
- package/lib/esm/models/sales/enums/SaleTreatStatus.js +0 -7
- package/lib/esm/models/sales/index.d.ts +0 -13
- package/lib/esm/models/sales/index.js +0 -7
- package/lib/esm/models/shared/EDate.d.ts +0 -7
- package/lib/esm/models/shared/EDate.js +0 -8
- package/lib/esm/models/shared/EInOutMotive.d.ts +0 -12
- package/lib/esm/models/shared/EInOutMotive.js +0 -13
- package/lib/esm/models/shared/EPayMethod.d.ts +0 -5
- package/lib/esm/models/shared/EPayMethod.js +0 -6
- package/lib/esm/models/shared/IParam.d.ts +0 -26
- package/lib/esm/models/shared/IParam.js +0 -1
- package/lib/esm/models/shared/IPath.d.ts +0 -14
- package/lib/esm/models/shared/IPath.js +0 -10
- package/lib/esm/models/shared/NaAc.d.ts +0 -6
- package/lib/esm/models/shared/NaAc.js +0 -1
- package/lib/esm/models/shared/NaCoAc.d.ts +0 -4
- package/lib/esm/models/shared/NaCoAc.js +0 -1
- package/lib/esm/models/shared/NaCoShortAc.d.ts +0 -4
- package/lib/esm/models/shared/NaCoShortAc.js +0 -1
- package/lib/esm/models/shared/index.d.ts +0 -7
- package/lib/esm/models/shared/index.js +0 -2
- package/lib/esm/models/users/Address.d.ts +0 -13
- package/lib/esm/models/users/Address.js +0 -1
- package/lib/esm/models/users/DutyPhcie.d.ts +0 -11
- package/lib/esm/models/users/DutyPhcie.js +0 -1
- package/lib/esm/models/users/Gender.d.ts +0 -6
- package/lib/esm/models/users/Gender.js +0 -1
- package/lib/esm/models/users/Leave.d.ts +0 -14
- package/lib/esm/models/users/Leave.js +0 -1
- package/lib/esm/models/users/Ste.d.ts +0 -16
- package/lib/esm/models/users/Ste.js +0 -1
- package/lib/esm/models/users/SteGrp.d.ts +0 -7
- package/lib/esm/models/users/SteGrp.js +0 -1
- package/lib/esm/models/users/User.d.ts +0 -44
- package/lib/esm/models/users/User.js +0 -1
- package/lib/esm/models/users/UserAbs.d.ts +0 -31
- package/lib/esm/models/users/UserAbs.js +0 -1
- package/lib/esm/models/users/UserBase.d.ts +0 -31
- package/lib/esm/models/users/UserBase.js +0 -1
- package/lib/esm/models/users/UserCredit.d.ts +0 -14
- package/lib/esm/models/users/UserCredit.js +0 -2
- package/lib/esm/models/users/UserGrp.d.ts +0 -4
- package/lib/esm/models/users/UserGrp.js +0 -1
- package/lib/esm/models/users/UserNotatial.d.ts +0 -9
- package/lib/esm/models/users/UserNotatial.js +0 -1
- package/lib/esm/models/users/UserNote.d.ts +0 -7
- package/lib/esm/models/users/UserNote.js +0 -1
- package/lib/esm/models/users/UserOnline.d.ts +0 -9
- package/lib/esm/models/users/UserOnline.js +0 -1
- package/lib/esm/models/users/UserRole.d.ts +0 -5
- package/lib/esm/models/users/UserRole.js +0 -1
- package/lib/esm/models/users/UserTitr.d.ts +0 -5
- package/lib/esm/models/users/UserTitr.js +0 -1
- package/lib/esm/models/users/Zone.d.ts +0 -11
- package/lib/esm/models/users/Zone.js +0 -1
- package/lib/esm/models/users/index.d.ts +0 -17
- package/lib/esm/models/users/index.js +0 -2
- package/lib/esm/models/utilities/Todo.d.ts +0 -9
- package/lib/esm/models/utilities/Todo.js +0 -2
- package/lib/esm/models/utilities/Vehicle.d.ts +0 -8
- package/lib/esm/models/utilities/Vehicle.js +0 -1
- package/lib/esm/models/utilities/Wish.d.ts +0 -14
- package/lib/esm/models/utilities/Wish.js +0 -2
- package/lib/esm/models/utilities/index.d.ts +0 -4
- package/lib/esm/models/utilities/index.js +0 -3
- package/lib/esm/models/world/City.d.ts +0 -15
- package/lib/esm/models/world/City.js +0 -2
- package/lib/esm/models/world/Continent.d.ts +0 -6
- package/lib/esm/models/world/Continent.js +0 -2
- package/lib/esm/models/world/Country.d.ts +0 -12
- package/lib/esm/models/world/Country.js +0 -1
- package/lib/esm/models/world/Department.d.ts +0 -10
- package/lib/esm/models/world/Department.js +0 -1
- package/lib/esm/models/world/Quarter.d.ts +0 -7
- package/lib/esm/models/world/Quarter.js +0 -1
- package/lib/esm/models/world/Region.d.ts +0 -9
- package/lib/esm/models/world/Region.js +0 -2
- package/lib/esm/models/world/index.d.ts +0 -7
- package/lib/esm/models/world/index.js +0 -4
- package/lib/esm/pdfs/invoices/amountInvoice.d.ts +0 -66
- package/lib/esm/pdfs/invoices/amountInvoice.js +0 -145
- package/lib/esm/pdfs/invoices/infoInvoice.d.ts +0 -32
- package/lib/esm/pdfs/invoices/infoInvoice.js +0 -74
- package/lib/esm/pdfs/tools/tools.d.ts +0 -41
- package/lib/esm/pdfs/tools/tools.js +0 -48
- package/lib/esm/product.d.ts +0 -4
- package/lib/esm/product.js +0 -18
- package/lib/esm/react-utils.d.ts +0 -1
- package/lib/esm/react-utils.js +0 -10
- package/lib/esm/salaries/Salary.d.ts +0 -7
- package/lib/esm/salaries/Salary.js +0 -1
- package/lib/esm/salaries/SalaryScale.d.ts +0 -25
- package/lib/esm/salaries/SalaryScale.js +0 -1
- package/lib/esm/sale.d.ts +0 -19
- package/lib/esm/sale.js +0 -116
- package/lib/esm/services/authService.d.ts +0 -20
- package/lib/esm/services/authService.js +0 -94
- package/lib/esm/services/storageService.d.ts +0 -7
- package/lib/esm/services/storageService.js +0 -62
- package/lib/esm/shared/EDate.d.ts +0 -8
- package/lib/esm/shared/EDate.js +0 -9
- package/lib/esm/shared/EInOutMotive.d.ts +0 -13
- package/lib/esm/shared/EInOutMotive.js +0 -14
- package/lib/esm/shared/EPayMethod.d.ts +0 -6
- package/lib/esm/shared/EPayMethod.js +0 -7
- package/lib/esm/shared/IParam.d.ts +0 -26
- package/lib/esm/shared/IParam.js +0 -1
- package/lib/esm/shared/IPath.d.ts +0 -14
- package/lib/esm/shared/IPath.js +0 -10
- package/lib/esm/shared/NaAc.d.ts +0 -6
- package/lib/esm/shared/NaAc.js +0 -1
- package/lib/esm/shared/NaCoAc.d.ts +0 -4
- package/lib/esm/shared/NaCoAc.js +0 -1
- package/lib/esm/shared/NaCoShortAc.d.ts +0 -4
- package/lib/esm/shared/NaCoShortAc.js +0 -1
- package/lib/esm/user.d.ts +0 -35
- package/lib/esm/user.js +0 -106
- /package/lib/cjs/{models/acts/Act.js → products/models/ProductWay.js} +0 -0
- /package/lib/esm/{models/acts/Act.js → products/models/ProductWay.js} +0 -0
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Address } from "./Address";
|
|
2
|
-
import { DutyPhcie } from "./DutyPhcie";
|
|
3
|
-
import { Gender } from "./Gender";
|
|
4
|
-
import { Leave } from "./Leave";
|
|
5
|
-
import { Ste } from "./Ste";
|
|
6
|
-
import { SteGrp } from "./SteGrp";
|
|
7
|
-
import { User } from "./User";
|
|
8
|
-
import { UserBase } from "./UserBase";
|
|
9
|
-
import { UserCredit } from "./UserCredit";
|
|
10
|
-
import { UserGrp } from "./UserGrp";
|
|
11
|
-
import { UserNotarial } from "./UserNotatial";
|
|
12
|
-
import { UserNote } from "./UserNote";
|
|
13
|
-
import { UserOnline } from "./UserOnline";
|
|
14
|
-
import { UserRole } from "./UserRole";
|
|
15
|
-
import { UserTitr } from "./UserTitr";
|
|
16
|
-
import { Zone } from "./Zone";
|
|
17
|
-
export { Address, DutyPhcie, Gender, Leave, Ste, SteGrp, User, UserCredit, UserGrp, UserNotarial, UserNote, UserOnline, UserRole, UserTitr, UserBase, Zone, };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserCredit = void 0;
|
|
4
|
-
const UserCredit_1 = require("./UserCredit");
|
|
5
|
-
Object.defineProperty(exports, "UserCredit", { enumerable: true, get: function () { return UserCredit_1.UserCredit; } });
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { User } from "../users/User";
|
|
2
|
-
export declare class Wish {
|
|
3
|
-
id: number;
|
|
4
|
-
createdAt: Date;
|
|
5
|
-
message: string;
|
|
6
|
-
reply: string;
|
|
7
|
-
isDone: boolean;
|
|
8
|
-
isAccepted: boolean;
|
|
9
|
-
isRejected: boolean;
|
|
10
|
-
rejectedReason: string;
|
|
11
|
-
authorId?: number;
|
|
12
|
-
author?: User;
|
|
13
|
-
answerer?: User;
|
|
14
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Wish = exports.Todo = void 0;
|
|
4
|
-
const Todo_1 = require("./Todo");
|
|
5
|
-
Object.defineProperty(exports, "Todo", { enumerable: true, get: function () { return Todo_1.Todo; } });
|
|
6
|
-
const Wish_1 = require("./Wish");
|
|
7
|
-
Object.defineProperty(exports, "Wish", { enumerable: true, get: function () { return Wish_1.Wish; } });
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Department } from './Department';
|
|
2
|
-
import { Region } from './Region';
|
|
3
|
-
export declare class City {
|
|
4
|
-
id?: number;
|
|
5
|
-
name?: string;
|
|
6
|
-
departmentcode?: string;
|
|
7
|
-
inseecode?: string;
|
|
8
|
-
zip?: string;
|
|
9
|
-
slug?: string;
|
|
10
|
-
lat?: string;
|
|
11
|
-
lng?: string;
|
|
12
|
-
isActive?: boolean;
|
|
13
|
-
region?: Region;
|
|
14
|
-
department?: Department;
|
|
15
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { City } from "./City";
|
|
2
|
-
import { Continent } from "./Continent";
|
|
3
|
-
import { Country } from "./Country";
|
|
4
|
-
import { Department } from "./Department";
|
|
5
|
-
import { Quarter } from "./Quarter";
|
|
6
|
-
import { Region } from "./Region";
|
|
7
|
-
export { City, Continent, Country, Department, Quarter, Region };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Region = exports.Continent = exports.City = void 0;
|
|
4
|
-
const City_1 = require("./City");
|
|
5
|
-
Object.defineProperty(exports, "City", { enumerable: true, get: function () { return City_1.City; } });
|
|
6
|
-
const Continent_1 = require("./Continent");
|
|
7
|
-
Object.defineProperty(exports, "Continent", { enumerable: true, get: function () { return Continent_1.Continent; } });
|
|
8
|
-
const Region_1 = require("./Region");
|
|
9
|
-
Object.defineProperty(exports, "Region", { enumerable: true, get: function () { return Region_1.Region; } });
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import Bill from "../../bills/models/Bill";
|
|
2
|
-
import Sale from "../../sales/models/Sale";
|
|
3
|
-
export declare const infoAmountOnBl: (tob: Sale) => {
|
|
4
|
-
width: string;
|
|
5
|
-
table: {
|
|
6
|
-
headerRows: number;
|
|
7
|
-
widths: string[];
|
|
8
|
-
heights: number[];
|
|
9
|
-
body: ({
|
|
10
|
-
text: string;
|
|
11
|
-
style: string;
|
|
12
|
-
}[] | {
|
|
13
|
-
text: string | number;
|
|
14
|
-
style: string;
|
|
15
|
-
alignment: string;
|
|
16
|
-
}[])[];
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export declare const infoAmountOnProforma: (tob: Sale) => {
|
|
20
|
-
width: string;
|
|
21
|
-
table: {
|
|
22
|
-
headerRows: number;
|
|
23
|
-
widths: string[];
|
|
24
|
-
heights: number[];
|
|
25
|
-
body: ({
|
|
26
|
-
text: string;
|
|
27
|
-
style: string;
|
|
28
|
-
}[] | {
|
|
29
|
-
text: string | number;
|
|
30
|
-
style: string;
|
|
31
|
-
alignment: string;
|
|
32
|
-
}[])[];
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
export declare const infoAmounOntSale: (tob: Sale) => {
|
|
36
|
-
width: string;
|
|
37
|
-
table: {
|
|
38
|
-
headerRows: number;
|
|
39
|
-
widths: string[];
|
|
40
|
-
heights: number[];
|
|
41
|
-
body: ({
|
|
42
|
-
text: string;
|
|
43
|
-
style: string;
|
|
44
|
-
}[] | {
|
|
45
|
-
text: string | number;
|
|
46
|
-
style: string;
|
|
47
|
-
alignment: string;
|
|
48
|
-
}[])[];
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
export declare const infoAmountOnBill: (tob: Bill) => {
|
|
52
|
-
width: string;
|
|
53
|
-
table: {
|
|
54
|
-
headerRows: number;
|
|
55
|
-
widths: string[];
|
|
56
|
-
heights: number[];
|
|
57
|
-
body: ({
|
|
58
|
-
text: string;
|
|
59
|
-
style: string;
|
|
60
|
-
}[] | {
|
|
61
|
-
text: string;
|
|
62
|
-
style: string;
|
|
63
|
-
alignment: string;
|
|
64
|
-
}[])[];
|
|
65
|
-
};
|
|
66
|
-
};
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.infoAmountOnBill = exports.infoAmounOntSale = exports.infoAmountOnProforma = exports.infoAmountOnBl = void 0;
|
|
4
|
-
const bill_1 = require("../../bills/bill");
|
|
5
|
-
const sale_1 = require("../../sales/sale");
|
|
6
|
-
const utils_1 = require("../../utils");
|
|
7
|
-
const infoAmountOnBl = (tob) => {
|
|
8
|
-
const totalAmountWithoutTva = tob.isBack && (tob.backChoice.toLowerCase() === "autre" || tob.rejectedReason)
|
|
9
|
-
? 0
|
|
10
|
-
: (0, utils_1.formatToStringCfa)((0, sale_1.getTotalAmountWithoutTvaOnSale)(tob, true));
|
|
11
|
-
// const totalPort = formatToStringCfa(HlpSale.getTotalShipping(tob));
|
|
12
|
-
const totalTva = (0, utils_1.formatToStringCfa)((0, sale_1.getTotalTvaOnSale)(tob, true));
|
|
13
|
-
const totalAmountAllIncluded = tob.isBack && (tob.backChoice.toLowerCase() === "autre" || tob.rejectedReason)
|
|
14
|
-
? 0
|
|
15
|
-
: (0, utils_1.formatToStringCfa)((0, sale_1.getTotalAmountAllIncludedOnSale)(tob, true));
|
|
16
|
-
const tabFooter = {
|
|
17
|
-
width: "50%",
|
|
18
|
-
table: {
|
|
19
|
-
headerRows: 1,
|
|
20
|
-
// widths: [ 100, 100, 100, 100 ],
|
|
21
|
-
widths: ["*", "*", "*", "*"],
|
|
22
|
-
heights: [6],
|
|
23
|
-
body: [
|
|
24
|
-
[
|
|
25
|
-
{ text: "TOTAL HT", style: "headerText" },
|
|
26
|
-
// {text: 'PORT HT', style: 'headerText'},
|
|
27
|
-
{ text: "TOTAL TVA", style: "headerText" },
|
|
28
|
-
{ text: "TOTAL TTC", style: "headerText" },
|
|
29
|
-
{ text: "NET A PAYER", style: "headerText" },
|
|
30
|
-
],
|
|
31
|
-
[
|
|
32
|
-
{ text: totalAmountWithoutTva, style: "rowText", alignment: "center" },
|
|
33
|
-
// { text: totalPort, style: 'rowText', alignment: 'center' },
|
|
34
|
-
{ text: totalTva, style: "rowText", alignment: "center" },
|
|
35
|
-
{ text: totalAmountAllIncluded, style: "rowText", alignment: "center" },
|
|
36
|
-
{ text: totalAmountAllIncluded, style: "rowText", alignment: "center" },
|
|
37
|
-
],
|
|
38
|
-
],
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
return tabFooter;
|
|
42
|
-
};
|
|
43
|
-
exports.infoAmountOnBl = infoAmountOnBl;
|
|
44
|
-
const infoAmountOnProforma = (tob) => {
|
|
45
|
-
const totalAmountWithoutTva = tob.isBack && tob.backChoice.toLowerCase() === "autre" ? 0 : (0, utils_1.formatToStringCfa)((0, sale_1.getTotalAmountWithoutTvaOnSale)(tob));
|
|
46
|
-
// const totalPort = formatToStringCfa(HlpSale.getTotalShipping(tob));
|
|
47
|
-
const totalTva = (0, utils_1.formatToStringCfa)((0, sale_1.getTotalTvaOnSale)(tob));
|
|
48
|
-
const totalAmountAllIncluded = tob.isBack && tob.backChoice.toLowerCase() === "autre" ? 0 : (0, utils_1.formatToStringCfa)((0, sale_1.getTotalAmountAllIncludedOnSale)(tob));
|
|
49
|
-
const tabFooter = {
|
|
50
|
-
width: "50%",
|
|
51
|
-
table: {
|
|
52
|
-
headerRows: 1,
|
|
53
|
-
// widths: [ 100, 100, 100, 100 ],
|
|
54
|
-
widths: ["*", "*", "*", "*"],
|
|
55
|
-
heights: [6],
|
|
56
|
-
body: [
|
|
57
|
-
[
|
|
58
|
-
{ text: "TOTAL HT", style: "headerText" },
|
|
59
|
-
// {text: 'PORT HT', style: 'headerText'},
|
|
60
|
-
{ text: "TOTAL TVA", style: "headerText" },
|
|
61
|
-
{ text: "TOTAL TTC", style: "headerText" },
|
|
62
|
-
{ text: "NET A PAYER", style: "headerText" },
|
|
63
|
-
],
|
|
64
|
-
[
|
|
65
|
-
{ text: totalAmountWithoutTva, style: "rowText", alignment: "center" },
|
|
66
|
-
// { text: totalPort, style: 'rowText', alignment: 'center' },
|
|
67
|
-
{ text: totalTva, style: "rowText", alignment: "center" },
|
|
68
|
-
{ text: totalAmountAllIncluded, style: "rowText", alignment: "center" },
|
|
69
|
-
{ text: totalAmountAllIncluded, style: "rowText", alignment: "center" },
|
|
70
|
-
],
|
|
71
|
-
],
|
|
72
|
-
},
|
|
73
|
-
};
|
|
74
|
-
return tabFooter;
|
|
75
|
-
};
|
|
76
|
-
exports.infoAmountOnProforma = infoAmountOnProforma;
|
|
77
|
-
const infoAmounOntSale = (tob) => {
|
|
78
|
-
const totalAmountWithoutTva = tob.isBack && (tob.backChoice.toLowerCase() === "autre" || tob.rejectedReason)
|
|
79
|
-
? 0
|
|
80
|
-
: (0, utils_1.formatToStringCfa)((0, sale_1.getTotalAmountWithoutTvaOnSale)(tob, true));
|
|
81
|
-
const totalPort = (0, utils_1.formatToStringCfa)((0, sale_1.getTotalShippingOnSale)(tob));
|
|
82
|
-
const totalTva = (0, utils_1.formatToStringCfa)((0, sale_1.getTotalTvaOnSale)(tob, true));
|
|
83
|
-
const totalAmountAllIncluded = tob.isBack && (tob.backChoice.toLowerCase() === "autre" || tob.rejectedReason)
|
|
84
|
-
? 0
|
|
85
|
-
: (0, utils_1.formatToStringCfa)((0, sale_1.getTotalAmountAllIncludedOnSale)(tob, true));
|
|
86
|
-
const tabFooter = {
|
|
87
|
-
width: "50%",
|
|
88
|
-
table: {
|
|
89
|
-
headerRows: 1,
|
|
90
|
-
// widths: [ 100, 100, 100, 100 ],
|
|
91
|
-
widths: ["*", "*", "*", "*", "*"],
|
|
92
|
-
heights: [6],
|
|
93
|
-
body: [
|
|
94
|
-
[
|
|
95
|
-
{ text: "TOTAL HT", style: "headerText" },
|
|
96
|
-
{ text: "PORT HT", style: "headerText" },
|
|
97
|
-
{ text: "TOTAL TVA", style: "headerText" },
|
|
98
|
-
{ text: "TOTAL TTC", style: "headerText" },
|
|
99
|
-
{ text: "NET A PAYER", style: "headerText" },
|
|
100
|
-
],
|
|
101
|
-
[
|
|
102
|
-
{ text: totalAmountWithoutTva, style: "rowText", alignment: "center" },
|
|
103
|
-
{ text: totalPort, style: "rowText", alignment: "center" },
|
|
104
|
-
{ text: totalTva, style: "rowText", alignment: "center" },
|
|
105
|
-
{ text: totalAmountAllIncluded, style: "rowText", alignment: "center" },
|
|
106
|
-
{ text: totalAmountAllIncluded, style: "rowText", alignment: "center" },
|
|
107
|
-
],
|
|
108
|
-
],
|
|
109
|
-
},
|
|
110
|
-
};
|
|
111
|
-
return tabFooter;
|
|
112
|
-
};
|
|
113
|
-
exports.infoAmounOntSale = infoAmounOntSale;
|
|
114
|
-
const infoAmountOnBill = (tob) => {
|
|
115
|
-
const totalAmountAllAndBackInclused = (0, bill_1.getTotalAmountAllIncludedOnBill)(tob.sales);
|
|
116
|
-
const totalAmountWithoutTvaAllAndBack = (0, bill_1.getTotalAmountWithoutTvaOnBill)(tob.sales);
|
|
117
|
-
const totalAmountTvaAllAndBack = (0, bill_1.getTotalAmountTvaOnBill)(tob.sales);
|
|
118
|
-
// const totalAmountWithoutTva = formatToStringCfa(HlpSale.getTotalAmountWithoutTvaOnBill(tob.sales));
|
|
119
|
-
const totalAmountWithoutTva = (0, utils_1.formatToStringCfa)(totalAmountWithoutTvaAllAndBack);
|
|
120
|
-
// const totalPort = formatToStringCfa(HlpSale.getTotalShipping(tob));
|
|
121
|
-
const totalTva = (0, utils_1.formatToStringCfa)(totalAmountTvaAllAndBack);
|
|
122
|
-
// const totalTva = formatToStringCfa(HlpSale.getTotalAmountTvaOnBill(tob.sales));
|
|
123
|
-
// const totalAmountAllIncluded = formatToStringCfa(HlpSale.getTotalAmountOnBill(tob.sales));
|
|
124
|
-
const totalAmountAllIncluded = (0, utils_1.formatToStringCfa)(totalAmountAllAndBackInclused);
|
|
125
|
-
const tabFooter = {
|
|
126
|
-
width: "50%",
|
|
127
|
-
table: {
|
|
128
|
-
headerRows: 1,
|
|
129
|
-
// widths: [ 100, 100, 100, 100 ],
|
|
130
|
-
widths: ["*", "*", "*", "*"],
|
|
131
|
-
heights: [6],
|
|
132
|
-
body: [
|
|
133
|
-
[
|
|
134
|
-
{ text: "TOTAL HT", style: "headerText" },
|
|
135
|
-
// {text: 'PORT HT', style: 'headerText'},
|
|
136
|
-
{ text: "TOTAL TVA", style: "headerText" },
|
|
137
|
-
{ text: "TOTAL TTC", style: "headerText" },
|
|
138
|
-
{ text: "NET A PAYER", style: "headerText" },
|
|
139
|
-
],
|
|
140
|
-
[
|
|
141
|
-
{ text: totalAmountWithoutTva, style: "rowText", alignment: "center" },
|
|
142
|
-
// { text: totalPort, style: 'rowText', alignment: 'center' },
|
|
143
|
-
{ text: totalTva, style: "rowText", alignment: "center" },
|
|
144
|
-
{ text: totalAmountAllIncluded, style: "rowText", alignment: "center" },
|
|
145
|
-
{ text: totalAmountAllIncluded, style: "rowText", alignment: "center" },
|
|
146
|
-
],
|
|
147
|
-
],
|
|
148
|
-
},
|
|
149
|
-
};
|
|
150
|
-
return tabFooter;
|
|
151
|
-
};
|
|
152
|
-
exports.infoAmountOnBill = infoAmountOnBill;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import Bill from "../../bills/models/Bill";
|
|
2
|
-
import Sale from "../../sales/models/Sale";
|
|
3
|
-
export declare const infoSale: (tob: Sale) => {
|
|
4
|
-
width: string;
|
|
5
|
-
table: {
|
|
6
|
-
headerRows: number;
|
|
7
|
-
widths: (string | number)[];
|
|
8
|
-
heights: number[];
|
|
9
|
-
body: ({
|
|
10
|
-
text: string;
|
|
11
|
-
style: string;
|
|
12
|
-
} | {
|
|
13
|
-
text: number;
|
|
14
|
-
style: string;
|
|
15
|
-
})[][];
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export declare const infoBill: (tob: Bill) => {
|
|
19
|
-
width: string;
|
|
20
|
-
table: {
|
|
21
|
-
headerRows: number;
|
|
22
|
-
widths: (string | number)[];
|
|
23
|
-
heights: number[];
|
|
24
|
-
body: ({
|
|
25
|
-
text: string;
|
|
26
|
-
style: string;
|
|
27
|
-
} | {
|
|
28
|
-
text: number;
|
|
29
|
-
style: string;
|
|
30
|
-
})[][];
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.infoBill = exports.infoSale = void 0;
|
|
4
|
-
const bill_1 = require("../../bills/bill");
|
|
5
|
-
const sale_1 = require("../../sales/sale");
|
|
6
|
-
const utils_1 = require("../../utils");
|
|
7
|
-
const infoSale = (tob) => {
|
|
8
|
-
const totalQtity = (0, sale_1.getTotalQtityOnSale)(tob);
|
|
9
|
-
const nbProducts = (0, sale_1.getNbProductsOnSale)(tob);
|
|
10
|
-
const nbColis = tob.nbPackages;
|
|
11
|
-
const nbFreeze = tob.nbFreeze;
|
|
12
|
-
// const oWidth = [ '*', '*', 75, 75, 75, 75];
|
|
13
|
-
const tabTop = {
|
|
14
|
-
width: "50%",
|
|
15
|
-
table: {
|
|
16
|
-
headerRows: 1,
|
|
17
|
-
widths: ["*", "*", 75, 75, 75, 75],
|
|
18
|
-
heights: [6],
|
|
19
|
-
body: [
|
|
20
|
-
[
|
|
21
|
-
{ text: "FACTURE N°", style: "headerText" },
|
|
22
|
-
{ text: "DATE", style: "headerText" },
|
|
23
|
-
{ text: "NBRE DE PDTS", style: "headerText" },
|
|
24
|
-
{ text: "QUANTITE TOTALE", style: "headerText" },
|
|
25
|
-
{ text: "NBRE COLIS", style: "headerText" },
|
|
26
|
-
{ text: "NBRE FROID", style: "headerText" },
|
|
27
|
-
],
|
|
28
|
-
[
|
|
29
|
-
{ text: tob.ref, style: "rowText" },
|
|
30
|
-
{ text: (0, utils_1.dateFormatter)(tob.createdAt, "dmy", "/"), style: "rowText" },
|
|
31
|
-
{ text: nbProducts, style: "rowText" },
|
|
32
|
-
{ text: totalQtity, style: "rowText" },
|
|
33
|
-
{ text: nbColis, style: "rowText" },
|
|
34
|
-
{ text: nbFreeze, style: "rowText" },
|
|
35
|
-
],
|
|
36
|
-
],
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
return tabTop;
|
|
40
|
-
};
|
|
41
|
-
exports.infoSale = infoSale;
|
|
42
|
-
const infoBill = (tob) => {
|
|
43
|
-
const totalQtity = (0, bill_1.getTotalQtityOnBill)(tob.sales);
|
|
44
|
-
const nbProducts = (0, bill_1.getNbProductsOnBill)(tob.sales);
|
|
45
|
-
const nbColis = (0, bill_1.getNbPackagesOnBill)(tob.sales);
|
|
46
|
-
const nbFreeze = (0, bill_1.getNbFreezeOnBill)(tob.sales);
|
|
47
|
-
const oWidth = ["*", "*", 75, 75, 75, 75];
|
|
48
|
-
const tabTop = {
|
|
49
|
-
width: "50%",
|
|
50
|
-
table: {
|
|
51
|
-
headerRows: 1,
|
|
52
|
-
// widths: [ 125, 125, 125, '*' ],
|
|
53
|
-
widths: oWidth,
|
|
54
|
-
heights: [6],
|
|
55
|
-
// widths: [ '16%', '16%', '16%', '16%' ],
|
|
56
|
-
body: [
|
|
57
|
-
[
|
|
58
|
-
{ text: "FACTURE N°", style: "headerText" },
|
|
59
|
-
{ text: "DATE", style: "headerText" },
|
|
60
|
-
{ text: "NBRE DE PDTS", style: "headerText" },
|
|
61
|
-
{ text: "QUANTITE TOTALE", style: "headerText" },
|
|
62
|
-
{ text: "NBRE COLIS", style: "headerText" },
|
|
63
|
-
{ text: "NBRE FROID", style: "headerText" },
|
|
64
|
-
],
|
|
65
|
-
[
|
|
66
|
-
{ text: tob.ref, style: "rowText" },
|
|
67
|
-
// { text: moment(tob.createdAt ).format('DD/MM/YYYY'), style: 'rowText'},
|
|
68
|
-
{ text: (0, utils_1.dateFormatter)(tob.createdAt, "dmy", "/"), style: "rowText" },
|
|
69
|
-
{ text: nbProducts, style: "rowText" },
|
|
70
|
-
{ text: totalQtity, style: "rowText" },
|
|
71
|
-
{ text: nbColis, style: "rowText" },
|
|
72
|
-
{ text: nbFreeze, style: "rowText" },
|
|
73
|
-
],
|
|
74
|
-
],
|
|
75
|
-
},
|
|
76
|
-
};
|
|
77
|
-
return tabTop;
|
|
78
|
-
};
|
|
79
|
-
exports.infoBill = infoBill;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Ste } from "../../users";
|
|
2
|
-
export declare const displayPdfDate: (label: string, fromDate: string, toDate: string) => string;
|
|
3
|
-
export declare const displayTitle: (title: string) => {
|
|
4
|
-
width: string;
|
|
5
|
-
alignment: string;
|
|
6
|
-
text: string;
|
|
7
|
-
bold: boolean;
|
|
8
|
-
margin: number[];
|
|
9
|
-
fontSize: number;
|
|
10
|
-
};
|
|
11
|
-
export declare const displayClient: <T extends {
|
|
12
|
-
ste: Ste;
|
|
13
|
-
fullname: string;
|
|
14
|
-
cp: string;
|
|
15
|
-
city: string;
|
|
16
|
-
address: string;
|
|
17
|
-
username: string;
|
|
18
|
-
}>(user: T) => {
|
|
19
|
-
absolutePosition: {
|
|
20
|
-
x: number;
|
|
21
|
-
y: number;
|
|
22
|
-
};
|
|
23
|
-
text: ({
|
|
24
|
-
text: string;
|
|
25
|
-
fontSize: number;
|
|
26
|
-
bold?: undefined;
|
|
27
|
-
} | {
|
|
28
|
-
text: string;
|
|
29
|
-
bold: boolean;
|
|
30
|
-
fontSize: number;
|
|
31
|
-
} | {
|
|
32
|
-
text: string;
|
|
33
|
-
fontSize?: undefined;
|
|
34
|
-
bold?: undefined;
|
|
35
|
-
})[];
|
|
36
|
-
color: string;
|
|
37
|
-
width: string;
|
|
38
|
-
fontSize: number;
|
|
39
|
-
bold: boolean;
|
|
40
|
-
alignment: string;
|
|
41
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.displayClient = exports.displayTitle = exports.displayPdfDate = void 0;
|
|
4
|
-
const user_1 = require("../../users/user");
|
|
5
|
-
const utils_1 = require("../../utils");
|
|
6
|
-
const displayPdfDate = (label, fromDate, toDate) => {
|
|
7
|
-
fromDate = !fromDate ? (0, utils_1.dateFormatter)(new Date(), "ymd", "-") : fromDate;
|
|
8
|
-
toDate = !toDate ? fromDate : toDate;
|
|
9
|
-
return label + " du " + (0, utils_1.dateFormatter)(fromDate) + " au " + (0, utils_1.dateFormatter)(toDate);
|
|
10
|
-
};
|
|
11
|
-
exports.displayPdfDate = displayPdfDate;
|
|
12
|
-
const displayTitle = (title) => {
|
|
13
|
-
return {
|
|
14
|
-
width: "100%",
|
|
15
|
-
alignment: "center",
|
|
16
|
-
text: title,
|
|
17
|
-
bold: true,
|
|
18
|
-
margin: [0, 10, 0, 10],
|
|
19
|
-
fontSize: 15,
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
exports.displayTitle = displayTitle;
|
|
23
|
-
const displayClient = (user) => {
|
|
24
|
-
// const clientSte = user.ste ? HlpUser.getSteShortname(user.ste) : '';
|
|
25
|
-
const clientSte = user.ste ? (0, user_1.getSteShortname)(user.ste, ["pharmacie", "clinique", "hopital"]) : "";
|
|
26
|
-
/* const clientLastname = (user.lastname) ? user.lastname : '';
|
|
27
|
-
const clientFirstname = (user.firstname) ? user.firstname : '';
|
|
28
|
-
const clientGender = (user.gender) ? user.gender.abr : ''; */
|
|
29
|
-
const clientName = user.ste ? clientSte : user.fullname;
|
|
30
|
-
const cp = user.cp ? user.cp : "";
|
|
31
|
-
const city = user.city ? user.city : "";
|
|
32
|
-
const nif = user.ste.nif ? user.ste.nif : "";
|
|
33
|
-
const address = user.address ? user.address : "";
|
|
34
|
-
const client = {
|
|
35
|
-
absolutePosition: { x: 310, y: 30 },
|
|
36
|
-
text: [
|
|
37
|
-
{ text: "CLIENT: ", fontSize: 8 },
|
|
38
|
-
{ text: user.username + "\n", bold: true, fontSize: 10 },
|
|
39
|
-
{ text: clientName + "\n" },
|
|
40
|
-
{ text: address + " " },
|
|
41
|
-
{ text: cp + "\n" },
|
|
42
|
-
{ text: city + "\n" },
|
|
43
|
-
// {text: nif + '\n'}
|
|
44
|
-
],
|
|
45
|
-
color: "#000",
|
|
46
|
-
width: "auto",
|
|
47
|
-
fontSize: 12,
|
|
48
|
-
bold: true,
|
|
49
|
-
alignment: "left",
|
|
50
|
-
// margin: [100, 0, 0, 0],
|
|
51
|
-
};
|
|
52
|
-
return client;
|
|
53
|
-
};
|
|
54
|
-
exports.displayClient = displayClient;
|
package/lib/cjs/product.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import Product from "./products/models/Product";
|
|
2
|
-
import User from "./users/models/User";
|
|
3
|
-
export declare const unitPriceByClientCat: (product: Product, client: User, speUnitPrice?: number, addDiscount?: boolean) => number;
|
|
4
|
-
export declare const productCatCode: (product: Product, catCodes: string[]) => boolean;
|