mirror of
https://gitlab.com/omair-personal/izyim.git
synced 2026-08-19 04:14:05 +00:00
large changes
This commit is contained in:
@@ -48,6 +48,7 @@ class ListsOrderHistory
|
||||
foreach ($shippingSchedules as $schedule){
|
||||
if($schedule->status === "2"){
|
||||
$customeIssue = CustomIssues::where('schedule_id', $schedule->id)->first();
|
||||
dd($customeIssue);
|
||||
if($customeIssue !== null){
|
||||
$history->push(['date' => $step->updated_at->format('d-m-Y H:i'), 'description' => '[ETD: '.$schedule->ETD.', ETA: '.$schedule->ETA.'] Shipping Schedule failed due to: '.$customeIssue->remark]);
|
||||
} else {
|
||||
@@ -79,7 +80,7 @@ class ListsOrderHistory
|
||||
$shippingSchedules = $shippingArrangment->shippingSchedule()->get();
|
||||
foreach ($shippingSchedules as $schedule){
|
||||
if($schedule->status === "2"){
|
||||
$customeIssue = CustomIssues::where('schedule_id', $schedule->id)->firstOrFail();
|
||||
$customeIssue = CustomIssues::where('schedule_id', $schedule->id)->first();
|
||||
if($customeIssue !== null){
|
||||
$history->push(['date' => $step->updated_at->format('d-m-Y H:i'), 'description' => '[ETD: '.$schedule->ETD.', ETA: '.$schedule->ETA.'] Shipping Schedule failed due to: '.$customeIssue->remark]);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user