mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-19 04:23:59 +00:00
export parcel summary
This commit is contained in:
@@ -55,11 +55,11 @@ class ContainersSheet implements WithHeadings, WithHeadingRow, WithMapping, Shou
|
||||
*/
|
||||
public function map($container): array
|
||||
{
|
||||
dd($container);
|
||||
|
||||
$transport = $container->transports()->first();
|
||||
$currentSchedule = $transport ? $transport->schedules()->where('status', '!=', ApprovalStatus::EXPIRED)->first() : null;
|
||||
$scheduleHistory = $transport ? $transport->schedules()->where('status', ApprovalStatus::EXPIRED)->get() : null;
|
||||
|
||||
dd($transport);
|
||||
$status = 'Loaded';
|
||||
|
||||
if($currentSchedule) {
|
||||
|
||||
Reference in New Issue
Block a user