master
parent
7f72804ce0
commit
c18348a43d
|
|
@ -35,9 +35,6 @@
|
|||
"phone": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string"
|
||||
},
|
||||
"user_name": {
|
||||
"type": "string"
|
||||
},
|
||||
|
|
@ -70,12 +67,11 @@
|
|||
{ "name": "car_id", "caption": "Машина" },
|
||||
{ "name": "user_id", "caption": "Пользователь" },
|
||||
{ "name": "phone", "caption": "Телефон" },
|
||||
{ "name": "status", "caption": "Статус" },
|
||||
{ "name": "user_name", "caption": "Имя" },
|
||||
{ "name": "user_surname", "caption": "Фамилия" },
|
||||
{ "name": "user_email", "caption": "Email" },
|
||||
{ "name": "started_at", "caption": "Начало" },
|
||||
{ "name": "ended_at", "caption": "Окончания" }
|
||||
{ "name": "ended_at", "caption": "Окончание" }
|
||||
],
|
||||
"action": {
|
||||
"head": [
|
||||
|
|
@ -118,8 +114,7 @@
|
|||
},
|
||||
{
|
||||
"cols": [
|
||||
{ "size": 6, "input": { "name": "phone", "label": "Телефон" } },
|
||||
{ "size": 6, "input": { "name": "status", "label": "Статус" } }
|
||||
{ "size": 6, "input": { "name": "phone", "label": "Телефон" } }
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -136,7 +131,7 @@
|
|||
},
|
||||
{
|
||||
"cols": [
|
||||
{ "size": 6, "input": { "name": "ended_at", "label": "Окончания" } },
|
||||
{ "size": 6, "input": { "name": "ended_at", "label": "Окончание" } },
|
||||
{ "size": 6, "input": { "name": "photos", "label": "Фотографии", "type": "files"} }
|
||||
]
|
||||
}
|
||||
|
|
@ -157,25 +152,20 @@
|
|||
},
|
||||
{
|
||||
"cols": [
|
||||
{ "size": 6, "input": { "name": "phone", "label": "Телефон" } },
|
||||
{ "size": 6, "input": { "name": "status", "label": "Статус" } }
|
||||
{ "size": 4, "input": { "name": "phone", "label": "Телефон" } },
|
||||
{ "size": 4, "input": { "name": "user_name", "label": "Имя" } },
|
||||
{ "size": 4, "input": { "name": "user_surname", "label": "Фамилия" } }
|
||||
]
|
||||
},
|
||||
{
|
||||
"cols": [
|
||||
{ "size": 6, "input": { "name": "user_name", "label": "Имя" } },
|
||||
{ "size": 6, "input": { "name": "user_surname", "label": "Фамилия" } }
|
||||
{ "size": 4, "input": { "name": "user_email", "label": "Email" } },
|
||||
{ "size": 4, "input": { "name": "started_at", "label": "Начало" } },
|
||||
{ "size": 4, "input": { "name": "ended_at", "label": "Окончание" } }
|
||||
]
|
||||
},
|
||||
{
|
||||
"cols": [
|
||||
{ "size": 6, "input": { "name": "user_email", "label": "Email" } },
|
||||
{ "size": 6, "input": { "name": "started_at", "label": "Начало" } }
|
||||
]
|
||||
},
|
||||
{
|
||||
"cols": [
|
||||
{ "size": 6, "input": { "name": "ended_at", "label": "Окончания" } },
|
||||
{ "size": 6, "input": { "name": "photos", "label": "Фотографии", "type": "files"} }
|
||||
]
|
||||
}
|
||||
|
|
@ -200,25 +190,20 @@
|
|||
},
|
||||
{
|
||||
"cols": [
|
||||
{ "size": 6, "input": { "name": "phone", "label": "Телефон" } },
|
||||
{ "size": 6, "input": { "name": "status", "label": "Статус" } }
|
||||
{ "size": 4, "input": { "name": "phone", "label": "Телефон" } },
|
||||
{ "size": 4, "input": { "name": "user_name", "label": "Имя" } },
|
||||
{ "size": 4, "input": { "name": "user_surname", "label": "Фамилия" } }
|
||||
]
|
||||
},
|
||||
{
|
||||
"cols": [
|
||||
{ "size": 6, "input": { "name": "user_name", "label": "Имя" } },
|
||||
{ "size": 6, "input": { "name": "user_surname", "label": "Фамилия" } }
|
||||
{ "size": 4, "input": { "name": "user_email", "label": "Email" } },
|
||||
{ "size": 4, "input": { "name": "started_at", "label": "Начало" } },
|
||||
{ "size": 4, "input": { "name": "ended_at", "label": "Окончание" } }
|
||||
]
|
||||
},
|
||||
{
|
||||
"cols": [
|
||||
{ "size": 6, "input": { "name": "user_email", "label": "Email" } },
|
||||
{ "size": 6, "input": { "name": "started_at", "label": "Начало" } }
|
||||
]
|
||||
},
|
||||
{
|
||||
"cols": [
|
||||
{ "size": 6, "input": { "name": "ended_at", "label": "Окончания" } },
|
||||
{ "size": 6, "input": { "name": "photos", "label": "Фотографии", "type": "files"} }
|
||||
]
|
||||
}
|
||||
|
|
@ -228,24 +213,20 @@
|
|||
"type": "logic",
|
||||
"name": "App.Modules.applications.Logic.Approve",
|
||||
"label": "Подтвердить заявку",
|
||||
"icon": "bi bi-check",
|
||||
"btn": "btn btn-success",
|
||||
"condition": "status,==,pending"
|
||||
},
|
||||
{
|
||||
"type": "logic",
|
||||
"name": "App.Modules.applications.Logic.Extend",
|
||||
"label": "Продлить аренду",
|
||||
"icon": "bi bi-check",
|
||||
"btn": "btn btn-success",
|
||||
"condition": "status,==,approved"
|
||||
"name": "App.Modules.applications.Logic.Cancel",
|
||||
"label": "Отменить заявку",
|
||||
"btn": "btn btn-danger"
|
||||
},
|
||||
{
|
||||
"type": "logic",
|
||||
"name": "App.Modules.applications.Logic.Cancel",
|
||||
"label": "Отменить заявку",
|
||||
"icon": "bi bi-check",
|
||||
"btn": "btn btn-danger"
|
||||
"name": "App.Modules.applications.Logic.Extend",
|
||||
"label": "Продлить аренду",
|
||||
"btn": "btn btn-success"
|
||||
},
|
||||
"struct:crud.form.submit.save",
|
||||
"struct:crud.form.submit.close"
|
||||
|
|
|
|||
Loading…
Reference in New Issue