Fix page terima/serah marhun and scan barcode

This commit is contained in:
Amir
2023-02-15 11:08:27 +08:00
parent 7a3c21f764
commit 713a04fc4d
4 changed files with 98 additions and 107 deletions
@@ -610,6 +610,7 @@ class MarhunController extends Controller
->join('cawangan', 'cawangan_lelong.caw_id', '=', 'cawangan.id')
->where('cawangan.caw_code', $user->kodcaw)
->where('sts_lelong', 0)
->orderBy('lelong_id', 'asc')
->get();
// $lelong = Lelong::orderBy('id', 'desc')->get();
@@ -627,6 +628,7 @@ class MarhunController extends Controller
->where('cawangan.caw_code', $user->kodcaw)
->where('sts_lelong', 0)
->select('lelong_id', 'tarikh_lelong', 'cawangan_lelong.masatamat_lelong', 'harga_emas_asas', 'jbg', 'cajlelong', 'sts_lelong')
->orderBy('lelong_id', 'asc')
->get()
->toArray();