diff --git a/app/Classes/Modules/Exports/Services/ExportsPaymentTransactions.php b/app/Classes/Modules/Exports/Services/ExportsPaymentTransactions.php index cfdddb40..a0cd1d3e 100644 --- a/app/Classes/Modules/Exports/Services/ExportsPaymentTransactions.php +++ b/app/Classes/Modules/Exports/Services/ExportsPaymentTransactions.php @@ -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
', '')."\n"; + $furtherDescription .= str_replace('X1 Freight Service Charge
', '', $item->name)."\n"; case 'MIN_CBM_CHARGES': $furtherDescription .= $item->name.' '.$item->quantity.' CBM'."\n"; case 'OVER_WEIGHT_CHARGES':