Merge branch 'apiaku' into 'master'
fix scene See merge request online-sistem1/api_arrahn!33
This commit is contained in:
@@ -175,7 +175,6 @@ class GadaiController extends Controller
|
|||||||
"percentpinj" => $request->percentpinj,
|
"percentpinj" => $request->percentpinj,
|
||||||
"jumtebus" => $request->jumtebus,
|
"jumtebus" => $request->jumtebus,
|
||||||
"upahnotis" => $request->upahnotis,
|
"upahnotis" => $request->upahnotis,
|
||||||
"upahpercuma" => $request->upahpercuma,
|
|
||||||
"upahdibayar" => $request->upahdibayar,
|
"upahdibayar" => $request->upahdibayar,
|
||||||
"semakbarcode" => $request->semakbarcode,
|
"semakbarcode" => $request->semakbarcode,
|
||||||
"historygadaian" => $request->historygadaian,
|
"historygadaian" => $request->historygadaian,
|
||||||
|
|||||||
@@ -288,7 +288,9 @@ class TebusController extends Controller
|
|||||||
'rebate' => $rebet,
|
'rebate' => $rebet,
|
||||||
'marhuntebus' => $request->marhun,
|
'marhuntebus' => $request->marhun,
|
||||||
'historygadaian' => $request->historygadaian,
|
'historygadaian' => $request->historygadaian,
|
||||||
'tarikhbyrn' => $current->toDateString()
|
'tarikhbyrn' => $current->toDateString(),
|
||||||
|
'teller' => $request->teller
|
||||||
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$create_inoutmar = InOutMar::on($cawangan['mysql'])->create([
|
$create_inoutmar = InOutMar::on($cawangan['mysql'])->create([
|
||||||
@@ -296,13 +298,13 @@ class TebusController extends Controller
|
|||||||
'masa' => $current->toTimeString(),
|
'masa' => $current->toTimeString(),
|
||||||
'norujukan' => $norujukan,
|
'norujukan' => $norujukan,
|
||||||
'nm' => $request->nilai_marhun,
|
'nm' => $request->nilai_marhun,
|
||||||
'pkd' => "kosong",
|
'pkd' => $request->teller,
|
||||||
'drp' => "kosong",
|
'drp' => $request->teller,
|
||||||
'bln' => $current->month,
|
'bln' => $current->month,
|
||||||
'thn' => $current->year,
|
'thn' => $current->year,
|
||||||
'tag' => 0,
|
'tag' => 0,
|
||||||
'jenistebus' => $request->jenistebus,
|
'jenistebus' => $request->jenistebus,
|
||||||
'namateller' => "nama teller"
|
'namateller' => $request->teller
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return response()->json($update_gadai, 201);
|
return response()->json($update_gadai, 201);
|
||||||
|
|||||||
Reference in New Issue
Block a user