pangea-server 3.3.126 → 3.3.127

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.
@@ -184,9 +184,9 @@ class Arca {
184
184
  vat_amount: 0,
185
185
  tributes_amount: 0,
186
186
  total_amount: amount,
187
- billing_from: isConceptProducts ? '' : service.from.split('-').reverse().join('/'),
188
- billing_to: isConceptProducts ? '' : service.to.split('-').reverse().join('/'),
189
- payment_due_date: isConceptProducts ? '' : service.paymentDueDate.split('-').reverse().join('/'),
187
+ billing_from: isConceptProducts ? null : service.from.split('-').reverse().join('/'),
188
+ billing_to: isConceptProducts ? null : service.to.split('-').reverse().join('/'),
189
+ payment_due_date: isConceptProducts ? null : service.paymentDueDate.split('-').reverse().join('/'),
190
190
  net_amount_taxed: amount,
191
191
  net_amount_untaxed: 0,
192
192
  exempt_amount: 0,
@@ -199,7 +199,7 @@ class Arca {
199
199
  }
200
200
  catch (pdfErr) {
201
201
  (0, helpers_1.printDanger)('arca', 'Error creating PDF (voucher was created)');
202
- console.log(pdfErr);
202
+ console.log(JSON.stringify(pdfErr.data || pdfErr, null, 2));
203
203
  }
204
204
  (0, helpers_1.printSuccess)('arca', 'Voucher created successfully');
205
205
  console.log('params:');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-server",
3
3
  "description": "",
4
- "version": "3.3.126",
4
+ "version": "3.3.127",
5
5
  "files": [
6
6
  "dist"
7
7
  ],