mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-22 14:04:01 +00:00
Merge branch 'dillon/74-admin-workflow' into vapor/development
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ class FetchAdminWFPendingApprovalPOLogic extends AbstractControllerLogic
|
||||
$query->where('key', 'approve_po_admin_workflow_processed')
|
||||
->orWhere(function ($query) {
|
||||
$query->where('key', 'approve_po_admin_workflow_processing')
|
||||
->where('updated_at', '>', Carbon::now()->subHour());
|
||||
->where('updated_at', '>', Carbon::now()->subMinutes(30));
|
||||
});
|
||||
})
|
||||
->pluck('owner_id')
|
||||
|
||||
+8
-8
@@ -129,14 +129,14 @@ class UpdateNextQuestionV1AdminWFLogic extends AbstractControllerLogic
|
||||
$key1 = '1688_'.$key1;
|
||||
$key2 = '1688_'.$key2;
|
||||
}
|
||||
if (strpos($currentQuestion['question_number'], 'fill_po') === 0) {
|
||||
$key1 = 'fill_po_'.$key1;
|
||||
$key2 = 'fill_po_'.$key2;
|
||||
}
|
||||
if (strpos($currentQuestion['question_number'], 'approve_po') === 0) {
|
||||
$key1 = 'approve_po_'.$key1;
|
||||
$key2 = 'approve_po_'.$key2;
|
||||
}
|
||||
// if (strpos($currentQuestion['question_number'], 'fill_po') === 0) {
|
||||
// $key1 = 'fill_po_'.$key1;
|
||||
// $key2 = 'fill_po_'.$key2;
|
||||
// }
|
||||
// if (strpos($currentQuestion['question_number'], 'approve_po') === 0) {
|
||||
// $key1 = 'approve_po_'.$key1;
|
||||
// $key2 = 'approve_po_'.$key2;
|
||||
// }
|
||||
|
||||
$processingRecord = $booking->attributesKVP()->where('key', $key2)->first();
|
||||
if ($processingRecord) {
|
||||
|
||||
@@ -14,9 +14,6 @@ export default {
|
||||
getListDetails: (state) => (name) => {
|
||||
return state.queue.find(list => list.name === name);
|
||||
},
|
||||
// getListData: (state, getters) => (name) => {
|
||||
// return (!getters.isInCompleteQueue()) ? state.queue.find(list => list.name === name).data : [];
|
||||
// },
|
||||
getListData: (state, getters) => (name) => {
|
||||
if (!getters.isInCompleteQueue(name)) {
|
||||
const list = state.queue.find(list => list.name === name);
|
||||
|
||||
Reference in New Issue
Block a user