update structure 1033

This commit is contained in:
Nur Izzati Zulkifli
2022-04-17 10:33:54 +08:00
parent 8a82cfefc6
commit 959bbc0b2c
6 changed files with 6 additions and 4 deletions
@@ -514,6 +514,7 @@ class MarhunController extends Controller
public function terimaperubahan(Request $request)
{
//update mutu marhun - gadaimarhun
// dd($request->all());
$user = Auth::user();
$currentdate = Carbon::now();
+1 -1
View File
@@ -319,7 +319,7 @@ class SimulasiController extends Controller
foreach($cawangansim as $cawsim)
{
$cawangan = Cawangan::where('id','=',$cawsim->caw_id)->first();
$databid = SimulasiBid::where('simulasi_id','=',$simulasi_id)->get();
$databid = SimulasiBid::where('caw_id','=',$cawsim->caw_id)->where('simulasi_id','=',$simulasi_id)->get();
$packet = 0;
$berat = 0;
@@ -30,6 +30,7 @@ class CreateCawangansTable extends Migration
$table->string('nofaks')->nullable();
$table->string('lokasi')->nullable();
$table->string('pkb_jmc')->nullable();
$table->string('para2')->nullable();
$table->timestamps();
});
@@ -64,7 +64,7 @@ class CreateSimulasisTable extends Migration
$table->decimal('nilaimarhun', $precision = 9, $scale = 2);
$table->decimal('pinjaman', $precision = 9, $scale = 2);
$table->decimal('bakiupah', $precision = 7, $scale = 2);
$table->decimal('cajlain', $precision = 7, $scale = 2);
$table->decimal('cajlain', $precision = 7, $scale = 2)->nullable();
$table->decimal('cajlelong', $precision = 7, $scale = 2);
$table->decimal('baki', $precision = 9, $scale = 2);
$table->decimal('berat', $precision = 7, $scale = 2);
@@ -67,7 +67,7 @@ class CreateLelongsTable extends Migration
$table->decimal('nilaimarhun', $precision = 9, $scale = 2);
$table->decimal('pinjaman', $precision = 9, $scale = 2);
$table->decimal('bakiupah', $precision = 7, $scale = 2);
$table->decimal('cajlain', $precision = 7, $scale = 2);
$table->decimal('cajlain', $precision = 7, $scale = 2)->nullable();
$table->decimal('cajlelong', $precision = 7, $scale = 2);
$table->decimal('baki', $precision = 9, $scale = 2);
$table->decimal('berat', $precision = 7, $scale = 2);
@@ -340,7 +340,7 @@
"orderable": false
}
],
order: [[1, 'asc']],
order: [[0, 'asc']],
// "ordering": false,
"searching":false,
"info": false,