@htmlbricks/hb-page-invoice 0.68.1 → 0.68.3
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/main.iife.js +1 -1
- package/main.iife.js.map +1 -1
- package/manifest.json +146 -2
- package/package.json +1 -1
package/manifest.json
CHANGED
|
@@ -284,9 +284,153 @@
|
|
|
284
284
|
}
|
|
285
285
|
]
|
|
286
286
|
}
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"name": "printerMode",
|
|
290
|
+
"description": "Invoice with print-friendly flag.",
|
|
291
|
+
"data": {
|
|
292
|
+
"printer": "yes",
|
|
293
|
+
"headers": {
|
|
294
|
+
"serial": "INV-2026-0042",
|
|
295
|
+
"from": {
|
|
296
|
+
"piva": "IT12345678901",
|
|
297
|
+
"name": "Northwind Srl",
|
|
298
|
+
"address": "Via Roma 1, Milano",
|
|
299
|
+
"email": "billing@example.com",
|
|
300
|
+
"phone": "+39 02 0000000",
|
|
301
|
+
"logo": "https://upload.wikimedia.org/wikipedia/commons/a/af/Free_Content_Logo.svg",
|
|
302
|
+
"shortName": "Northwind"
|
|
303
|
+
},
|
|
304
|
+
"to": {
|
|
305
|
+
"piva": "IT98765432109",
|
|
306
|
+
"name": "Client SpA",
|
|
307
|
+
"address": "Corso Italia 10, Torino",
|
|
308
|
+
"email": "ap@client.example",
|
|
309
|
+
"phone": "+39 011 1111111"
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"items": [
|
|
313
|
+
{
|
|
314
|
+
"desc": "Consulting hours",
|
|
315
|
+
"unitaryPrice": 120,
|
|
316
|
+
"taxPercentage": 22,
|
|
317
|
+
"quantity": 8
|
|
318
|
+
}
|
|
319
|
+
]
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"name": "servicesCategory",
|
|
324
|
+
"description": "Service invoice with category hint.",
|
|
325
|
+
"data": {
|
|
326
|
+
"headers": {
|
|
327
|
+
"serial": "SVC-01",
|
|
328
|
+
"category": "services",
|
|
329
|
+
"country": "eu",
|
|
330
|
+
"from": {
|
|
331
|
+
"piva": "EU-VAT-XX",
|
|
332
|
+
"name": "EU Vendor",
|
|
333
|
+
"address": "Brussels",
|
|
334
|
+
"email": "eu@example.com",
|
|
335
|
+
"phone": "+32 2 000 0000",
|
|
336
|
+
"logo": "https://upload.wikimedia.org/wikipedia/commons/a/af/Free_Content_Logo.svg",
|
|
337
|
+
"shortName": "EU Vendor"
|
|
338
|
+
},
|
|
339
|
+
"to": {
|
|
340
|
+
"piva": "EU-BUY-YY",
|
|
341
|
+
"name": "EU Buyer",
|
|
342
|
+
"address": "Berlin",
|
|
343
|
+
"email": "buyer@example.com",
|
|
344
|
+
"phone": "+49 30 000000"
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
"items": [
|
|
348
|
+
{
|
|
349
|
+
"desc": "Monthly subscription",
|
|
350
|
+
"unitaryPrice": 49,
|
|
351
|
+
"taxPercentage": 19,
|
|
352
|
+
"quantity": 1
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"desc": "Setup fee",
|
|
356
|
+
"unitaryPrice": 199,
|
|
357
|
+
"taxPercentage": 19,
|
|
358
|
+
"quantity": 1
|
|
359
|
+
}
|
|
360
|
+
]
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"name": "withDiscount",
|
|
365
|
+
"description": "Line with gross discount.",
|
|
366
|
+
"data": {
|
|
367
|
+
"headers": {
|
|
368
|
+
"serial": "DISC-7",
|
|
369
|
+
"from": {
|
|
370
|
+
"piva": "piva",
|
|
371
|
+
"name": "companyfrom",
|
|
372
|
+
"address": "address",
|
|
373
|
+
"email": "email",
|
|
374
|
+
"phone": "phone",
|
|
375
|
+
"logo": "https://upload.wikimedia.org/wikipedia/commons/a/af/Free_Content_Logo.svg",
|
|
376
|
+
"shortName": "Acme SpA"
|
|
377
|
+
},
|
|
378
|
+
"to": {
|
|
379
|
+
"piva": "to iva",
|
|
380
|
+
"name": "to name",
|
|
381
|
+
"address": "to address",
|
|
382
|
+
"email": "to@email.com",
|
|
383
|
+
"phone": "tototo"
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
"items": [
|
|
387
|
+
{
|
|
388
|
+
"desc": "Bundled hardware",
|
|
389
|
+
"unitaryPrice": 500,
|
|
390
|
+
"taxPercentage": 22,
|
|
391
|
+
"quantity": 2,
|
|
392
|
+
"discount": {
|
|
393
|
+
"type": "gross",
|
|
394
|
+
"includeVat": true
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
]
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"name": "singleLine",
|
|
402
|
+
"description": "Minimal one-item invoice.",
|
|
403
|
+
"data": {
|
|
404
|
+
"headers": {
|
|
405
|
+
"serial": "X-1",
|
|
406
|
+
"from": {
|
|
407
|
+
"piva": "IT111",
|
|
408
|
+
"name": "Solo Trader",
|
|
409
|
+
"address": "Main St",
|
|
410
|
+
"email": "a@b.c",
|
|
411
|
+
"phone": "1",
|
|
412
|
+
"logo": "https://upload.wikimedia.org/wikipedia/commons/a/af/Free_Content_Logo.svg",
|
|
413
|
+
"shortName": "Solo"
|
|
414
|
+
},
|
|
415
|
+
"to": {
|
|
416
|
+
"piva": "IT222",
|
|
417
|
+
"name": "Customer",
|
|
418
|
+
"address": "Other St",
|
|
419
|
+
"email": "c@d.e",
|
|
420
|
+
"phone": "2"
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
"items": [
|
|
424
|
+
{
|
|
425
|
+
"desc": "License",
|
|
426
|
+
"unitaryPrice": 99,
|
|
427
|
+
"taxPercentage": 22
|
|
428
|
+
}
|
|
429
|
+
]
|
|
430
|
+
}
|
|
287
431
|
}
|
|
288
432
|
],
|
|
289
|
-
"iifeIntegrity": "sha384-
|
|
433
|
+
"iifeIntegrity": "sha384-2Yf95o36FiykC9BtQ+zlxKsqISlOZ9QZ/9OvhlZ6Rz12MgOEdxtoebxyJpvc+e0y",
|
|
290
434
|
"dependencies": [
|
|
291
435
|
{
|
|
292
436
|
"name": "hb-table",
|
|
@@ -436,5 +580,5 @@
|
|
|
436
580
|
"size": {},
|
|
437
581
|
"iifePath": "main.iife.js",
|
|
438
582
|
"repoName": "@htmlbricks/hb-page-invoice",
|
|
439
|
-
"version": "0.68.
|
|
583
|
+
"version": "0.68.3"
|
|
440
584
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@htmlbricks/hb-page-invoice",
|
|
3
|
-
"version": "0.68.
|
|
3
|
+
"version": "0.68.3",
|
|
4
4
|
"contributors": [],
|
|
5
5
|
"description": "Printable invoice page: shows seller and buyer from headers, invoice date and serial, line items in hb-table with price, quantity, VAT and row totals, plus subtotal, tax and grand total in the invoice currency. When printer is not yes, offers print and open-in-window actions.",
|
|
6
6
|
"licenses": [
|