-
Notifications
You must be signed in to change notification settings - Fork 717
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f89f3cb
commit d4ee09f
Showing
10 changed files
with
246 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
schemas/app/inventory/Point of Sale/CashDenominations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "CashDenominations", | ||
"label": "Cash Denominations", | ||
"isAbstract": true, | ||
"fields": [ | ||
{ | ||
"fieldname": "denomination", | ||
"fieldtype": "Currency", | ||
"label": "Denomination", | ||
"placeholder": "Denomination", | ||
"required": true | ||
} | ||
] | ||
} |
7 changes: 7 additions & 0 deletions
7
schemas/app/inventory/Point of Sale/DefaultCashDenominations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "DefaultCashDenominations", | ||
"label": "Default Cash Denominations", | ||
"isChild": true, | ||
"extends": "CashDenominations", | ||
"tableFields": ["denomination"] | ||
} |
17 changes: 17 additions & 0 deletions
17
schemas/app/inventory/Point of Sale/OpeningCashInDenominations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "OpeningCashInDenominations", | ||
"label": "Opening Cash In Denominations", | ||
"isChild": true, | ||
"extends": "CashDenominations", | ||
"fields": [ | ||
{ | ||
"fieldname": "count", | ||
"label": "Count", | ||
"placeholder": "Count", | ||
"fieldtype": "Int", | ||
"default": 0, | ||
"required": true | ||
} | ||
], | ||
"tableFields": ["denomination", "count"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "POSSettings", | ||
"label": "POS Settings", | ||
"isSingle": true, | ||
"isChild": false, | ||
"isSubmittable": true, | ||
"fields": [ | ||
{ | ||
"fieldname": "discountAfterTax", | ||
"label": "Apply Discount After Tax", | ||
"fieldtype": "Check", | ||
"default": false, | ||
"section": "Default" | ||
}, | ||
{ | ||
"fieldname": "hideImages", | ||
"label": "Hide Images", | ||
"fieldtype": "Check", | ||
"default": false, | ||
"section": "Default" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"name": "POSShift", | ||
"isSingle": true, | ||
"isChild": false, | ||
"fields": [ | ||
{ | ||
"fieldname": "isShiftOpen", | ||
"label": "Is POS Shift Open", | ||
"fieldtype": "Check", | ||
"default": false, | ||
"section": "Defaults" | ||
}, | ||
{ | ||
"fieldname": "openingDate", | ||
"label": "Opening Date", | ||
"fieldtype": "Datetime", | ||
"section": "Defaults" | ||
}, | ||
{ | ||
"fieldname": "closingDate", | ||
"label": "Closing Date", | ||
"fieldtype": "Datetime", | ||
"section": "Defaults" | ||
}, | ||
{ | ||
"fieldname": "openingCashAmount", | ||
"label": "Opening Cash Amount", | ||
"fieldtype": "Currency", | ||
"section": "Defaults" | ||
}, | ||
{ | ||
"fieldname": "totalOpeningAmount", | ||
"label": "Opening Amount", | ||
"fieldtype": "Currency", | ||
"section": "Defaults" | ||
}, | ||
{ | ||
"fieldname": "openingCashInDenominations", | ||
"fieldtype": "Table", | ||
"target": "OpeningCashInDenominations", | ||
"section": "Defaults" | ||
}, | ||
{ | ||
"fieldname": "openingAmounts", | ||
"fieldtype": "Table", | ||
"target": "POSShiftOpeningAmounts", | ||
"section": "Defaults" | ||
}, | ||
{ | ||
"fieldname": "closingAmounts", | ||
"fieldtype": "Table", | ||
"target": "POSShiftClosingAmounts", | ||
"section": "Defaults" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"name": "POSShiftAmounts", | ||
"label": "POS Shift Amount", | ||
"isChild": true, | ||
"isAbstract": true, | ||
"fields": [ | ||
{ | ||
"fieldname": "paymentMethod", | ||
"label": "Payment Method", | ||
"placeholder": "Payment Method", | ||
"fieldtype": "Select", | ||
"options": [ | ||
{ | ||
"value": "Cash", | ||
"label": "Cash" | ||
}, | ||
{ | ||
"value": "Transfer", | ||
"label": "Transfer" | ||
} | ||
], | ||
"required": true, | ||
"section": "Details" | ||
} | ||
] | ||
} | ||
|
42 changes: 42 additions & 0 deletions
42
schemas/app/inventory/Point of Sale/POSShiftClosingAmounts.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"name": "POSShiftClosingAmounts", | ||
"label": "Opening Amount", | ||
"isChild": true, | ||
"extends": "POSShiftAmounts", | ||
"fields": [ | ||
{ | ||
"fieldname": "openingAmount", | ||
"fieldtype": "Currency", | ||
"label": "Opening Amount", | ||
"placeholder": "Opening Amount", | ||
"readOnly": true | ||
}, | ||
{ | ||
"fieldname": "closingAmount", | ||
"fieldtype": "Currency", | ||
"label": "Closing Amount", | ||
"placeholder": "Closing Amount" | ||
}, | ||
{ | ||
"fieldname": "expectedAmount", | ||
"fieldtype": "Currency", | ||
"label": "Expected Amount", | ||
"placeholder": "Expected Amount", | ||
"readOnly": true | ||
}, | ||
{ | ||
"fieldname": "differenceAmount", | ||
"fieldtype": "Currency", | ||
"label": "Difference Amount", | ||
"placeholder": "Difference Amount", | ||
"readOnly": true | ||
} | ||
], | ||
"tableFields": [ | ||
"paymentMethod", | ||
"openingAmount", | ||
"closingAmount", | ||
"expectedAmount", | ||
"differenceAmount" | ||
] | ||
} |
15 changes: 15 additions & 0 deletions
15
schemas/app/inventory/Point of Sale/POSShiftOpeningAmounts.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "POSShiftOpeningAmounts", | ||
"label": "Opening Amount", | ||
"isChild": true, | ||
"extends": "POSShiftAmounts", | ||
"fields": [ | ||
{ | ||
"fieldname": "amount", | ||
"label": "Amount", | ||
"fieldtype": "Currency", | ||
"section": "Defaults" | ||
} | ||
], | ||
"tableFields": ["paymentMethod", "amount"] | ||
} |