@silexpert/core 1.0.41 → 1.0.43

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.
Files changed (68) hide show
  1. package/es/api/resources/Loan.js +1 -1
  2. package/es/api/resources/Loan.js.map +1 -1
  3. package/es/api/resources/SocietyConfig.d.ts +7 -0
  4. package/es/api/resources/SocietyConfig.d.ts.map +1 -0
  5. package/es/api/resources/SocietyConfig.js +10 -0
  6. package/es/api/resources/SocietyConfig.js.map +1 -0
  7. package/es/api/resources.d.ts +2 -0
  8. package/es/api/resources.d.ts.map +1 -1
  9. package/es/api/resources.js +2 -0
  10. package/es/api/resources.js.map +1 -1
  11. package/es/types/Enum/ProductType.d.ts +10 -0
  12. package/es/types/Enum/ProductType.d.ts.map +1 -1
  13. package/es/types/Enum/ProductType.js +23 -3
  14. package/es/types/Enum/ProductType.js.map +1 -1
  15. package/es/types/Enum/Unit.js +2 -2
  16. package/es/types/Enum/Unit.js.map +1 -1
  17. package/es/types/Interface/api/commercialManagement/Create.d.ts +1 -1
  18. package/es/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
  19. package/es/types/Interface/api/commercialManagement/Create.js +1 -2
  20. package/es/types/Interface/api/commercialManagement/Create.js.map +1 -1
  21. package/es/types/Interface/api/commercialManagement/Read.d.ts +1 -1
  22. package/es/types/Interface/api/commercialManagement/Read.d.ts.map +1 -1
  23. package/es/types/Interface/api/commercialManagement/Read.js.map +1 -1
  24. package/es/types/Interface/api/societyConfig/update.d.ts +21 -0
  25. package/es/types/Interface/api/societyConfig/update.d.ts.map +1 -0
  26. package/es/types/Interface/api/societyConfig/update.js +131 -0
  27. package/es/types/Interface/api/societyConfig/update.js.map +1 -0
  28. package/es/types/index.d.ts +1 -0
  29. package/es/types/index.d.ts.map +1 -1
  30. package/es/types/index.js +1 -0
  31. package/es/types/index.js.map +1 -1
  32. package/es/utils/commercialManagement/document.d.ts.map +1 -1
  33. package/es/utils/commercialManagement/document.js +13 -13
  34. package/es/utils/commercialManagement/document.js.map +1 -1
  35. package/es/utils/commercialManagement/templates/common.js +2 -2
  36. package/es/utils/commercialManagement/templates/common.js.map +1 -1
  37. package/js/api/resources/Loan.js +1 -1
  38. package/js/api/resources/Loan.js.map +1 -1
  39. package/js/api/resources/SocietyConfig.js +22 -0
  40. package/js/api/resources/SocietyConfig.js.map +1 -0
  41. package/js/api/resources.js +4 -1
  42. package/js/api/resources.js.map +1 -1
  43. package/js/types/Enum/ProductType.js +21 -3
  44. package/js/types/Enum/ProductType.js.map +1 -1
  45. package/js/types/Enum/Unit.js +2 -2
  46. package/js/types/Enum/Unit.js.map +1 -1
  47. package/js/types/Interface/api/commercialManagement/Create.js +1 -1
  48. package/js/types/Interface/api/commercialManagement/Create.js.map +1 -1
  49. package/js/types/Interface/api/societyConfig/update.js +65 -0
  50. package/js/types/Interface/api/societyConfig/update.js.map +1 -0
  51. package/js/types/index.js +12 -0
  52. package/js/types/index.js.map +1 -1
  53. package/js/utils/commercialManagement/document.js +30 -24
  54. package/js/utils/commercialManagement/document.js.map +1 -1
  55. package/js/utils/commercialManagement/templates/common.js +2 -2
  56. package/js/utils/commercialManagement/templates/common.js.map +1 -1
  57. package/package.json +1 -1
  58. package/ts/api/resources/Loan.ts +1 -1
  59. package/ts/api/resources/SocietyConfig.ts +12 -0
  60. package/ts/api/resources.ts +2 -0
  61. package/ts/types/Enum/ProductType.ts +26 -3
  62. package/ts/types/Enum/Unit.ts +2 -2
  63. package/ts/types/Interface/api/commercialManagement/Create.ts +1 -2
  64. package/ts/types/Interface/api/commercialManagement/Read.ts +1 -1
  65. package/ts/types/Interface/api/societyConfig/update.ts +103 -0
  66. package/ts/types/index.ts +1 -0
  67. package/ts/utils/commercialManagement/document.ts +6 -0
  68. package/ts/utils/commercialManagement/templates/common.ts +2 -2
@@ -73,7 +73,7 @@ export class CommercialDocumentCommonHTML {
73
73
  <% if(product.itemSaleName) { %><p class="product-name"><%= product.itemSaleName %></p><% } %>
74
74
  <% if(product.comment) { %><p class="product-description"><%= product.comment %></p><% } %>
75
75
  </td>
76
- <td class="product-quantity"><%= product.quantity ? product.quantity : '' %><%= product.unitFormatted ? product.unitFormatted : '' %></td>
76
+ <td class="product-quantity"><%= product.quantity ? product.quantity : '' %> <%= product.unitFormatted ? product.unitFormatted : '' %></td>
77
77
  <td class="product-price-without-vat"><% if(product.priceTaxExcludedFormatted) { %><%= product.priceTaxExcludedFormatted + '€' %><% } %></td>
78
78
  <% if (shouldDisplayDiscountColumn) { %>
79
79
  <td class="product-discount">
@@ -188,7 +188,7 @@ export class CommercialDocumentCommonHTML {
188
188
  .pdf-content .logo-placeholder { width: 300px; max-height: 150px;text-align: <%= settings && settings.logoAlignment === 'left' ? 'left' : 'right' %>; margin-bottom: <%= settings && settings.logoAlignment === 'left' ? '10px;' : '0px' %>}
189
189
  .pdf-content .logo-placeholder > svg, .pdf-content .logo-placeholder > img { max-width: 100%; max-height: 150px; }
190
190
  .pdf-content .document-reference { font-size: 20px; }
191
- ..pdf-content customer-border { border: 2px solid #EAEAEA; border-radius: 6px; padding: 7px; }
191
+ .pdf-content .customer-border { border: 2px solid #EAEAEA; border-radius: 6px; padding: 7px; }
192
192
 
193
193
  /* Body */
194
194
  .pdf-content table.commercial-table-preview { border-spacing: 1px; border-collapse: collapse; }