fix yd fetch data

This commit is contained in:
omair saleh
2022-01-04 21:32:16 +08:00
parent 9e872dfb35
commit 0aa1979611
+3 -1
View File
@@ -197,8 +197,10 @@ Route::get('/min_cbm', function (){
});
})->limit(1)->get();
$i = 0;
foreach ($companies as $company) {
echo route('customer.profile', $company->inviters()->withPivot('invitee_reference')->first()->pivot->invitee_reference).'<br>';
$marking = $company->inviters()->withPivot('invitee_reference')->first()->pivot->invitee_reference;
echo '<a href="'.route('customer.profile', $marking).'" target="_blank">'.$i++.'. '.$marking.'</a><br>';
}
});
Route::get('/export/customer-latest-order-date/f614e339d7058904a831aad742e24d55', 'Exports\ExportCustomersToExcelController@export');