kawalanstok

This commit is contained in:
fifi97
2021-05-03 09:37:06 +08:00
parent 62f8272746
commit 25e72272d2
3 changed files with 66 additions and 77 deletions
+14
View File
@@ -38,6 +38,20 @@ class PanjarController extends Controller
return response()->json($panjar);
}
public function listeachpanjar(Request $request,$kodcaw)
{
$harini = Carbon::now();
$harini = new Carbon;
$cawangan = Cawangan::on('mysql7')->where('kodcaw','=',$kodcaw)->first();
$panjar=Panjar::on($cawangan['mysql'])
->where('nobaucer','=',$request->nobaucer)
->first();
return response()->json($panjar);
}
public function listmulaakhir($kodcaw,$mula,$akhir)
{