mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
add further description to export payments
This commit is contained in:
@@ -108,13 +108,13 @@ class ExportsPaymentTransactions implements FromQuery, WithHeadings, WithHeading
|
||||
foreach ($transaction->transactionDetails as $item){
|
||||
switch($item->reference){
|
||||
case 'SHIPPING_FEE':
|
||||
$furtherDescription .= str_replace($item->name, 'X1 Freight Service Charge<br>', '').'\r\n';
|
||||
$furtherDescription .= str_replace($item->name, 'X1 Freight Service Charge<br>', '')."\n";
|
||||
case 'MIN_CBM_CHARGES':
|
||||
$furtherDescription .= $item->name.' '.$item->quantity.' CBM'.'\r\n';
|
||||
$furtherDescription .= $item->name.' '.$item->quantity.' CBM'."\n";
|
||||
case 'OVER_WEIGHT_CHARGES':
|
||||
$furtherDescription .= $item->name.' '.$item->quantity.' CBM'.'\r\n';
|
||||
$furtherDescription .= $item->name.' '.$item->quantity.' CBM'."\n";
|
||||
default:
|
||||
$furtherDescription .= $item->name.' '.$item->quantity.' X '.$item->price.'\r\n';
|
||||
$furtherDescription .= $item->name.' '.$item->quantity.' X '.$item->price."\n";
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user