add function forgot password-reset password
This commit is contained in:
@@ -24,6 +24,7 @@ use App\Models\GadaiMarhun;
|
||||
use App\Models\ScanSemak;
|
||||
use App\Models\TangguhLelong;
|
||||
use Carbon\Carbon;
|
||||
use App\Models\ScanMarhun;
|
||||
|
||||
class MarhunController extends Controller
|
||||
{
|
||||
@@ -129,10 +130,11 @@ class MarhunController extends Controller
|
||||
->where('status_ubah', 6)
|
||||
->first();
|
||||
|
||||
$statusSemakMarhun = ScanMarhun::where('lelongbid_id', $bid['id'])
|
||||
$statusSemakMarhun = ScanSemak::where('lelongbid_id', $bid['id'])
|
||||
->whereNotNull('masa_terima')
|
||||
->whereNull('masa_serah')
|
||||
->first();
|
||||
dd($statusSemakMarhun);
|
||||
if ($statusSemakMarhun) {
|
||||
$lelongbid[$index1]['statusterimamarhun'] = 1;
|
||||
}
|
||||
@@ -839,14 +841,14 @@ class MarhunController extends Controller
|
||||
$gadai = GadaiMarhun::on($datagadai[0]['kodcaw'])->whereIn('norujukan', $arraygadai)
|
||||
->get()->toArray();
|
||||
|
||||
foreach($gadai as $index1=>$gadai2)
|
||||
foreach($gadai as $index2=>$gadai2)
|
||||
{
|
||||
|
||||
$listgadai = GadaiMarhun::on($datagadai[0]['kodcaw'])->whereIn('norujukan', $arraygadai)
|
||||
->get();
|
||||
|
||||
$gadai[$index2]['listgadai'] = $listgadai;
|
||||
}
|
||||
$gadai[$index1]['listgadai'] = $listgadai;
|
||||
// $gadai[$index2]['listgadai'] = $listgadai;
|
||||
// dd($gadai);
|
||||
$arraylelbidmarhun = [];
|
||||
$bakilelong = 0;
|
||||
|
||||
Reference in New Issue
Block a user