contract obligation complete and accept api

This commit is contained in:
glovetleong
2021-07-27 13:36:51 +08:00
parent 7f209db917
commit 93b13a8f46
17 changed files with 550 additions and 20 deletions
+16
View File
@@ -11,6 +11,7 @@
'entity' => [
'signature' => [
'master_key' => 1,
'normal_key' => 2,
],
'status' => [
'active' => 1,
@@ -50,6 +51,7 @@
'status' => [
'active' => 1,
'delete' => 2,
'done' => 3,
'pending' => 9
]
],
@@ -61,6 +63,20 @@
]
],
'contract_obligation' => [
'must_complete' => [
'complete' => 1,
'no_need_complete' => 2,
],
'must_accept' => [
'accept' => 1,
'no_need_accept' => 2,
],
'status' => [
'active' => 1,
'delete' => 2,
'done' => 3,
'pending' => 9
],
'complete_status' => [
'pending' => 9,
'delete' => 2,
+4
View File
@@ -14,6 +14,10 @@
'date' => 'DATE_INVALID',
'confirmed' => 'CONFIRM_ERROR',
'obligation_depend_error' => 'OBLIGATION_DEPEND_ERROR',
'obligation_signature_error' => 'OBLIGATION_SIGNATURE_ERROR',
'contract_obligation_done_error' => 'CONTRACT_OBLIGATION_DONE_ERROR',
'contract_obligation_complete_error' => 'CONTRACT_OBLIGATION_COMPLETE_ERROR',
'contract_done_error' => 'CONTRACT_DONE_ERROR',
'status_error' => 'STATUS_ERROR',
'min' => [
'string' => 'MIN_ERROR_:min',