ternary issue solved for mail status column on request approval Get API method
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Gemini PR Review / Gemini PR Review (pull_request) Has been cancelled
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Has been cancelled
Laravel Larastan / larastan (pull_request) Has been cancelled
Laravel Pint / pint (pull_request) Has been cancelled
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Gemini PR Review / Gemini PR Review (pull_request) Has been cancelled
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Has been cancelled
Laravel Larastan / larastan (pull_request) Has been cancelled
Laravel Pint / pint (pull_request) Has been cancelled
This commit is contained in:
@@ -5160,7 +5160,7 @@ class CharacteristicsController extends Controller
|
|||||||
'approver_status_3' => $row->approver_status3 ?? '',
|
'approver_status_3' => $row->approver_status3 ?? '',
|
||||||
'approver_remark_3' => $row->approver_remark3 ?? '',
|
'approver_remark_3' => $row->approver_remark3 ?? '',
|
||||||
'approved_at_3' => $row->approved3_at ?? '', // ? $row->approved3_at->format('d-m-Y H:i:s') : '',
|
'approved_at_3' => $row->approved3_at ?? '', // ? $row->approved3_at->format('d-m-Y H:i:s') : '',
|
||||||
'mail_status' => ($row->mail_status == 'Sent') ? 'Sent-M1' : ($row->mail_status == 'Sent-Mail2') ? 'Sent-M2' : ($row->mail_status == 'Sent-Mail3') ? 'Sent-M2' : '-',
|
'mail_status' => ($row->mail_status == 'Sent') ? 'Sent-M1' : (($row->mail_status == 'Sent-Mail2') ? 'Sent-M2' : (($row->mail_status == 'Sent-Mail3') ? 'Sent-M3' : '-')),
|
||||||
'triggered_at' => $row->trigger_at ?? '',
|
'triggered_at' => $row->trigger_at ?? '',
|
||||||
'requested_by' => ($row->created_by == 'Admin') ? 'jothi' : $row->created_by ?? '',
|
'requested_by' => ($row->created_by == 'Admin') ? 'jothi' : $row->created_by ?? '',
|
||||||
'requested_at' => $row->created_at ? $row->created_at->format('Y-m-d H:i:s') : '',
|
'requested_at' => $row->created_at ? $row->created_at->format('Y-m-d H:i:s') : '',
|
||||||
@@ -5193,7 +5193,7 @@ class CharacteristicsController extends Controller
|
|||||||
'approver_status_3' => $row->approver_status3 ?? '',
|
'approver_status_3' => $row->approver_status3 ?? '',
|
||||||
'approver_remark_3' => $row->approver_remark3 ?? '',
|
'approver_remark_3' => $row->approver_remark3 ?? '',
|
||||||
'approved_at_3' => $row->approved3_at ?? '', // ? $row->approved3_at->format('d-m-Y H:i:s') : '',
|
'approved_at_3' => $row->approved3_at ?? '', // ? $row->approved3_at->format('d-m-Y H:i:s') : '',
|
||||||
'mail_status' => ($row->mail_status == 'Sent') ? 'Sent-M1' : ($row->mail_status == 'Sent-Mail2') ? 'Sent-M2' : ($row->mail_status == 'Sent-Mail3') ? 'Sent-M2' : '-',
|
'mail_status' => ($row->mail_status == 'Sent') ? 'Sent-M1' : (($row->mail_status == 'Sent-Mail2') ? 'Sent-M2' : (($row->mail_status == 'Sent-Mail3') ? 'Sent-M3' : '-')),
|
||||||
'triggered_at' => $row->trigger_at ?? '',
|
'triggered_at' => $row->trigger_at ?? '',
|
||||||
'requested_by' => ($row->created_by == 'Admin') ? 'jothi' : $row->created_by ?? '',
|
'requested_by' => ($row->created_by == 'Admin') ? 'jothi' : $row->created_by ?? '',
|
||||||
'requested_at' => $row->created_at ? $row->created_at->format('Y-m-d H:i:s') : '',
|
'requested_at' => $row->created_at ? $row->created_at->format('Y-m-d H:i:s') : '',
|
||||||
|
|||||||
Reference in New Issue
Block a user