tambah function lelongan ujrah

This commit is contained in:
BTMS1
2023-11-28 09:21:54 +08:00
parent c0c6d00db5
commit afa1f4eb48
21 changed files with 2722 additions and 5 deletions
+4 -1
View File
@@ -257,6 +257,7 @@ class SimulasiController extends Controller
->where('tagpalsu','=',0)
->where('tagpalsu2','=',0)
->where('taglel','=',0)
->where('tagbaru','=',0)
->where('lelong_tawarruq','=',1);
// ->count('norujukan');
@@ -267,6 +268,7 @@ class SimulasiController extends Controller
->where('sttebus','=','')
->where('tagpalsu','=',0)
->where('tagpalsu2','=',0)
->where('tagbaru','=',0)
->where('taglel','=',0);
// ->count('norujukan');
}
@@ -290,6 +292,7 @@ class SimulasiController extends Controller
'fasa' => $fasa,
'kali' => $kali,
'success_import' => 1,
'ujrah' => 0
]);
//create harga asas berdasarkan input harga asas
@@ -704,7 +707,7 @@ class SimulasiController extends Controller
public function senaraisimulasi()
{
$simulasiAll = Simulasi::with('cawangan')->orderBy('id', 'desc')->get();
$simulasiAll = Simulasi::with('cawangan')->where('ujrah', 0)->orderBy('id', 'desc')->get();
return view('simulasi.senaraisimulasi',compact('simulasiAll'));
}