|
|
|
@ -292,7 +292,7 @@ class OrdersController extends CommonController
|
|
|
|
$group_by_paramedic = [];
|
|
|
|
$group_by_paramedic = [];
|
|
|
|
foreach ($paramedic_items as $k => $items) {
|
|
|
|
foreach ($paramedic_items as $k => $items) {
|
|
|
|
$items = $items->sortBy("id");
|
|
|
|
$items = $items->sortBy("id");
|
|
|
|
$paramedic = Paramedic::find($k);
|
|
|
|
$paramedic = Paramedic::find($k)->withTrashed();
|
|
|
|
$group_by_paramedic[] = [
|
|
|
|
$group_by_paramedic[] = [
|
|
|
|
"paramedic_id" => $k,
|
|
|
|
"paramedic_id" => $k,
|
|
|
|
"paramedic_name" => $paramedic->name,
|
|
|
|
"paramedic_name" => $paramedic->name,
|
|
|
|
|