|
@@ -99,7 +99,8 @@ function getRowsByCompany($id_company, $week_number = null)
|
|
|
LIMIT 1) bol_delivered,
|
|
LIMIT 1) bol_delivered,
|
|
|
|
|
|
|
|
dispatch_reference,
|
|
dispatch_reference,
|
|
|
- ctns, weight, cube
|
|
|
|
|
|
|
+ ctns, weight, cube,
|
|
|
|
|
+ DATE_FORMAT(file.date_processed, '%m/%d/%Y %h:%i %p') date_processed
|
|
|
|
|
|
|
|
FROM file_row
|
|
FROM file_row
|
|
|
INNER JOIN file USING(id_file)
|
|
INNER JOIN file USING(id_file)
|
|
@@ -162,7 +163,9 @@ function getRowsByCompanyCSV($id_company, $f, $week_number = null)
|
|
|
'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
|
|
'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
|
|
|
'Dispatch Refere',
|
|
'Dispatch Refere',
|
|
|
'', '', '', '', '', '', '', '',
|
|
'', '', '', '', '', '', '', '',
|
|
|
- 'Ctns', 'Weight', 'Cube');
|
|
|
|
|
|
|
+ 'Ctns', 'Weight', 'Cube',
|
|
|
|
|
+ '',
|
|
|
|
|
+ 'Acknowledged');
|
|
|
|
|
|
|
|
fputcsv($f, $headers);
|
|
fputcsv($f, $headers);
|
|
|
|
|
|
|
@@ -175,7 +178,9 @@ function getRowsByCompanyCSV($id_company, $f, $week_number = null)
|
|
|
'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
|
|
'', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '',
|
|
|
$row['dispatch_reference'],
|
|
$row['dispatch_reference'],
|
|
|
'', '', '', '', '', '', '', '',
|
|
'', '', '', '', '', '', '', '',
|
|
|
- $row['ctns'], $row['weight'], $row['cube']
|
|
|
|
|
|
|
+ $row['ctns'], $row['weight'], $row['cube'],
|
|
|
|
|
+ '',
|
|
|
|
|
+ $row['date_processed']
|
|
|
));
|
|
));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|