Approval flow
- An employee creates a request and attaches invoices/photos of supporting documents.
- The department head approves; amounts above the limit go to the director.
- Accounting pays out and marks it as paid.
Data structure
{
"dinhDang": "octax-miniapp",
"phienBan": "0.1",
"nguon": "OctaX.vn (CC BY 4.0)",
"ten": "Đề nghị thanh toán",
"bang": [
{
"ma": "DE_NGHI",
"ten": "Đề nghị",
"cot": [
[
"SO",
"chuoi",
true
],
[
"NGAY",
"ngay",
true
],
[
"NGUOI_DE_NGHI",
"nguoi_dung",
true
],
[
"SO_TIEN",
"tien",
true
],
[
"NOI_DUNG",
"chuoi",
true
],
[
"CHUNG_TU",
"tep",
false
],
[
"TRANG_THAI",
"chon:CHO_DUYET,DA_DUYET,TU_CHOI,DA_CHI",
true
]
]
},
{
"ma": "DUYET",
"ten": "Lịch sử duyệt",
"cot": [
[
"SO",
"lien_ket:DE_NGHI",
true
],
[
"CAP",
"so",
true
],
[
"NGUOI_DUYET",
"nguoi_dung",
true
],
[
"KET_QUA",
"chon:DUYET,TU_CHOI",
true
],
[
"Y_KIEN",
"chuoi",
false
]
]
}
],
"quy_trinh": [
{
"cap": 1,
"vai_tro": "TRUONG_PHONG"
},
{
"cap": 2,
"vai_tro": "GIAM_DOC",
"khi": "SO_TIEN > 20000000"
},
{
"cap": 3,
"vai_tro": "KE_TOAN",
"viec": "chi"
}
],
"man_hinh": [
"Lập đề nghị",
"Chờ tôi duyệt",
"Đề nghị của tôi",
"Sổ đã chi"
],
"quyen": {
"NHAN_VIEN": [
"lap"
],
"TRUONG_PHONG": [
"duyet"
],
"GIAM_DOC": [
"duyet"
],
"KE_TOAN": [
"chi",
"xem"
]
}
}The octax-miniapp 0.1 format is a proposal; the button to import templates into MiniApp Builder will be available once the platform supports it.


