paparan sag mobile
This commit is contained in:
@@ -542,8 +542,8 @@ class GadaiController extends Controller
|
||||
return response()->json($gadai);
|
||||
}
|
||||
|
||||
public function getLaporanKawalanStok($kodcaw,$tarikh)
|
||||
{
|
||||
public function getLaporanKawalanStok($kodcaw,$tarikh){
|
||||
|
||||
$cawangan = Cawangan::on('mysql7')->where('kodcaw','=',$kodcaw)->first();
|
||||
|
||||
$array_kawalanstok = [];
|
||||
@@ -795,8 +795,8 @@ class GadaiController extends Controller
|
||||
|
||||
}
|
||||
|
||||
public function showAllGadaiToday()
|
||||
{
|
||||
public function showAllGadaiToday(){
|
||||
|
||||
$cawangan_all = Cawangan::on('mysql7')->get();
|
||||
$current = Carbon::now();
|
||||
$current = new Carbon();
|
||||
@@ -814,8 +814,9 @@ class GadaiController extends Controller
|
||||
return response()->json($gadaiToday);
|
||||
|
||||
}
|
||||
public function showAllTebusToday()
|
||||
{
|
||||
|
||||
public function showAllTebusToday(){
|
||||
|
||||
$cawangan_all = Cawangan::on('mysql7')->get();
|
||||
$current = Carbon::now();
|
||||
$current = new Carbon();
|
||||
@@ -831,8 +832,9 @@ class GadaiController extends Controller
|
||||
}
|
||||
return response()->json($tebusToday);
|
||||
}
|
||||
public function showAllVariasiToday()
|
||||
{
|
||||
|
||||
public function showAllVariasiToday(){
|
||||
|
||||
$cawangan_all = Cawangan::on('mysql7')->get();
|
||||
$current = Carbon::now();
|
||||
$current = new Carbon();
|
||||
@@ -860,8 +862,8 @@ class GadaiController extends Controller
|
||||
$variasiToday = $gadaiToday - $tebusToday;
|
||||
return response()->json($variasiToday);
|
||||
}
|
||||
public function showAllUpahToday()
|
||||
{
|
||||
public function showAllUpahToday(){
|
||||
|
||||
$cawangan_all = Cawangan::on('mysql7')->get();
|
||||
$current = Carbon::now();
|
||||
$current = new Carbon();
|
||||
|
||||
Reference in New Issue
Block a user