update field change value of 'Pickup_Address_Type' from sender to Default'

export multiple sheet with the correct name of each field
This commit is contained in:
edmondlang
2022-04-09 15:10:54 +08:00
parent 87116d29c9
commit 559de29acf
4 changed files with 122 additions and 4 deletions
@@ -4,7 +4,7 @@ namespace App\Http\Controllers\Delivery;
use App\Classes\Modules\Exports\Services\ExportsCustomers;
use App\Classes\Modules\Exports\Services\ExportsDeliveryOrders;
use App\Classes\Modules\Exports\Services\ExportsMultipleDeliveryOrders;
use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;
@@ -24,7 +24,7 @@ class ExportDeliveryOrdersToExcelController
}
public function lineClear(Request $request){
$exportsTransactions = new ExportsDeliveryOrders($request);
$exportsTransactions = new ExportsMultipleDeliveryOrders($request);
$response = $exportsTransactions->download('line-clear-export.xls', Excel::XLS, ['Content-Type' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet']);
ob_end_clean();
return $response;