added new kuantiti function
This commit is contained in:
@@ -78,7 +78,7 @@ class MarhunController extends Controller
|
||||
'kodcaw'=> $kodcaw,
|
||||
'norujukan'=> $request->norujukan,
|
||||
't_gadai' => $current->toDateString(),
|
||||
'bil' => 1,
|
||||
'bil' => $request->kuantiti,
|
||||
'marhun' => $request->marhun,
|
||||
'nota' => $request->nota,
|
||||
'tag_permata' => $request->tag_permata != null ? $request->tag_permata : 0,
|
||||
@@ -170,7 +170,8 @@ class MarhunController extends Controller
|
||||
'berat_batu_permata' => $request->berat_batu_permata,
|
||||
'berat' => $request->berat,
|
||||
'harga' => $harga['harga'],
|
||||
'n_marhun' => $nilai_marhun
|
||||
'n_marhun' => $nilai_marhun,
|
||||
'bil' => $request->kuantiti,
|
||||
];
|
||||
|
||||
// Set value berat_batu_permata to null if value passed is null
|
||||
|
||||
Reference in New Issue
Block a user