- Updated financial_core.py - Updated models/receivables.json - Added mysql.ddl.sql - Added API files: debug_receivables, receivables CRUD, test_env - Added UI files: financial_vouchers, index, payments, receipts, receivable_edit, receivables
212 lines
7.9 KiB
XML
212 lines
7.9 KiB
XML
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"width": "100%",
|
|
"height": "100%",
|
|
"padding": "20px",
|
|
"backgroundColor": "#F9FAFB"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"label": "Financial Management",
|
|
"fontSize": "24px",
|
|
"fontWeight": "bold",
|
|
"color": "#1E40AF",
|
|
"marginBottom": "20px"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "ResponsableBox",
|
|
"options": {
|
|
"gap": "16px",
|
|
"minWidth": "250px"
|
|
},
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"backgroundColor": "#FFFFFF",
|
|
"borderRadius": "8px",
|
|
"padding": "20px",
|
|
"boxShadow": "0 1px 3px rgba(0,0,0,0.1)",
|
|
"cursor": "pointer"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.financial_content",
|
|
"options": {
|
|
"url": "{{entire_url('receivables.ui')}}"
|
|
},
|
|
"mode": "replace"
|
|
}
|
|
],
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"label": "Receivables",
|
|
"fontSize": "18px",
|
|
"fontWeight": "bold",
|
|
"color": "#1E40AF"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"label": "Manage accounts receivable",
|
|
"fontSize": "14px",
|
|
"color": "#6B7280",
|
|
"marginTop": "8px"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"backgroundColor": "#FFFFFF",
|
|
"borderRadius": "8px",
|
|
"padding": "20px",
|
|
"boxShadow": "0 1px 3px rgba(0,0,0,0.1)",
|
|
"cursor": "pointer"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.financial_content",
|
|
"options": {
|
|
"url": "{{entire_url('receipts.ui')}}"
|
|
},
|
|
"mode": "replace"
|
|
}
|
|
],
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"label": "Receipts",
|
|
"fontSize": "18px",
|
|
"fontWeight": "bold",
|
|
"color": "#059669"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"label": "Manage incoming payments",
|
|
"fontSize": "14px",
|
|
"color": "#6B7280",
|
|
"marginTop": "8px"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"backgroundColor": "#FFFFFF",
|
|
"borderRadius": "8px",
|
|
"padding": "20px",
|
|
"boxShadow": "0 1px 3px rgba(0,0,0,0.1)",
|
|
"cursor": "pointer"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.financial_content",
|
|
"options": {
|
|
"url": "{{entire_url('payments.ui')}}"
|
|
},
|
|
"mode": "replace"
|
|
}
|
|
],
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"label": "Payments",
|
|
"fontSize": "18px",
|
|
"fontWeight": "bold",
|
|
"color": "#D97706"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"label": "Manage outgoing payments",
|
|
"fontSize": "14px",
|
|
"color": "#6B7280",
|
|
"marginTop": "8px"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"options": {
|
|
"backgroundColor": "#FFFFFF",
|
|
"borderRadius": "8px",
|
|
"padding": "20px",
|
|
"boxShadow": "0 1px 3px rgba(0,0,0,0.1)",
|
|
"cursor": "pointer"
|
|
},
|
|
"binds": [
|
|
{
|
|
"wid": "self",
|
|
"event": "click",
|
|
"actiontype": "urlwidget",
|
|
"target": "app.financial_content",
|
|
"options": {
|
|
"url": "{{entire_url('financial_vouchers.ui')}}"
|
|
},
|
|
"mode": "replace"
|
|
}
|
|
],
|
|
"subwidgets": [
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"label": "Vouchers",
|
|
"fontSize": "18px",
|
|
"fontWeight": "bold",
|
|
"color": "#7C3AED"
|
|
}
|
|
},
|
|
{
|
|
"widgettype": "Text",
|
|
"options": {
|
|
"label": "Financial vouchers",
|
|
"fontSize": "14px",
|
|
"color": "#6B7280",
|
|
"marginTop": "8px"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"widgettype": "VBox",
|
|
"id": "financial_content",
|
|
"options": {
|
|
"width": "100%",
|
|
"flex": "1",
|
|
"marginTop": "20px",
|
|
"backgroundColor": "#FFFFFF",
|
|
"borderRadius": "8px",
|
|
"padding": "20px",
|
|
"boxShadow": "0 1px 3px rgba(0,0,0,0.1)"
|
|
}
|
|
}
|
|
]
|
|
}
|