add further description to export payments

This commit is contained in:
Omair Saleh
2022-10-19 15:09:33 +08:00
parent 3479aed911
commit b5cba80db9
@@ -109,10 +109,12 @@ class ExportsPaymentTransactions implements FromQuery, WithHeadings, WithHeading
switch($item->reference){
case 'SHIPPING_FEE':
$furtherDescription .= str_replace('X1 Freight Service Charge<br>', '', $item->name)."\n";
break;
case 'OVER_WEIGHT_CHARGES':
case 'MIN_CBM_CHARGES':
$furtherDescription .= $item->name.' '.$item->quantity.' CBM'."\n";
case 'OVER_WEIGHT_CHARGES':
$furtherDescription .= $item->name.' '.$item->quantity.' CBM'."\n";
break;
default:
$furtherDescription .= $item->name.' '.$item->quantity.' X '.$item->price."\n";