@things-factory/sales 10.1.233 → 10.1.235
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/dist-client/pages/opportunity-editor.js +3 -1
- package/dist-client/pages/opportunity-editor.js.map +1 -1
- package/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-server/service/opportunity/opportunity-event.js +1 -1
- package/dist-server/service/opportunity/opportunity-event.js.map +1 -1
- package/dist-server/service/opportunity/opportunity-service.d.ts +6 -0
- package/dist-server/service/opportunity/opportunity-service.js +20 -1
- package/dist-server/service/opportunity/opportunity-service.js.map +1 -1
- package/dist-server/service/opportunity/opportunity-type.js +1 -1
- package/dist-server/service/opportunity/opportunity-type.js.map +1 -1
- package/dist-server/service/sales-product/sales-product-service.js +3 -0
- package/dist-server/service/sales-product/sales-product-service.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -7
- package/translations/en.json +6 -2
- package/translations/es.json +6 -2
- package/translations/ja.json +6 -2
- package/translations/ko.json +6 -2
- package/translations/ms.json +6 -2
- package/translations/zh.json +6 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/sales",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.235",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "dist-client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"@operato/shell": "^10.0.0",
|
|
40
40
|
"@operato/styles": "^10.29.1",
|
|
41
41
|
"@operato/utils": "^10.0.0",
|
|
42
|
-
"@things-factory/ai-assistant": "^10.1.
|
|
43
|
-
"@things-factory/auth-base": "^10.1.
|
|
44
|
-
"@things-factory/biz-base": "^10.1.
|
|
45
|
-
"@things-factory/invoice": "^10.1.
|
|
46
|
-
"@things-factory/shell": "^10.1.
|
|
42
|
+
"@things-factory/ai-assistant": "^10.1.234",
|
|
43
|
+
"@things-factory/auth-base": "^10.1.234",
|
|
44
|
+
"@things-factory/biz-base": "^10.1.234",
|
|
45
|
+
"@things-factory/invoice": "^10.1.234",
|
|
46
|
+
"@things-factory/shell": "^10.1.234"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "749cee206d50d3f506a09b3aaddf8d1dcffc6e9c"
|
|
49
49
|
}
|
package/translations/en.json
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"error.opportunity-name-required": "Enter the opportunity name.",
|
|
52
52
|
"error.opportunity-amount-invalid": "The expected amount must be zero or more.",
|
|
53
53
|
"error.opportunity-close-month-invalid": "Enter the expected month.",
|
|
54
|
-
"error.opportunity-probability-invalid": "
|
|
54
|
+
"error.opportunity-probability-invalid": "A probability of {value} cannot be kept. Enter a whole number from {min} to {max}.",
|
|
55
55
|
"error.opportunity-counterparty-required": "Choose the counterparty.",
|
|
56
56
|
"error.opportunity-end-customer-invalid": "Choose the end customer among the registered counterparties.",
|
|
57
57
|
"error.opportunity-owner-invalid": "Choose the owner among this company's users.",
|
|
@@ -130,8 +130,12 @@
|
|
|
130
130
|
"error.sales-product-name-required": "Name the product.",
|
|
131
131
|
"error.sales-product-code-duplicate": "Product code {code} is already in use.",
|
|
132
132
|
"error.sales-product-price-invalid": "The price is zero or more.",
|
|
133
|
+
"error.sales-product-price-decimals": "Unit price {value} has more than {max} decimals.",
|
|
133
134
|
"error.sales-product-not-found": "A product was not found - reload and try again.",
|
|
134
135
|
"text.quotation-invoice-source": "Quotation {number} · v{version}",
|
|
135
136
|
"text.quotation-send-confirm": "To {party} · total {total}. Once sent, its amounts cannot be changed - revise it to change them.",
|
|
136
|
-
"text.quotation-send-confirm-purchase": "From {party} · total {total}. Once sent, its amounts cannot be changed - revise it to change them."
|
|
137
|
+
"text.quotation-send-confirm-purchase": "From {party} · total {total}. Once sent, its amounts cannot be changed - revise it to change them.",
|
|
138
|
+
"error.opportunity-not-won": "Only a won opportunity is opened again this way.",
|
|
139
|
+
"error.opportunity-reopen-reason-required": "Enter why it is opened again.",
|
|
140
|
+
"text.opportunity-event-reopened": "Reopened"
|
|
137
141
|
}
|
package/translations/es.json
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"error.opportunity-name-required": "Introduzca el nombre de la oportunidad.",
|
|
52
52
|
"error.opportunity-amount-invalid": "El importe previsto debe ser cero o más.",
|
|
53
53
|
"error.opportunity-close-month-invalid": "Introduzca el mes previsto.",
|
|
54
|
-
"error.opportunity-probability-invalid": "
|
|
54
|
+
"error.opportunity-probability-invalid": "No se puede guardar una probabilidad de {value}. Introduzca un número entero de {min} a {max}.",
|
|
55
55
|
"error.opportunity-counterparty-required": "Elija la contraparte.",
|
|
56
56
|
"error.opportunity-end-customer-invalid": "Elija el cliente final entre las contrapartes registradas.",
|
|
57
57
|
"error.opportunity-owner-invalid": "Elija el responsable entre los usuarios de esta empresa.",
|
|
@@ -130,8 +130,12 @@
|
|
|
130
130
|
"error.sales-product-name-required": "Indique el nombre del producto.",
|
|
131
131
|
"error.sales-product-code-duplicate": "El código de producto {code} ya está en uso.",
|
|
132
132
|
"error.sales-product-price-invalid": "El precio debe ser cero o más.",
|
|
133
|
+
"error.sales-product-price-decimals": "El precio unitario {value} tiene más de {max} decimales.",
|
|
133
134
|
"error.sales-product-not-found": "No se encontró un producto; recargue e inténtelo de nuevo.",
|
|
134
135
|
"text.quotation-invoice-source": "Cotización {number} · v{version}",
|
|
135
136
|
"text.quotation-send-confirm": "Para {party} · total {total}. Una vez enviada, sus importes no se pueden cambiar; revísela para cambiarlos.",
|
|
136
|
-
"text.quotation-send-confirm-purchase": "De {party} · total {total}. Una vez enviada, sus importes no se pueden cambiar; revísela para cambiarlos."
|
|
137
|
+
"text.quotation-send-confirm-purchase": "De {party} · total {total}. Una vez enviada, sus importes no se pueden cambiar; revísela para cambiarlos.",
|
|
138
|
+
"error.opportunity-not-won": "Solo una oportunidad ganada se reabre así.",
|
|
139
|
+
"error.opportunity-reopen-reason-required": "Indique por qué se reabre.",
|
|
140
|
+
"text.opportunity-event-reopened": "Reabierta"
|
|
137
141
|
}
|
package/translations/ja.json
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"error.opportunity-name-required": "商談名を入力してください。",
|
|
52
52
|
"error.opportunity-amount-invalid": "見込金額は0以上にしてください。",
|
|
53
53
|
"error.opportunity-close-month-invalid": "受注見込月を入力してください。",
|
|
54
|
-
"error.opportunity-probability-invalid": "
|
|
54
|
+
"error.opportunity-probability-invalid": "確度 {value} は使えません。{min}から{max}までの整数で入力してください。",
|
|
55
55
|
"error.opportunity-counterparty-required": "取引先を選んでください。",
|
|
56
56
|
"error.opportunity-end-customer-invalid": "エンド顧客は登録済みの取引先から選んでください。",
|
|
57
57
|
"error.opportunity-owner-invalid": "担当者はこの会社のユーザーから選んでください。",
|
|
@@ -130,8 +130,12 @@
|
|
|
130
130
|
"error.sales-product-name-required": "商品名を入力してください。",
|
|
131
131
|
"error.sales-product-code-duplicate": "商品コード{code}はすでに使われています。",
|
|
132
132
|
"error.sales-product-price-invalid": "単価は0以上にしてください。",
|
|
133
|
+
"error.sales-product-price-decimals": "単価 {value} は小数点以下{max}桁までです。",
|
|
133
134
|
"error.sales-product-not-found": "商品が見つかりません。再読み込みしてやり直してください。",
|
|
134
135
|
"text.quotation-invoice-source": "見積 {number} · v{version}",
|
|
135
136
|
"text.quotation-send-confirm": "送付先 {party} · 合計 {total}。送付後は金額を変更できません。変更するには改訂します。",
|
|
136
|
-
"text.quotation-send-confirm-purchase": "送付元 {party} · 合計 {total}。送付後は金額を変更できません。変更するには改訂します。"
|
|
137
|
+
"text.quotation-send-confirm-purchase": "送付元 {party} · 合計 {total}。送付後は金額を変更できません。変更するには改訂します。",
|
|
138
|
+
"error.opportunity-not-won": "受注した商談だけをこの方法で再開できます。",
|
|
139
|
+
"error.opportunity-reopen-reason-required": "再開する理由を入力してください。",
|
|
140
|
+
"text.opportunity-event-reopened": "再開"
|
|
137
141
|
}
|
package/translations/ko.json
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"error.opportunity-name-required": "기회 이름을 입력하세요.",
|
|
52
52
|
"error.opportunity-amount-invalid": "예상 금액은 0 이상이어야 합니다.",
|
|
53
53
|
"error.opportunity-close-month-invalid": "예상 수주월을 입력하세요.",
|
|
54
|
-
"error.opportunity-probability-invalid": "
|
|
54
|
+
"error.opportunity-probability-invalid": "확률 {value}은(는) 쓸 수 없습니다. {min}부터 {max}까지의 정수로 입력하세요.",
|
|
55
55
|
"error.opportunity-counterparty-required": "거래처를 선택해 주세요.",
|
|
56
56
|
"error.opportunity-end-customer-invalid": "등록된 거래처에서 최종 고객을 선택해 주세요.",
|
|
57
57
|
"error.opportunity-owner-invalid": "이 회사에 등록된 사용자 중에서 담당자를 선택해 주세요.",
|
|
@@ -130,8 +130,12 @@
|
|
|
130
130
|
"error.sales-product-name-required": "상품명을 입력해 주세요.",
|
|
131
131
|
"error.sales-product-code-duplicate": "상품 코드 {code}는 이미 쓰고 있습니다.",
|
|
132
132
|
"error.sales-product-price-invalid": "단가는 0 이상이어야 합니다.",
|
|
133
|
+
"error.sales-product-price-decimals": "단가 {value}은(는) 소수점 아래 {max}자리까지만 쓸 수 있습니다.",
|
|
133
134
|
"error.sales-product-not-found": "상품을 찾을 수 없습니다. 새로 고친 뒤 다시 해 주세요.",
|
|
134
135
|
"text.quotation-invoice-source": "견적 {number} · v{version}",
|
|
135
136
|
"text.quotation-send-confirm": "받는 곳 {party} · 합계 {total}. 보낸 뒤에는 금액을 고칠 수 없습니다 — 고치려면 새 버전을 만듭니다.",
|
|
136
|
-
"text.quotation-send-confirm-purchase": "보낸 곳 {party} · 합계 {total}. 보낸 뒤에는 금액을 고칠 수 없습니다 — 고치려면 새 버전을 만듭니다."
|
|
137
|
+
"text.quotation-send-confirm-purchase": "보낸 곳 {party} · 합계 {total}. 보낸 뒤에는 금액을 고칠 수 없습니다 — 고치려면 새 버전을 만듭니다.",
|
|
138
|
+
"error.opportunity-not-won": "수주한 영업 기회만 이렇게 다시 열 수 있습니다.",
|
|
139
|
+
"error.opportunity-reopen-reason-required": "다시 여는 사유를 입력하세요.",
|
|
140
|
+
"text.opportunity-event-reopened": "다시 열림"
|
|
137
141
|
}
|
package/translations/ms.json
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"error.opportunity-name-required": "Masukkan nama peluang.",
|
|
52
52
|
"error.opportunity-amount-invalid": "Jumlah dijangka mestilah sifar atau lebih.",
|
|
53
53
|
"error.opportunity-close-month-invalid": "Masukkan bulan dijangka.",
|
|
54
|
-
"error.opportunity-probability-invalid": "Kebarangkalian
|
|
54
|
+
"error.opportunity-probability-invalid": "Kebarangkalian {value} tidak boleh disimpan. Masukkan nombor bulat dari {min} hingga {max}.",
|
|
55
55
|
"error.opportunity-counterparty-required": "Pilih pihak berurusan.",
|
|
56
56
|
"error.opportunity-end-customer-invalid": "Pilih pelanggan akhir daripada pihak berurusan yang didaftarkan.",
|
|
57
57
|
"error.opportunity-owner-invalid": "Pilih pemilik daripada pengguna syarikat ini.",
|
|
@@ -130,8 +130,12 @@
|
|
|
130
130
|
"error.sales-product-name-required": "Namakan produk.",
|
|
131
131
|
"error.sales-product-code-duplicate": "Kod produk {code} sudah digunakan.",
|
|
132
132
|
"error.sales-product-price-invalid": "Harga mestilah sifar atau lebih.",
|
|
133
|
+
"error.sales-product-price-decimals": "Harga seunit {value} melebihi {max} tempat perpuluhan.",
|
|
133
134
|
"error.sales-product-not-found": "Produk tidak ditemui - muat semula dan cuba lagi.",
|
|
134
135
|
"text.quotation-invoice-source": "Sebut harga {number} · v{version}",
|
|
135
136
|
"text.quotation-send-confirm": "Kepada {party} · jumlah {total}. Selepas dihantar, amaunnya tidak boleh diubah - semak semula untuk mengubahnya.",
|
|
136
|
-
"text.quotation-send-confirm-purchase": "Daripada {party} · jumlah {total}. Selepas dihantar, amaunnya tidak boleh diubah - semak semula untuk mengubahnya."
|
|
137
|
+
"text.quotation-send-confirm-purchase": "Daripada {party} · jumlah {total}. Selepas dihantar, amaunnya tidak boleh diubah - semak semula untuk mengubahnya.",
|
|
138
|
+
"error.opportunity-not-won": "Hanya peluang yang dimenangi boleh dibuka semula begini.",
|
|
139
|
+
"error.opportunity-reopen-reason-required": "Masukkan sebab ia dibuka semula.",
|
|
140
|
+
"text.opportunity-event-reopened": "Dibuka semula"
|
|
137
141
|
}
|
package/translations/zh.json
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"error.opportunity-name-required": "请输入商机名称。",
|
|
52
52
|
"error.opportunity-amount-invalid": "预计金额须为0或以上。",
|
|
53
53
|
"error.opportunity-close-month-invalid": "请输入预计成交月份。",
|
|
54
|
-
"error.opportunity-probability-invalid": "
|
|
54
|
+
"error.opportunity-probability-invalid": "概率 {value} 无法保存。请输入 {min} 到 {max} 之间的整数。",
|
|
55
55
|
"error.opportunity-counterparty-required": "请选择往来单位。",
|
|
56
56
|
"error.opportunity-end-customer-invalid": "请从已登记的往来单位中选择最终客户。",
|
|
57
57
|
"error.opportunity-owner-invalid": "请从本公司用户中选择负责人。",
|
|
@@ -130,8 +130,12 @@
|
|
|
130
130
|
"error.sales-product-name-required": "请输入商品名称。",
|
|
131
131
|
"error.sales-product-code-duplicate": "商品编码 {code} 已被使用。",
|
|
132
132
|
"error.sales-product-price-invalid": "单价须大于或等于0。",
|
|
133
|
+
"error.sales-product-price-decimals": "单价 {value} 最多保留 {max} 位小数。",
|
|
133
134
|
"error.sales-product-not-found": "未找到商品,请刷新后重试。",
|
|
134
135
|
"text.quotation-invoice-source": "报价 {number} · v{version}",
|
|
135
136
|
"text.quotation-send-confirm": "收件方 {party} · 合计 {total}。发送后金额不可更改,如需更改请修订。",
|
|
136
|
-
"text.quotation-send-confirm-purchase": "发件方 {party} · 合计 {total}。发送后金额不可更改,如需更改请修订。"
|
|
137
|
+
"text.quotation-send-confirm-purchase": "发件方 {party} · 合计 {total}。发送后金额不可更改,如需更改请修订。",
|
|
138
|
+
"error.opportunity-not-won": "只有赢单的商机可以这样重新打开。",
|
|
139
|
+
"error.opportunity-reopen-reason-required": "请输入重新打开的原因。",
|
|
140
|
+
"text.opportunity-event-reopened": "重新打开"
|
|
137
141
|
}
|