update migration tangguhlelong

This commit is contained in:
nishaMuhd
2022-10-19 10:53:18 +08:00
parent b4586b4afe
commit b3c2242cb1
2 changed files with 5 additions and 5 deletions
@@ -580,16 +580,16 @@ class TangguhLelongController extends Controller
$pengesahan->diminta_pada = $currentdate;
$pengesahan->save();
}
$cwgn = Cawangan::where('caw_code','=',$bidmarhun->kodcaw)
->first();
$customer = Customer::where('kpbaru','=',$nokp)
->orWhere('kplama','=',$nokp)
->join('poskod','customer.poskod','=','poskod.poskod')
->join('daerah','poskod.koddaerah','=','daerah.koddaerah')
->join('negeri','poskod.kodnegeri','=','negeri.kodnegeri')
->first();
$cwgn = Cawangan::where('caw_code','=',$bidmarhun->kodcaw)
->first();
->first();
$lelongbid[$index1]['nama'] = ($customer) ? $customer : dd($nokp);
}
@@ -26,7 +26,7 @@ class CreateTangguhlelongTable extends Migration
$table->string('nota')->nullable();;
$table->timestamps();
$table->integer('status')->nullable(); //new added
$table->string('filetype')->nullable();
$table->string('file_type')->nullable();
// $table->foreign('lelong_id')
// ->references('id')->on('lelong')