@rangka-os/create 0.5.0-alpha.3 → 0.5.0-alpha.5
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rangka-os/create",
|
|
3
|
-
"version": "0.5.0-alpha.
|
|
3
|
+
"version": "0.5.0-alpha.5",
|
|
4
4
|
"description": "Start a Rangka OS project: npm create @rangka-os@latest my-shop",
|
|
5
5
|
"license": "Elastic-2.0",
|
|
6
6
|
"homepage": "https://rangka-os.github.io/rangka-os/guide/quick-start",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# yaml-language-server: $schema=https://rangka-os.github.io/rangka-os/schema/0.5/process.json
|
|
2
|
+
name: lead_to_cash
|
|
3
|
+
label: {id: Dari lead sampai lunas, en: Lead to cash}
|
|
4
|
+
stages:
|
|
5
|
+
- {name: lead_in, label: {id: Lead masuk, en: New lead}, model: lead}
|
|
6
|
+
- {name: deal, label: {id: Peluang, en: Deal}, model: deal}
|
|
7
|
+
- {name: invoice, label: {id: Faktur, en: Invoice}, model: sales_invoice}
|
|
8
|
+
- {name: paid, label: {id: Lunas, en: Paid}, model: sales_invoice, when: "status == 'paid'", models: [payment]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# yaml-language-server: $schema=https://rangka-os.github.io/rangka-os/schema/0.5/process.json
|
|
2
|
+
name: quote_to_cash
|
|
3
|
+
label: {id: Dari penawaran sampai lunas, en: Quote to cash}
|
|
4
|
+
stages:
|
|
5
|
+
- {name: quotation, label: {id: Penawaran, en: Quotation}, model: quotation}
|
|
6
|
+
- {name: order, label: {id: Pesanan, en: Order}, model: customer_order}
|
|
7
|
+
- {name: project, label: {id: Proyek, en: Project}, model: project, models: [assignment, timesheet, acceptance]}
|
|
8
|
+
- {name: invoice, label: {id: Faktur, en: Invoice}, model: sales_invoice}
|
|
9
|
+
- {name: paid, label: {id: Lunas, en: Paid}, model: sales_invoice, when: "status == 'paid'", models: [payment, payment_allocation, withholding]}
|
|
@@ -18,8 +18,7 @@ fields:
|
|
|
18
18
|
- name: expires_on
|
|
19
19
|
type: date
|
|
20
20
|
label: {id: Berlaku sampai}
|
|
21
|
-
#
|
|
22
|
-
# recompute), noted in docs/kernel-hooks.md.
|
|
21
|
+
# Reads today(), so the kernel recomputes it on every read: it turns true once expires_on passes, without a save.
|
|
23
22
|
- name: expired
|
|
24
23
|
type: check
|
|
25
24
|
label: {id: Kedaluwarsa}
|
|
@@ -12,8 +12,8 @@ uom:
|
|
|
12
12
|
- {name: UOM-011, uom_name: Pak}
|
|
13
13
|
- {name: UOM-012, uom_name: Botol}
|
|
14
14
|
outlet:
|
|
15
|
-
- {name: OUT-01,
|
|
16
|
-
- {name: OUT-02, code: BTR, city: Tangerang Selatan
|
|
15
|
+
- {name: OUT-01, outlet_name: Kopi Senja · Kemang, code: KMG, city: Jakarta Selatan}
|
|
16
|
+
- {name: OUT-02, outlet_name: Kopi Senja · Bintaro, code: BTR, city: Tangerang Selatan}
|
|
17
17
|
customer:
|
|
18
18
|
- name: CUST-0012
|
|
19
19
|
customer_name: CV Maju Jaya
|