@things-factory/invoice 10.1.208 → 10.1.212

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 (48) hide show
  1. package/dist-client/document/document-form.d.ts +2 -1
  2. package/dist-client/document/document-form.js +3 -2
  3. package/dist-client/document/document-form.js.map +1 -1
  4. package/dist-client/document/document-print.d.ts +2 -1
  5. package/dist-client/document/document-print.js +2 -2
  6. package/dist-client/document/document-print.js.map +1 -1
  7. package/dist-client/entity360/invoice-360.d.ts +8 -0
  8. package/dist-client/entity360/invoice-360.js +12 -2
  9. package/dist-client/entity360/invoice-360.js.map +1 -1
  10. package/dist-client/invoice-files.d.ts +32 -0
  11. package/dist-client/invoice-files.js +249 -0
  12. package/dist-client/invoice-files.js.map +1 -0
  13. package/dist-client/pages/invoice-editor.d.ts +16 -0
  14. package/dist-client/pages/invoice-editor.js +88 -3
  15. package/dist-client/pages/invoice-editor.js.map +1 -1
  16. package/dist-client/pages/invoice-list.js +8 -4
  17. package/dist-client/pages/invoice-list.js.map +1 -1
  18. package/dist-client/tsconfig.tsbuildinfo +1 -1
  19. package/dist-server/service/index.d.ts +1 -0
  20. package/dist-server/service/index.js +1 -0
  21. package/dist-server/service/index.js.map +1 -1
  22. package/dist-server/service/invoice/index.d.ts +1 -1
  23. package/dist-server/service/invoice/invoice-files.d.ts +14 -0
  24. package/dist-server/service/invoice/invoice-files.js +43 -0
  25. package/dist-server/service/invoice/invoice-files.js.map +1 -0
  26. package/dist-server/service/invoice/invoice-mutation.d.ts +2 -0
  27. package/dist-server/service/invoice/invoice-mutation.js +18 -0
  28. package/dist-server/service/invoice/invoice-mutation.js.map +1 -1
  29. package/dist-server/service/invoice/invoice-query.d.ts +4 -0
  30. package/dist-server/service/invoice/invoice-query.js +23 -0
  31. package/dist-server/service/invoice/invoice-query.js.map +1 -1
  32. package/dist-server/service/invoice/invoice-rules.d.ts +2 -2
  33. package/dist-server/service/invoice/invoice-service.js +5 -0
  34. package/dist-server/service/invoice/invoice-service.js.map +1 -1
  35. package/dist-server/service/invoice/invoice-type.d.ts +1 -0
  36. package/dist-server/service/invoice/invoice-type.js +4 -0
  37. package/dist-server/service/invoice/invoice-type.js.map +1 -1
  38. package/dist-server/service/invoice/invoice.d.ts +3 -0
  39. package/dist-server/service/invoice/invoice.js +11 -0
  40. package/dist-server/service/invoice/invoice.js.map +1 -1
  41. package/dist-server/tsconfig.tsbuildinfo +1 -1
  42. package/package.json +9 -4
  43. package/translations/en.json +13 -1
  44. package/translations/es.json +13 -1
  45. package/translations/ja.json +13 -1
  46. package/translations/ko.json +13 -1
  47. package/translations/ms.json +13 -1
  48. package/translations/zh.json +13 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/invoice",
3
- "version": "10.1.208",
3
+ "version": "10.1.212",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -21,17 +21,22 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@material/web": "^2.0.0",
24
+ "@operato/attachment": "^10.29.45",
24
25
  "@operato/data-grist": "^10.0.0",
25
26
  "@operato/graphql": "^10.0.0",
26
27
  "@operato/i18n": "^10.0.0",
28
+ "@operato/input": "^10.29.44",
27
29
  "@operato/layout": "^10.0.0",
28
30
  "@operato/list-state": "^10.29.1",
29
31
  "@operato/popup": "^10.0.0",
30
32
  "@operato/shell": "^10.0.0",
31
33
  "@operato/styles": "^10.29.1",
32
34
  "@operato/utils": "^10.0.0",
33
- "@things-factory/auth-base": "^10.1.208",
34
- "@things-factory/shell": "^10.1.208"
35
+ "@things-factory/attachment-base": "^10.1.212",
36
+ "@things-factory/auth-base": "^10.1.212",
37
+ "@things-factory/biz-base": "^10.1.212",
38
+ "@things-factory/shell": "^10.1.208",
39
+ "graphql-upload": "^15.0.2"
35
40
  },
36
41
  "publishConfig": {
37
42
  "access": "public",
@@ -43,5 +48,5 @@
43
48
  "url": "git+https://github.com/hatiolab/things-factory.git",
44
49
  "directory": "packages/invoice"
45
50
  },
46
- "gitHead": "ffc1ceaa9471b9f4a9b86f46c3021f2fed72d17d"
51
+ "gitHead": "1e1cdb79fca2915580429af451b6cf1dae653a93"
47
52
  }
@@ -19,6 +19,8 @@
19
19
  "error.invoice-received-purchase-only": "Only a received purchase invoice keeps the tax its sender printed.",
20
20
  "error.invoice-received-tax-required": "Enter the tax printed on each received line.",
21
21
  "error.invoice-void-invalid": "A cancellation needs a reason and a non-void invoice.",
22
+ "error.invoice-counterparty-not-found": "The counterparty was not found. Reload and choose again.",
23
+ "error.invoice-file-not-on-invoice": "A file is not on this invoice. Reload and try again.",
22
24
  "field.invoice-bank-details": "Bank details",
23
25
  "field.invoice-buyer-address": "Buyer address",
24
26
  "field.invoice-buyer-name": "Buyer",
@@ -32,7 +34,17 @@
32
34
  "field.invoice-language": "Document language",
33
35
  "field.invoice-line-description": "Description",
34
36
  "field.invoice-notes": "Notes",
35
- "field.invoice-number": "Number",
37
+ "field.invoice-number": "Invoice number",
38
+ "text.invoice-file-remove-confirm": "Remove {name}. This cannot be undone.",
39
+ "button.invoice-file-remove": "Remove file",
40
+ "button.invoice-file-photo": "Take photo",
41
+ "button.invoice-file-attach": "Attach",
42
+ "text.invoice-files-none": "No files attached.",
43
+ "text.invoice-section-files": "Files",
44
+ "button.invoice-counterparty-clear": "Clear",
45
+ "button.invoice-counterparty-find": "Find",
46
+ "text.invoice-counterparty-search": "Find by name or business number",
47
+ "field.invoice-counterparty": "Counterparty",
36
48
  "field.invoice-payment-terms": "Payment terms",
37
49
  "field.invoice-purchase-order": "Purchase order",
38
50
  "field.invoice-quantity": "Quantity",
@@ -19,6 +19,8 @@
19
19
  "error.invoice-received-purchase-only": "Solo una factura de compra recibida conserva el impuesto impreso por su emisor.",
20
20
  "error.invoice-received-tax-required": "Introduzca el impuesto impreso en cada línea recibida.",
21
21
  "error.invoice-void-invalid": "Una anulación requiere un motivo y una factura no anulada.",
22
+ "error.invoice-counterparty-not-found": "No se encontró la contraparte. Vuelva a cargar y elija de nuevo.",
23
+ "error.invoice-file-not-on-invoice": "Un archivo no está en esta factura. Vuelva a cargar e inténtelo de nuevo.",
22
24
  "field.invoice-bank-details": "Datos bancarios",
23
25
  "field.invoice-buyer-address": "Dirección del comprador",
24
26
  "field.invoice-buyer-name": "Comprador",
@@ -32,7 +34,17 @@
32
34
  "field.invoice-language": "Idioma del documento",
33
35
  "field.invoice-line-description": "Descripción",
34
36
  "field.invoice-notes": "Notas",
35
- "field.invoice-number": "Número",
37
+ "field.invoice-number": "Número de factura",
38
+ "text.invoice-file-remove-confirm": "Se quitará {name}. No se puede deshacer.",
39
+ "button.invoice-file-remove": "Quitar archivo",
40
+ "button.invoice-file-photo": "Tomar foto",
41
+ "button.invoice-file-attach": "Adjuntar",
42
+ "text.invoice-files-none": "No hay archivos adjuntos.",
43
+ "text.invoice-section-files": "Archivos",
44
+ "button.invoice-counterparty-clear": "Quitar",
45
+ "button.invoice-counterparty-find": "Buscar",
46
+ "text.invoice-counterparty-search": "Buscar por nombre o número fiscal",
47
+ "field.invoice-counterparty": "Contraparte",
36
48
  "field.invoice-payment-terms": "Condiciones de pago",
37
49
  "field.invoice-purchase-order": "Pedido de compra",
38
50
  "field.invoice-quantity": "Cantidad",
@@ -19,6 +19,8 @@
19
19
  "error.invoice-received-purchase-only": "記載税額をそのまま使えるのは受け取った仕入請求書だけです。",
20
20
  "error.invoice-received-tax-required": "受け取った請求書は品目ごとに記載税額を入力してください。",
21
21
  "error.invoice-void-invalid": "取消されていない請求書を選び、取消理由を入力してください。",
22
+ "error.invoice-counterparty-not-found": "取引先が見つかりません。再読み込みしてから選び直してください。",
23
+ "error.invoice-file-not-on-invoice": "この請求書にないファイルです。再読み込みしてから操作してください。",
22
24
  "field.invoice-bank-details": "振込口座",
23
25
  "field.invoice-buyer-address": "購入者住所",
24
26
  "field.invoice-buyer-name": "購入者",
@@ -32,7 +34,17 @@
32
34
  "field.invoice-language": "文書言語",
33
35
  "field.invoice-line-description": "品目",
34
36
  "field.invoice-notes": "備考",
35
- "field.invoice-number": "文書番号",
37
+ "field.invoice-number": "請求書番号",
38
+ "text.invoice-file-remove-confirm": "{name} を削除します。元に戻せません。",
39
+ "button.invoice-file-remove": "ファイルを削除",
40
+ "button.invoice-file-photo": "写真を撮る",
41
+ "button.invoice-file-attach": "添付",
42
+ "text.invoice-files-none": "添付ファイルはありません。",
43
+ "text.invoice-section-files": "添付ファイル",
44
+ "button.invoice-counterparty-clear": "クリア",
45
+ "button.invoice-counterparty-find": "検索",
46
+ "text.invoice-counterparty-search": "名前または事業者番号で検索",
47
+ "field.invoice-counterparty": "取引先",
36
48
  "field.invoice-payment-terms": "支払条件",
37
49
  "field.invoice-purchase-order": "発注番号",
38
50
  "field.invoice-quantity": "数量",
@@ -19,6 +19,8 @@
19
19
  "error.invoice-received-purchase-only": "적힌 세액을 그대로 두는 것은 받은 매입 청구서뿐입니다.",
20
20
  "error.invoice-received-tax-required": "수취한 청구서에 기재된 품목별 세액을 입력해 주세요.",
21
21
  "error.invoice-void-invalid": "취소되지 않은 청구서를 선택하고 취소 사유를 입력하세요.",
22
+ "error.invoice-counterparty-not-found": "거래처를 찾을 수 없습니다. 다시 불러온 뒤 선택해 주세요.",
23
+ "error.invoice-file-not-on-invoice": "이 청구서에 없는 파일입니다. 다시 불러온 뒤 해 주세요.",
22
24
  "field.invoice-bank-details": "입금 계좌",
23
25
  "field.invoice-buyer-address": "공급받는 자 주소",
24
26
  "field.invoice-buyer-name": "공급받는 자",
@@ -32,7 +34,17 @@
32
34
  "field.invoice-language": "문서 언어",
33
35
  "field.invoice-line-description": "품목",
34
36
  "field.invoice-notes": "비고",
35
- "field.invoice-number": "문서 번호",
37
+ "field.invoice-number": "청구서 번호",
38
+ "text.invoice-file-remove-confirm": "{name} 파일을 삭제합니다. 되돌릴 수 없습니다.",
39
+ "button.invoice-file-remove": "파일 삭제",
40
+ "button.invoice-file-photo": "사진 촬영",
41
+ "button.invoice-file-attach": "첨부",
42
+ "text.invoice-files-none": "첨부한 파일이 없습니다.",
43
+ "text.invoice-section-files": "첨부 파일",
44
+ "button.invoice-counterparty-clear": "지우기",
45
+ "button.invoice-counterparty-find": "찾기",
46
+ "text.invoice-counterparty-search": "이름이나 사업자번호로 찾기",
47
+ "field.invoice-counterparty": "거래처",
36
48
  "field.invoice-payment-terms": "결제 조건",
37
49
  "field.invoice-purchase-order": "발주 번호",
38
50
  "field.invoice-quantity": "수량",
@@ -19,6 +19,8 @@
19
19
  "error.invoice-received-purchase-only": "Hanya invois belian yang diterima menyimpan cukai yang dicetak oleh pengirim.",
20
20
  "error.invoice-received-tax-required": "Masukkan cukai yang dicetak pada setiap baris yang diterima.",
21
21
  "error.invoice-void-invalid": "Pembatalan memerlukan sebab dan invois yang belum dibatalkan.",
22
+ "error.invoice-counterparty-not-found": "Pihak berurusan tidak ditemui. Muat semula dan pilih semula.",
23
+ "error.invoice-file-not-on-invoice": "Fail itu tiada pada invois ini. Muat semula dan cuba lagi.",
22
24
  "field.invoice-bank-details": "Butiran bank",
23
25
  "field.invoice-buyer-address": "Alamat pembeli",
24
26
  "field.invoice-buyer-name": "Pembeli",
@@ -32,7 +34,17 @@
32
34
  "field.invoice-language": "Bahasa dokumen",
33
35
  "field.invoice-line-description": "Keterangan",
34
36
  "field.invoice-notes": "Catatan",
35
- "field.invoice-number": "Nombor",
37
+ "field.invoice-number": "Nombor invois",
38
+ "text.invoice-file-remove-confirm": "{name} akan dibuang. Ini tidak boleh dibatalkan.",
39
+ "button.invoice-file-remove": "Buang fail",
40
+ "button.invoice-file-photo": "Ambil gambar",
41
+ "button.invoice-file-attach": "Lampirkan",
42
+ "text.invoice-files-none": "Tiada fail dilampirkan.",
43
+ "text.invoice-section-files": "Fail",
44
+ "button.invoice-counterparty-clear": "Kosongkan",
45
+ "button.invoice-counterparty-find": "Cari",
46
+ "text.invoice-counterparty-search": "Cari mengikut nama atau nombor perniagaan",
47
+ "field.invoice-counterparty": "Pihak berurusan",
36
48
  "field.invoice-payment-terms": "Terma pembayaran",
37
49
  "field.invoice-purchase-order": "Pesanan belian",
38
50
  "field.invoice-quantity": "Kuantiti",
@@ -19,6 +19,8 @@
19
19
  "error.invoice-received-purchase-only": "只有收到的采购发票才保留其上所列税额。",
20
20
  "error.invoice-received-tax-required": "收到的发票须逐行填写所列税额。",
21
21
  "error.invoice-void-invalid": "请选择未作废的发票并填写作废原因。",
22
+ "error.invoice-counterparty-not-found": "找不到该往来单位。请重新加载后再选择。",
23
+ "error.invoice-file-not-on-invoice": "该文件不在此发票上。请重新加载后再试。",
22
24
  "field.invoice-bank-details": "收款账户",
23
25
  "field.invoice-buyer-address": "购买方地址",
24
26
  "field.invoice-buyer-name": "购买方",
@@ -32,7 +34,17 @@
32
34
  "field.invoice-language": "单据语言",
33
35
  "field.invoice-line-description": "明细",
34
36
  "field.invoice-notes": "备注",
35
- "field.invoice-number": "单号",
37
+ "field.invoice-number": "发票号",
38
+ "text.invoice-file-remove-confirm": "将删除 {name}。此操作无法撤销。",
39
+ "button.invoice-file-remove": "删除文件",
40
+ "button.invoice-file-photo": "拍照",
41
+ "button.invoice-file-attach": "添加附件",
42
+ "text.invoice-files-none": "没有附件。",
43
+ "text.invoice-section-files": "附件",
44
+ "button.invoice-counterparty-clear": "清除",
45
+ "button.invoice-counterparty-find": "查找",
46
+ "text.invoice-counterparty-search": "按名称或营业执照号查找",
47
+ "field.invoice-counterparty": "往来单位",
36
48
  "field.invoice-payment-terms": "付款条件",
37
49
  "field.invoice-purchase-order": "采购订单号",
38
50
  "field.invoice-quantity": "数量",