diff --git a/.DS_Store b/.DS_Store index 1c4abf2..bacf659 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.gitignore b/.gitignore index ff3078d..591c277 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +.DS_Store +**/.DS_Store /node_modules /public/hot /public/storage diff --git a/app/.DS_Store b/app/.DS_Store index c035832..35db32c 100644 Binary files a/app/.DS_Store and b/app/.DS_Store differ diff --git a/app/Services/MakeStikerServices.php b/app/Services/MakeStikerServices.php index 05deb12..9cb5c5c 100644 --- a/app/Services/MakeStikerServices.php +++ b/app/Services/MakeStikerServices.php @@ -56,7 +56,7 @@ public function stikerExtend($sticker, Carbon $awal, Carbon $akhir) 'unit_kerja' => $transStiker->unit_kerja, 'no_induk' => $transStiker->no_induk, 'area' => $transStiker->area, - 'jenis_stiker' => $transStiker->jenis_stiker, + 'jenis_stiker' => 1, 'unitno' => $transStiker->unitno, 'exit_pass' => $transStiker->exit_pass, 'hari_ke' => $transStiker->hari_ke, @@ -71,6 +71,7 @@ public function stikerExtend($sticker, Carbon $awal, Carbon $akhir) 'batasan_akhir' => $transStiker->batasan_akhir, 'asuransi' => $transStiker->asuransi, 'visitor' => $transStiker->visitor, + 'operator' => 'Automatic' ]); // DETAIL diff --git a/public/.DS_Store b/public/.DS_Store index 9aa09a3..2c8ba2b 100644 Binary files a/public/.DS_Store and b/public/.DS_Store differ diff --git a/public/icons/.DS_Store b/public/icons/.DS_Store index 157ebfa..024401d 100644 Binary files a/public/icons/.DS_Store and b/public/icons/.DS_Store differ diff --git a/resources/views/frontoffice/index.blade.php b/resources/views/frontoffice/index.blade.php index 1dd796a..f541e7d 100644 --- a/resources/views/frontoffice/index.blade.php +++ b/resources/views/frontoffice/index.blade.php @@ -379,7 +379,7 @@ class="w-100 h-100 rounded d-none" @section('javascript') - + @@ -482,6 +482,26 @@ function searchData(value) { }, 100); // tunggu value masuk dulu }); + $('#formTransaksi').validate({ + rules: { + name: { + required: true, + minlength: 3 + }, + notrans: { + required: true, + minlengt: 4 + } + }, + messages: { + name: { + required: "Silahkan masuk kan nama/no. kamar", + minlength: "Masuk kan minimaal 3 karakter" + }, + notrans: "Nomer Polisi wajib di input" + } + }); + $('#formTransaksi').on('submit', function(e){ e.preventDefault(); @@ -497,7 +517,6 @@ function searchData(value) { }); }); - }); @endsection