add further description to export payments

This commit is contained in:
Omair Saleh
2022-10-19 15:07:45 +08:00
parent f05e96725b
commit 3479aed911
@@ -108,7 +108,7 @@ 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>', '')."\n";
$furtherDescription .= str_replace('X1 Freight Service Charge<br>', '', $item->name)."\n";
case 'MIN_CBM_CHARGES':
$furtherDescription .= $item->name.' '.$item->quantity.' CBM'."\n";
case 'OVER_WEIGHT_CHARGES':