|
@@ -333,6 +333,17 @@ class McpController extends Controller
|
|
];
|
|
];
|
|
return view('app.mcp.supply_orders_pending_signature', $data);
|
|
return view('app.mcp.supply_orders_pending_signature', $data);
|
|
}
|
|
}
|
|
|
|
+ public function supply_orders_awaiting_shipment(Request $request){
|
|
|
|
+ $data = [
|
|
|
|
+ 'records' => SupplyOrder::where('created_by_pro_id', $this->performer->pro->id)
|
|
|
|
+ ->where('is_signed_by_pro', true)
|
|
|
|
+ ->where('is_cleared_for_shipment', true)
|
|
|
|
+ ->whereNull('shipment_id')
|
|
|
|
+ ->orderBy('created_at')
|
|
|
|
+ ->get()
|
|
|
|
+ ];
|
|
|
|
+ return view('app.mcp.supply_orders_awaiting_shipment', $data);
|
|
|
|
+ }
|
|
public function measurements_pending_stamping(Request $request){
|
|
public function measurements_pending_stamping(Request $request){
|
|
$data = [
|
|
$data = [
|
|
'records' => CareMonth::where('mcp_pro_id', $this->performer->pro->id)
|
|
'records' => CareMonth::where('mcp_pro_id', $this->performer->pro->id)
|