diff --git a/app/Http/Controllers/AkaunController.php b/app/Http/Controllers/AkaunController.php index 2a5fe1b..6c4430b 100644 --- a/app/Http/Controllers/AkaunController.php +++ b/app/Http/Controllers/AkaunController.php @@ -7,6 +7,9 @@ use Illuminate\Http\Request; use Illuminate\Support\Facades\Http; use Carbon\Carbon; +use PDF; +use Maatwebsite\Excel\Excel; + use App\Models\Lejeram; @@ -109,11 +112,23 @@ class AkaunController extends Controller $totalsamakredit += floatval($lejer['kredit']); } - return view('akaun.laporan_lejer_am',compact('cawangan','tarikh_cetak','cawangan_info', 'api_url','cawangan_detail','tarikh_akhir','tarikh_mula','lejeram','totalsamadebit','totalsamakredit')); + if(isset($request->jenis)) + { + if($request->jenis == 'pdf') + { + $pdf = PDF::loadView('akaun.laporan_lejer_am_pdf',compact('cawangan','tarikh_cetak','cawangan_info', 'api_url','cawangan_detail','tarikh_akhir','tarikh_mula','lejeram','totalsamadebit','totalsamakredit'))->setPaper('a4', 'landscape'); + return $pdf->download('laporan_lejeram_' . $auth_user['cawangan'] .'_'. $tarikh_cetak . '.pdf'); + }else{ + return view('akaun.laporan_lejer_am',compact('cawangan','tarikh_cetak','cawangan_info', 'api_url','cawangan_detail','tarikh_akhir','tarikh_mula','lejeram','totalsamadebit','totalsamakredit')); + } + } + } public function cetakimbangduga(Request $request) { + + // dd($request->all()); $auth_user = Auth::user(); $api_url = config('api.url'); @@ -125,24 +140,16 @@ class AkaunController extends Controller $tarikh_imbangan= $current->toDateString(); $tarikh_imbangan2= $current->toDateString(); - if($request->datetimepicker1 == null){ - $tarikh_cetak = $current->toDateString(); - }else - { - $split_date = explode('-',$request->datetimepicker1); - $tarikh_imbangan = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0]; - } - $tarikh_cetak = $current->toDateString(); - if($request->datetimepicker2 == null){ + if($request->datetimepicker1 == null){ $tarikh_cetak = $current->toDateString(); }else { - $split_date = explode('-',$request->datetimepicker2); - $tarikh_imbangan2 = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0]; + $split_date = explode('-',$request->datetimepicker1); + $tarikh_imbangan2 = $request->datetimepicker1; } @@ -150,9 +157,6 @@ class AkaunController extends Controller $cawangan=Http::get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json(); $cawangan_detail=$cawangan[0]; - // $hartasemasa = Http::get(config('api.url').'/api/getGlCode/' . $auth_user['cawangan'] . '/acttype/A/')->json(); - // $tanggungansemasa = Http::get(config('api.url').'/api/getGlCode/' . $auth_user['cawangan'] . '/acttype/L/')->json(); - //Calculation Imbang Duga $imbangduga = Http::get(config('api.url').'/api/CalculationPendahuluanSerahan/' . $auth_user['cawangan'],['tarikh' => $tarikh_imbangan2])->json(); $keuntungan = Http::get(config('api.url').'/api/KeuntunganArRahn/' . $auth_user['cawangan'],['tarikh' => $tarikh_imbangan2])->json(); @@ -271,8 +275,18 @@ class AkaunController extends Controller $totaluntungrugi = 0; $totaluntungrugi = $totaltanggungansemasa + $untungrugi; + if(isset($request->jenis)) + { + if($request->jenis == 'pdf') + { + $pdf = PDF::loadView('akaun.laporan_imbanduga',compact('tarikh_imbangan', 'tarikh_imbangan2','hartasemasa','untungrugifield','tanggungansemasa','totalhartasemasa','totaluntungrugi','totaltanggungansemasa','tarikh_cetak','cawangan_info','cawangan','api_url','cawangan_detail'))->setPaper('a4', 'potrait'); + return $pdf->download('laporan_imbangduga_' . $auth_user['cawangan'] .'_'. $tarikh_imbangan2 . '.pdf'); + }else{ + return view('akaun.laporan_imbanduga',compact('tarikh_imbangan', 'tarikh_imbangan2','hartasemasa','untungrugifield','tanggungansemasa','totalhartasemasa','totaluntungrugi','totaltanggungansemasa','tarikh_cetak','cawangan_info','cawangan','api_url','cawangan_detail')); + } + } - return view('akaun.laporan_imbanduga',compact('tarikh_imbangan', 'tarikh_imbangan2','hartasemasa','untungrugifield','tanggungansemasa','totalhartasemasa','totaluntungrugi','totaltanggungansemasa','tarikh_cetak','cawangan_info','cawangan','api_url','cawangan_detail')); + // return view('akaun.laporan_imbanduga',compact('tarikh_imbangan', 'tarikh_imbangan2','hartasemasa','untungrugifield','tanggungansemasa','totalhartasemasa','totaluntungrugi','totaltanggungansemasa','tarikh_cetak','cawangan_info','cawangan','api_url','cawangan_detail')); } public function cetakLaporanGadai(Request $request){ @@ -286,13 +300,24 @@ class AkaunController extends Controller $gadai_date = $current->toDateString(); }else{ $split_date = explode('-',$request->datetarikh); - $gadai_date = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0]; + // $gadai_date = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0]; + $gadai_date = $request->datetarikh; } $gadai = Http::get(config('api.url'). '/api/gadai/laporan/'. $auth_user['cawangan'] .'/'. $gadai_date)->json(); $cawangan=Http::get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json(); $cawangan_detail=$cawangan[0]; + + if(isset($request->jenis)) + { + if($request->jenis == 'pdf') + { + $pdf = PDF::loadView('akaun.laporan_gadaian', compact('gadai','cawangan_detail','tarikh_cetak','gadai_date','api_url'))->setPaper('a4', 'landscape'); + return $pdf->download('laporan_gadaian_' . $auth_user['cawangan'] .'_'. $gadai_date . '.pdf'); + }else{ + return view('akaun.laporan_gadaian', compact('gadai','cawangan_detail','tarikh_cetak','gadai_date','api_url')); + } + } - return view('akaun.laporan_gadaian', compact('gadai','cawangan_detail','tarikh_cetak','gadai_date','api_url')); } public function cetakLaporanPenebusan(Request $request){ @@ -306,7 +331,8 @@ class AkaunController extends Controller $tebus_date = $current->toDateString(); }else{ $split_date = explode('-',$request->datetarikh); - $tebus_date = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0]; + // $tebus_date = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0]; + $tebus_date = $request->datetarikh; } $tebus = Http::get(config('api.url'). '/api/tebus/laporan/'. $auth_user['cawangan'] .'/'. $tebus_date)->json(); $tebuspengasingan = Http::get(config('api.url'). '/api/tebus/laporanjenistawarruq/'. $auth_user['cawangan'],['tarikh' => $tebus_date])->json(); @@ -315,8 +341,17 @@ class AkaunController extends Controller $cawangan=Http::get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json(); $cawangan_detail=$cawangan[0]; - // dd($gadai); - return view('akaun.laporan_penebusan', compact('tebus','cawangan_detail','tarikh_cetak','tebus_date','tebuspengasingan','ansuran','api_url','upahlama')); + + if(isset($request->jenis)) + { + if($request->jenis == 'pdf') + { + $pdf = PDF::loadView('akaun.laporan_penebusan', compact('tebus','cawangan_detail','tarikh_cetak','tebus_date','tebuspengasingan','ansuran','api_url','upahlama'))->setPaper('a4', 'landscape'); + return $pdf->download('laporan_penebusan_' . $auth_user['cawangan'] .'_'. $tebus_date . '.pdf'); + }else{ + return view('akaun.laporan_penebusan', compact('tebus','cawangan_detail','tarikh_cetak','tebus_date','tebuspengasingan','ansuran','api_url','upahlama')); + } + } } public function cetakLaporanAnsuran(Request $request){ @@ -330,13 +365,67 @@ class AkaunController extends Controller $tebus_date = $current->toDateString(); }else{ $split_date = explode('-',$request->datetimepicker1); - $tebus_date = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0]; + // $tebus_date = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0]; + $tebus_date = $request->datetimepicker1; } $tebus = Http::get(config('api.url'). '/api/ansuran/laporan/'. $auth_user['cawangan'],['tarikh' => $tebus_date])->json(); $cawangan=Http::get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json(); $cawangan_detail=$cawangan[0]; - // dd($gadai); - return view('akaun.laporan_ansuran', compact('tebus','cawangan_detail','tarikh_cetak','tebus_date','api_url')); + + if(isset($request->jenis)) + { + if($request->jenis == 'pdf') + { + $pdf = PDF::loadView('akaun.laporan_ansuran', compact('tebus','cawangan_detail','tarikh_cetak','tebus_date','api_url'))->setPaper('a4', 'potrait'); + return $pdf->download('laporan_ansuran_' . $auth_user['cawangan'] .'_'. $tebus_date . '.pdf'); + }else{ + return view('akaun.laporan_ansuran', compact('tebus','cawangan_detail','tarikh_cetak','tebus_date','api_url')); + } + } + + + + } + + public function cetaklaporan_Upah(Request $request) + { + $api_url = config('api.url'); + $auth_user = Auth::user(); + $current = Carbon::now(); + $current = new Carbon(); + $tarikh_cetak = $current->toDateString(); + + if($request->datemula == null){ + $mula_date = '2017-01-01'; + }else{ + $split_date = explode('-', $request->datemula); + // $mula_date = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0]; + $mula_date = $request->datemula; + } + + if($request->datehingga == null){ + $hingga_date = $current->toDateString(); + }else{ + $split_date = explode('-', $request->datehingga); + // $hingga_date = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0]; + $hingga_date = $request->datehingga; + } + + $advansur = Http::get(config('api.url'). '/api/AnsuranByRangeTarikh/' . $auth_user['cawangan'],['mula' => $mula_date,'akhir' => $hingga_date])->json(); + + $cawangan = Http::get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json(); + $cawangan_detail=$cawangan[0]; + + if(isset($request->jenis)) + { + if($request->jenis == 'pdf') + { + $pdf = PDF::loadView('akaun.laporan_upah', compact('advansur','cawangan_detail','tarikh_cetak','mula_date','hingga_date','api_url'))->setPaper('a4', 'potrait'); + return $pdf->download('laporan_upah_' . $auth_user['cawangan'] .'_'. $mula_date . '.pdf'); + }else{ + return view('akaun.laporan_upah', compact('advansur','cawangan_detail','tarikh_cetak','mula_date','hingga_date','api_url')); + } + } } public function cetakLaporanPetiBesi(Request $request){ @@ -379,14 +468,16 @@ class AkaunController extends Controller $mula_date = '2017-01-01'; }else{ $split_date = explode('-', $request->datemula); - $mula_date = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0]; + // $mula_date = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0]; + $mula_date = $request->datemula; } if($request->datehingga == null){ $hingga_date = $current->toDateString(); }else{ $split_date = explode('-', $request->datehingga); - $hingga_date = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0]; + // $hingga_date = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0]; + $hingga_date = $request->datehingga; } $pendser = Http::get(config('api.url'). '/api/SenaraiPendSer/range/' . $auth_user['cawangan'],['mula' => $mula_date,'hingga' => $hingga_date,'jenis' => $request->radpendser])->json(); @@ -394,7 +485,18 @@ class AkaunController extends Controller $cawangan = Http::get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json(); $cawangan_detail=$cawangan[0]; - return view('akaun.laporan_pendahuluanserahan', compact('pendser','cawangan_detail','tarikh_cetak','mula_date','hingga_date','api_url')); + if(isset($request->jenis)) + { + if($request->jenis == 'pdf') + { + $pdf = PDF::loadView('akaun.laporan_pendahuluanserahan', compact('pendser','cawangan_detail','tarikh_cetak','mula_date','hingga_date','api_url'))->setPaper('a4', 'potrait'); + return $pdf->download('laporan_HQ_' . $auth_user['cawangan'] .'_'. $mula_date . '_' . $request->radpendser . '.pdf'); + }else{ + return view('akaun.laporan_pendahuluanserahan', compact('pendser','cawangan_detail','tarikh_cetak','mula_date','hingga_date','api_url')); + + } + } + } public function cetaklaporan_tuntutbaki(Request $request){ @@ -409,7 +511,8 @@ class AkaunController extends Controller $gadai_date = $current->toDateString(); }else{ $split_date = explode('-',$request->datetimepicker1); - $gadai_date = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0]; + // $gadai_date = $split_date[2] . '-' . $split_date[1] . '-' . $split_date[0]; + $gadai_date = $request->datetimepicker1; } $tuntutbaki = Http::get(config('api.url'). '/api/TuntutBakiTarikh/'. $auth_user['cawangan'] ,['tarikh' => $gadai_date])->json(); @@ -417,6 +520,16 @@ class AkaunController extends Controller $cawangan=Http::get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json(); $cawangan_detail=$cawangan[0]; - return view('akaun.laporan_tuntutbaki', compact('tuntutbaki','cawangan_detail','tarikh_cetak','gadai_date','api_url')); + if(isset($request->jenis)) + { + if($request->jenis == 'pdf') + { + $pdf = PDF::loadView('akaun.laporan_tuntutbaki', compact('tuntutbaki','cawangan_detail','tarikh_cetak','gadai_date','api_url'))->setPaper('a4', 'potrait'); + return $pdf->download('laporan_tuntutbaki_' . $auth_user['cawangan'] .'_'. $gadai_date . '.pdf'); + }else{ + return view('akaun.laporan_tuntutbaki', compact('tuntutbaki','cawangan_detail','tarikh_cetak','gadai_date','api_url')); + } + } + } } diff --git a/app/Http/Controllers/PelangganController.php b/app/Http/Controllers/PelangganController.php index c033284..60148b3 100644 --- a/app/Http/Controllers/PelangganController.php +++ b/app/Http/Controllers/PelangganController.php @@ -35,4 +35,17 @@ class PelangganController extends Controller return view('pelanggan.detailspelanggan',compact('api_url','cawangan_info','auth_user','customer_info')); } + + public function DetailsBlacklist() + { + $api_url = config('api.url'); + $auth_user = Auth::user(); + + $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json(); + $cawangan=Http::get(config('api.url').'/api/cawangan/detail/'.$auth_user['cawangan'])->json(); + $cawangan_detail=$cawangan[0]; + + + return view('pelanggan.blacklist',compact('api_url','cawangan_info','auth_user')); + } } diff --git a/composer.json b/composer.json index af30526..a470a4a 100644 --- a/composer.json +++ b/composer.json @@ -6,12 +6,14 @@ "license": "MIT", "require": { "php": "^7.3|^8.0", + "barryvdh/laravel-dompdf": "^0.9.0", "fruitcake/laravel-cors": "^2.0", "guzzlehttp/guzzle": "^7.0.1", "laravel/framework": "^8.65", "laravel/sanctum": "^2.11", "laravel/tinker": "^2.5", "laravel/ui": "^3.3", + "maatwebsite/excel": "^3.1", "tightenco/ziggy": "^1.4" }, "require-dev": { diff --git a/composer.lock b/composer.lock index 0a64a20..be19d50 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a4cb9fb7347683123d0da4b9a7a190d5", + "content-hash": "8f062442a1e4f47fe0973ab4e461adaa", "packages": [ { "name": "asm89/stack-cors", @@ -62,6 +62,72 @@ }, "time": "2021-03-11T06:42:03+00:00" }, + { + "name": "barryvdh/laravel-dompdf", + "version": "v0.9.0", + "source": { + "type": "git", + "url": "https://github.com/barryvdh/laravel-dompdf.git", + "reference": "5b99e1f94157d74e450f4c97e8444fcaffa2144b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/barryvdh/laravel-dompdf/zipball/5b99e1f94157d74e450f4c97e8444fcaffa2144b", + "reference": "5b99e1f94157d74e450f4c97e8444fcaffa2144b", + "shasum": "" + }, + "require": { + "dompdf/dompdf": "^1", + "illuminate/support": "^5.5|^6|^7|^8", + "php": "^7.1 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.9-dev" + }, + "laravel": { + "providers": [ + "Barryvdh\\DomPDF\\ServiceProvider" + ], + "aliases": { + "PDF": "Barryvdh\\DomPDF\\Facade" + } + } + }, + "autoload": { + "psr-4": { + "Barryvdh\\DomPDF\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Barry vd. Heuvel", + "email": "barryvdh@gmail.com" + } + ], + "description": "A DOMPDF Wrapper for Laravel", + "keywords": [ + "dompdf", + "laravel", + "pdf" + ], + "support": { + "issues": "https://github.com/barryvdh/laravel-dompdf/issues", + "source": "https://github.com/barryvdh/laravel-dompdf/tree/v0.9.0" + }, + "funding": [ + { + "url": "https://github.com/barryvdh", + "type": "github" + } + ], + "time": "2020-12-27T12:05:53+00:00" + }, { "name": "brick/math", "version": "0.9.3", @@ -368,6 +434,73 @@ ], "time": "2020-05-25T17:44:05+00:00" }, + { + "name": "dompdf/dompdf", + "version": "v1.1.1", + "source": { + "type": "git", + "url": "https://github.com/dompdf/dompdf.git", + "reference": "de4aad040737a89fae2129cdeb0f79c45513128d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dompdf/dompdf/zipball/de4aad040737a89fae2129cdeb0f79c45513128d", + "reference": "de4aad040737a89fae2129cdeb0f79c45513128d", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-mbstring": "*", + "phenx/php-font-lib": "^0.5.2", + "phenx/php-svg-lib": "^0.3.3", + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "mockery/mockery": "^1.3", + "phpunit/phpunit": "^7.5 || ^8 || ^9", + "squizlabs/php_codesniffer": "^3.5" + }, + "suggest": { + "ext-gd": "Needed to process images", + "ext-gmagick": "Improves image processing performance", + "ext-imagick": "Improves image processing performance", + "ext-zlib": "Needed for pdf stream compression" + }, + "type": "library", + "autoload": { + "psr-4": { + "Dompdf\\": "src/" + }, + "classmap": [ + "lib/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-2.1" + ], + "authors": [ + { + "name": "Fabien Ménager", + "email": "fabien.menager@gmail.com" + }, + { + "name": "Brian Sweeney", + "email": "eclecticgeek@gmail.com" + }, + { + "name": "Gabriel Bull", + "email": "me@gabrielbull.com" + } + ], + "description": "DOMPDF is a CSS 2.1 compliant HTML to PDF converter", + "homepage": "https://github.com/dompdf/dompdf", + "support": { + "issues": "https://github.com/dompdf/dompdf/issues", + "source": "https://github.com/dompdf/dompdf/tree/v1.1.1" + }, + "time": "2021-11-24T00:45:04+00:00" + }, { "name": "dragonmantank/cron-expression", "version": "v3.1.0", @@ -497,6 +630,57 @@ ], "time": "2020-12-29T14:50:06+00:00" }, + { + "name": "ezyang/htmlpurifier", + "version": "v4.14.0", + "source": { + "type": "git", + "url": "https://github.com/ezyang/htmlpurifier.git", + "reference": "12ab42bd6e742c70c0a52f7b82477fcd44e64b75" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/12ab42bd6e742c70c0a52f7b82477fcd44e64b75", + "reference": "12ab42bd6e742c70c0a52f7b82477fcd44e64b75", + "shasum": "" + }, + "require": { + "php": ">=5.2" + }, + "type": "library", + "autoload": { + "psr-0": { + "HTMLPurifier": "library/" + }, + "files": [ + "library/HTMLPurifier.composer.php" + ], + "exclude-from-classmap": [ + "/library/HTMLPurifier/Language/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-2.1-or-later" + ], + "authors": [ + { + "name": "Edward Z. Yang", + "email": "admin@htmlpurifier.org", + "homepage": "http://ezyang.com" + } + ], + "description": "Standards compliant HTML filter written in PHP", + "homepage": "http://htmlpurifier.org/", + "keywords": [ + "html" + ], + "support": { + "issues": "https://github.com/ezyang/htmlpurifier/issues", + "source": "https://github.com/ezyang/htmlpurifier/tree/v4.14.0" + }, + "time": "2021-12-25T01:21:49+00:00" + }, { "name": "fruitcake/laravel-cors", "version": "v2.0.4", @@ -1723,6 +1907,262 @@ ], "time": "2021-11-21T11:48:40+00:00" }, + { + "name": "maatwebsite/excel", + "version": "3.1.34", + "source": { + "type": "git", + "url": "https://github.com/SpartnerNL/Laravel-Excel.git", + "reference": "d7446f0e808d83be128835c4b403c9e4a65b20f3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/SpartnerNL/Laravel-Excel/zipball/d7446f0e808d83be128835c4b403c9e4a65b20f3", + "reference": "d7446f0e808d83be128835c4b403c9e4a65b20f3", + "shasum": "" + }, + "require": { + "ext-json": "*", + "illuminate/support": "5.8.*|^6.0|^7.0|^8.0", + "php": "^7.0|^8.0", + "phpoffice/phpspreadsheet": "^1.18" + }, + "require-dev": { + "orchestra/testbench": "^6.0", + "predis/predis": "^1.1" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Maatwebsite\\Excel\\ExcelServiceProvider" + ], + "aliases": { + "Excel": "Maatwebsite\\Excel\\Facades\\Excel" + } + } + }, + "autoload": { + "psr-4": { + "Maatwebsite\\Excel\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Patrick Brouwers", + "email": "patrick@spartner.nl" + } + ], + "description": "Supercharged Excel exports and imports in Laravel", + "keywords": [ + "PHPExcel", + "batch", + "csv", + "excel", + "export", + "import", + "laravel", + "php", + "phpspreadsheet" + ], + "support": { + "issues": "https://github.com/SpartnerNL/Laravel-Excel/issues", + "source": "https://github.com/SpartnerNL/Laravel-Excel/tree/3.1.34" + }, + "funding": [ + { + "url": "https://laravel-excel.com/commercial-support", + "type": "custom" + }, + { + "url": "https://github.com/patrickbrouwers", + "type": "github" + } + ], + "time": "2021-12-02T16:17:16+00:00" + }, + { + "name": "maennchen/zipstream-php", + "version": "2.1.0", + "source": { + "type": "git", + "url": "https://github.com/maennchen/ZipStream-PHP.git", + "reference": "c4c5803cc1f93df3d2448478ef79394a5981cc58" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/maennchen/ZipStream-PHP/zipball/c4c5803cc1f93df3d2448478ef79394a5981cc58", + "reference": "c4c5803cc1f93df3d2448478ef79394a5981cc58", + "shasum": "" + }, + "require": { + "myclabs/php-enum": "^1.5", + "php": ">= 7.1", + "psr/http-message": "^1.0", + "symfony/polyfill-mbstring": "^1.0" + }, + "require-dev": { + "ext-zip": "*", + "guzzlehttp/guzzle": ">= 6.3", + "mikey179/vfsstream": "^1.6", + "phpunit/phpunit": ">= 7.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "ZipStream\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Paul Duncan", + "email": "pabs@pablotron.org" + }, + { + "name": "Jonatan Männchen", + "email": "jonatan@maennchen.ch" + }, + { + "name": "Jesse Donat", + "email": "donatj@gmail.com" + }, + { + "name": "András Kolesár", + "email": "kolesar@kolesar.hu" + } + ], + "description": "ZipStream is a library for dynamically streaming dynamic zip files from PHP without writing to the disk at all on the server.", + "keywords": [ + "stream", + "zip" + ], + "support": { + "issues": "https://github.com/maennchen/ZipStream-PHP/issues", + "source": "https://github.com/maennchen/ZipStream-PHP/tree/master" + }, + "funding": [ + { + "url": "https://opencollective.com/zipstream", + "type": "open_collective" + } + ], + "time": "2020-05-30T13:11:16+00:00" + }, + { + "name": "markbaker/complex", + "version": "3.0.1", + "source": { + "type": "git", + "url": "https://github.com/MarkBaker/PHPComplex.git", + "reference": "ab8bc271e404909db09ff2d5ffa1e538085c0f22" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/MarkBaker/PHPComplex/zipball/ab8bc271e404909db09ff2d5ffa1e538085c0f22", + "reference": "ab8bc271e404909db09ff2d5ffa1e538085c0f22", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "phpcompatibility/php-compatibility": "^9.0", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.3", + "squizlabs/php_codesniffer": "^3.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Complex\\": "classes/src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mark Baker", + "email": "mark@lange.demon.co.uk" + } + ], + "description": "PHP Class for working with complex numbers", + "homepage": "https://github.com/MarkBaker/PHPComplex", + "keywords": [ + "complex", + "mathematics" + ], + "support": { + "issues": "https://github.com/MarkBaker/PHPComplex/issues", + "source": "https://github.com/MarkBaker/PHPComplex/tree/3.0.1" + }, + "time": "2021-06-29T15:32:53+00:00" + }, + { + "name": "markbaker/matrix", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/MarkBaker/PHPMatrix.git", + "reference": "c66aefcafb4f6c269510e9ac46b82619a904c576" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/MarkBaker/PHPMatrix/zipball/c66aefcafb4f6c269510e9ac46b82619a904c576", + "reference": "c66aefcafb4f6c269510e9ac46b82619a904c576", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "phpcompatibility/php-compatibility": "^9.0", + "phpdocumentor/phpdocumentor": "2.*", + "phploc/phploc": "^4.0", + "phpmd/phpmd": "2.*", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.3", + "sebastian/phpcpd": "^4.0", + "squizlabs/php_codesniffer": "^3.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Matrix\\": "classes/src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mark Baker", + "email": "mark@demon-angel.eu" + } + ], + "description": "PHP Class for working with matrices", + "homepage": "https://github.com/MarkBaker/PHPMatrix", + "keywords": [ + "mathematics", + "matrix", + "vector" + ], + "support": { + "issues": "https://github.com/MarkBaker/PHPMatrix/issues", + "source": "https://github.com/MarkBaker/PHPMatrix/tree/3.0.0" + }, + "time": "2021-07-01T19:01:15+00:00" + }, { "name": "monolog/monolog", "version": "2.3.5", @@ -1822,6 +2262,66 @@ ], "time": "2021-10-01T21:08:31+00:00" }, + { + "name": "myclabs/php-enum", + "version": "1.8.3", + "source": { + "type": "git", + "url": "https://github.com/myclabs/php-enum.git", + "reference": "b942d263c641ddb5190929ff840c68f78713e937" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/php-enum/zipball/b942d263c641ddb5190929ff840c68f78713e937", + "reference": "b942d263c641ddb5190929ff840c68f78713e937", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": "^7.3 || ^8.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.5", + "squizlabs/php_codesniffer": "1.*", + "vimeo/psalm": "^4.6.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "MyCLabs\\Enum\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP Enum contributors", + "homepage": "https://github.com/myclabs/php-enum/graphs/contributors" + } + ], + "description": "PHP Enum implementation", + "homepage": "http://github.com/myclabs/php-enum", + "keywords": [ + "enum" + ], + "support": { + "issues": "https://github.com/myclabs/php-enum/issues", + "source": "https://github.com/myclabs/php-enum/tree/1.8.3" + }, + "funding": [ + { + "url": "https://github.com/mnapoli", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/php-enum", + "type": "tidelift" + } + ], + "time": "2021-07-05T08:18:36+00:00" + }, { "name": "nesbot/carbon", "version": "2.54.0", @@ -2185,6 +2685,199 @@ }, "time": "2021-04-09T13:42:10+00:00" }, + { + "name": "phenx/php-font-lib", + "version": "0.5.4", + "source": { + "type": "git", + "url": "https://github.com/dompdf/php-font-lib.git", + "reference": "dd448ad1ce34c63d09baccd05415e361300c35b4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dompdf/php-font-lib/zipball/dd448ad1ce34c63d09baccd05415e361300c35b4", + "reference": "dd448ad1ce34c63d09baccd05415e361300c35b4", + "shasum": "" + }, + "require": { + "ext-mbstring": "*" + }, + "require-dev": { + "symfony/phpunit-bridge": "^3 || ^4 || ^5" + }, + "type": "library", + "autoload": { + "psr-4": { + "FontLib\\": "src/FontLib" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0" + ], + "authors": [ + { + "name": "Fabien Ménager", + "email": "fabien.menager@gmail.com" + } + ], + "description": "A library to read, parse, export and make subsets of different types of font files.", + "homepage": "https://github.com/PhenX/php-font-lib", + "support": { + "issues": "https://github.com/dompdf/php-font-lib/issues", + "source": "https://github.com/dompdf/php-font-lib/tree/0.5.4" + }, + "time": "2021-12-17T19:44:54+00:00" + }, + { + "name": "phenx/php-svg-lib", + "version": "0.3.4", + "source": { + "type": "git", + "url": "https://github.com/PhenX/php-svg-lib.git", + "reference": "f627771eb854aa7f45f80add0f23c6c4d67ea0f2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PhenX/php-svg-lib/zipball/f627771eb854aa7f45f80add0f23c6c4d67ea0f2", + "reference": "f627771eb854aa7f45f80add0f23c6c4d67ea0f2", + "shasum": "" + }, + "require": { + "php": "^7.4 || ^8.0", + "sabberworm/php-css-parser": "^8.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "Svg\\": "src/Svg" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-3.0" + ], + "authors": [ + { + "name": "Fabien Ménager", + "email": "fabien.menager@gmail.com" + } + ], + "description": "A library to read, parse and export to PDF SVG files.", + "homepage": "https://github.com/PhenX/php-svg-lib", + "support": { + "issues": "https://github.com/PhenX/php-svg-lib/issues", + "source": "https://github.com/PhenX/php-svg-lib/tree/0.3.4" + }, + "time": "2021-10-18T02:13:32+00:00" + }, + { + "name": "phpoffice/phpspreadsheet", + "version": "1.20.0", + "source": { + "type": "git", + "url": "https://github.com/PHPOffice/PhpSpreadsheet.git", + "reference": "44436f270bb134b4a94670f3d020a85dfa0a3c02" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/44436f270bb134b4a94670f3d020a85dfa0a3c02", + "reference": "44436f270bb134b4a94670f3d020a85dfa0a3c02", + "shasum": "" + }, + "require": { + "ext-ctype": "*", + "ext-dom": "*", + "ext-fileinfo": "*", + "ext-gd": "*", + "ext-iconv": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-simplexml": "*", + "ext-xml": "*", + "ext-xmlreader": "*", + "ext-xmlwriter": "*", + "ext-zip": "*", + "ext-zlib": "*", + "ezyang/htmlpurifier": "^4.13", + "maennchen/zipstream-php": "^2.1", + "markbaker/complex": "^3.0", + "markbaker/matrix": "^3.0", + "php": "^7.3 || ^8.0", + "psr/http-client": "^1.0", + "psr/http-factory": "^1.0", + "psr/simple-cache": "^1.0" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "dev-master", + "dompdf/dompdf": "^1.0", + "friendsofphp/php-cs-fixer": "^3.2", + "jpgraph/jpgraph": "^4.0", + "mpdf/mpdf": "^8.0", + "phpcompatibility/php-compatibility": "^9.3", + "phpstan/phpstan": "^1.1", + "phpstan/phpstan-phpunit": "^1.0", + "phpunit/phpunit": "^8.5 || ^9.0", + "squizlabs/php_codesniffer": "^3.6", + "tecnickcom/tcpdf": "^6.4" + }, + "suggest": { + "dompdf/dompdf": "Option for rendering PDF with PDF Writer (doesn't yet support PHP8)", + "jpgraph/jpgraph": "Option for rendering charts, or including charts with PDF or HTML Writers", + "mpdf/mpdf": "Option for rendering PDF with PDF Writer", + "tecnickcom/tcpdf": "Option for rendering PDF with PDF Writer (doesn't yet support PHP8)" + }, + "type": "library", + "autoload": { + "psr-4": { + "PhpOffice\\PhpSpreadsheet\\": "src/PhpSpreadsheet" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Maarten Balliauw", + "homepage": "https://blog.maartenballiauw.be" + }, + { + "name": "Mark Baker", + "homepage": "https://markbakeruk.net" + }, + { + "name": "Franck Lefevre", + "homepage": "https://rootslabs.net" + }, + { + "name": "Erik Tilt" + }, + { + "name": "Adrien Crivelli" + } + ], + "description": "PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine", + "homepage": "https://github.com/PHPOffice/PhpSpreadsheet", + "keywords": [ + "OpenXML", + "excel", + "gnumeric", + "ods", + "php", + "spreadsheet", + "xls", + "xlsx" + ], + "support": { + "issues": "https://github.com/PHPOffice/PhpSpreadsheet/issues", + "source": "https://github.com/PHPOffice/PhpSpreadsheet/tree/1.20.0" + }, + "time": "2021-11-23T15:23:42+00:00" + }, { "name": "phpoption/phpoption", "version": "1.8.0", @@ -2909,6 +3602,59 @@ ], "time": "2021-09-25T23:10:38+00:00" }, + { + "name": "sabberworm/php-css-parser", + "version": "8.4.0", + "source": { + "type": "git", + "url": "https://github.com/sabberworm/PHP-CSS-Parser.git", + "reference": "e41d2140031d533348b2192a83f02d8dd8a71d30" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sabberworm/PHP-CSS-Parser/zipball/e41d2140031d533348b2192a83f02d8dd8a71d30", + "reference": "e41d2140031d533348b2192a83f02d8dd8a71d30", + "shasum": "" + }, + "require": { + "ext-iconv": "*", + "php": ">=5.6.20" + }, + "require-dev": { + "codacy/coverage": "^1.4", + "phpunit/phpunit": "^4.8.36" + }, + "suggest": { + "ext-mbstring": "for parsing UTF-8 CSS" + }, + "type": "library", + "autoload": { + "psr-4": { + "Sabberworm\\CSS\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Raphael Schweikert" + } + ], + "description": "Parser for CSS Files written in PHP", + "homepage": "https://www.sabberworm.com/blog/2010/6/10/php-css-parser", + "keywords": [ + "css", + "parser", + "stylesheet" + ], + "support": { + "issues": "https://github.com/sabberworm/PHP-CSS-Parser/issues", + "source": "https://github.com/sabberworm/PHP-CSS-Parser/tree/8.4.0" + }, + "time": "2021-12-11T13:40:54+00:00" + }, { "name": "swiftmailer/swiftmailer", "version": "v6.3.0", diff --git a/config/app.php b/config/app.php index a8d1a82..42b503c 100644 --- a/config/app.php +++ b/config/app.php @@ -166,6 +166,8 @@ return [ * Package Service Providers... */ + Barryvdh\DomPDF\ServiceProvider::class, + /* * Application Service Providers... */ diff --git a/config/dompdf.php b/config/dompdf.php new file mode 100644 index 0000000..9a99305 --- /dev/null +++ b/config/dompdf.php @@ -0,0 +1,244 @@ + false, // Throw an Exception on warnings from dompdf + 'orientation' => 'portrait', + 'defines' => array( + /** + * The location of the DOMPDF font directory + * + * The location of the directory where DOMPDF will store fonts and font metrics + * Note: This directory must exist and be writable by the webserver process. + * *Please note the trailing slash.* + * + * Notes regarding fonts: + * Additional .afm font metrics can be added by executing load_font.php from command line. + * + * Only the original "Base 14 fonts" are present on all pdf viewers. Additional fonts must + * be embedded in the pdf file or the PDF may not display correctly. This can significantly + * increase file size unless font subsetting is enabled. Before embedding a font please + * review your rights under the font license. + * + * Any font specification in the source HTML is translated to the closest font available + * in the font directory. + * + * The pdf standard "Base 14 fonts" are: + * Courier, Courier-Bold, Courier-BoldOblique, Courier-Oblique, + * Helvetica, Helvetica-Bold, Helvetica-BoldOblique, Helvetica-Oblique, + * Times-Roman, Times-Bold, Times-BoldItalic, Times-Italic, + * Symbol, ZapfDingbats. + */ + "font_dir" => storage_path('fonts/'), // advised by dompdf (https://github.com/dompdf/dompdf/pull/782) + + /** + * The location of the DOMPDF font cache directory + * + * This directory contains the cached font metrics for the fonts used by DOMPDF. + * This directory can be the same as DOMPDF_FONT_DIR + * + * Note: This directory must exist and be writable by the webserver process. + */ + "font_cache" => storage_path('fonts/'), + + /** + * The location of a temporary directory. + * + * The directory specified must be writeable by the webserver process. + * The temporary directory is required to download remote images and when + * using the PFDLib back end. + */ + "temp_dir" => sys_get_temp_dir(), + + /** + * ==== IMPORTANT ==== + * + * dompdf's "chroot": Prevents dompdf from accessing system files or other + * files on the webserver. All local files opened by dompdf must be in a + * subdirectory of this directory. DO NOT set it to '/' since this could + * allow an attacker to use dompdf to read any files on the server. This + * should be an absolute path. + * This is only checked on command line call by dompdf.php, but not by + * direct class use like: + * $dompdf = new DOMPDF(); $dompdf->load_html($htmldata); $dompdf->render(); $pdfdata = $dompdf->output(); + */ + "chroot" => realpath(base_path()), + + /** + * Whether to enable font subsetting or not. + */ + "enable_font_subsetting" => false, + + /** + * The PDF rendering backend to use + * + * Valid settings are 'PDFLib', 'CPDF' (the bundled R&OS PDF class), 'GD' and + * 'auto'. 'auto' will look for PDFLib and use it if found, or if not it will + * fall back on CPDF. 'GD' renders PDFs to graphic files. {@link + * Canvas_Factory} ultimately determines which rendering class to instantiate + * based on this setting. + * + * Both PDFLib & CPDF rendering backends provide sufficient rendering + * capabilities for dompdf, however additional features (e.g. object, + * image and font support, etc.) differ between backends. Please see + * {@link PDFLib_Adapter} for more information on the PDFLib backend + * and {@link CPDF_Adapter} and lib/class.pdf.php for more information + * on CPDF. Also see the documentation for each backend at the links + * below. + * + * The GD rendering backend is a little different than PDFLib and + * CPDF. Several features of CPDF and PDFLib are not supported or do + * not make any sense when creating image files. For example, + * multiple pages are not supported, nor are PDF 'objects'. Have a + * look at {@link GD_Adapter} for more information. GD support is + * experimental, so use it at your own risk. + * + * @link http://www.pdflib.com + * @link http://www.ros.co.nz/pdf + * @link http://www.php.net/image + */ + "pdf_backend" => "CPDF", + + /** + * PDFlib license key + * + * If you are using a licensed, commercial version of PDFlib, specify + * your license key here. If you are using PDFlib-Lite or are evaluating + * the commercial version of PDFlib, comment out this setting. + * + * @link http://www.pdflib.com + * + * If pdflib present in web server and auto or selected explicitely above, + * a real license code must exist! + */ + //"DOMPDF_PDFLIB_LICENSE" => "your license key here", + + /** + * html target media view which should be rendered into pdf. + * List of types and parsing rules for future extensions: + * http://www.w3.org/TR/REC-html40/types.html + * screen, tty, tv, projection, handheld, print, braille, aural, all + * Note: aural is deprecated in CSS 2.1 because it is replaced by speech in CSS 3. + * Note, even though the generated pdf file is intended for print output, + * the desired content might be different (e.g. screen or projection view of html file). + * Therefore allow specification of content here. + */ + "default_media_type" => "screen", + + /** + * The default paper size. + * + * North America standard is "letter"; other countries generally "a4" + * + * @see CPDF_Adapter::PAPER_SIZES for valid sizes ('letter', 'legal', 'A4', etc.) + */ + "default_paper_size" => "a4", + + /** + * The default font family + * + * Used if no suitable fonts can be found. This must exist in the font folder. + * @var string + */ + "default_font" => "serif", + + /** + * Image DPI setting + * + * This setting determines the default DPI setting for images and fonts. The + * DPI may be overridden for inline images by explictly setting the + * image's width & height style attributes (i.e. if the image's native + * width is 600 pixels and you specify the image's width as 72 points, + * the image will have a DPI of 600 in the rendered PDF. The DPI of + * background images can not be overridden and is controlled entirely + * via this parameter. + * + * For the purposes of DOMPDF, pixels per inch (PPI) = dots per inch (DPI). + * If a size in html is given as px (or without unit as image size), + * this tells the corresponding size in pt. + * This adjusts the relative sizes to be similar to the rendering of the + * html page in a reference browser. + * + * In pdf, always 1 pt = 1/72 inch + * + * Rendering resolution of various browsers in px per inch: + * Windows Firefox and Internet Explorer: + * SystemControl->Display properties->FontResolution: Default:96, largefonts:120, custom:? + * Linux Firefox: + * about:config *resolution: Default:96 + * (xorg screen dimension in mm and Desktop font dpi settings are ignored) + * + * Take care about extra font/image zoom factor of browser. + * + * In images, size in pixel attribute, img css style, are overriding + * the real image dimension in px for rendering. + * + * @var int + */ + "dpi" => 96, + + /** + * Enable inline PHP + * + * If this setting is set to true then DOMPDF will automatically evaluate + * inline PHP contained within tags. + * + * Enabling this for documents you do not trust (e.g. arbitrary remote html + * pages) is a security risk. Set this option to false if you wish to process + * untrusted documents. + * + * @var bool + */ + "enable_php" => false, + + /** + * Enable inline Javascript + * + * If this setting is set to true then DOMPDF will automatically insert + * JavaScript code contained within tags. + * + * @var bool + */ + "enable_javascript" => true, + + /** + * Enable remote file access + * + * If this setting is set to true, DOMPDF will access remote sites for + * images and CSS files as required. + * This is required for part of test case www/test/image_variants.html through www/examples.php + * + * Attention! + * This can be a security risk, in particular in combination with DOMPDF_ENABLE_PHP and + * allowing remote access to dompdf.php or on allowing remote html code to be passed to + * $dompdf = new DOMPDF(, $dompdf->load_html(..., + * This allows anonymous users to download legally doubtful internet content which on + * tracing back appears to being downloaded by your server, or allows malicious php code + * in remote html pages to be executed by your server with your account privileges. + * + * @var bool + */ + "enable_remote" => true, + + /** + * A ratio applied to the fonts height to be more like browsers' line height + */ + "font_height_ratio" => 1.1, + + /** + * Use the more-than-experimental HTML5 Lib parser + */ + "enable_html5_parser" => false, + ), + + +); diff --git a/config/excel.php b/config/excel.php new file mode 100644 index 0000000..d22ab6a --- /dev/null +++ b/config/excel.php @@ -0,0 +1,328 @@ + [ + + /* + |-------------------------------------------------------------------------- + | Chunk size + |-------------------------------------------------------------------------- + | + | When using FromQuery, the query is automatically chunked. + | Here you can specify how big the chunk should be. + | + */ + 'chunk_size' => 1000, + + /* + |-------------------------------------------------------------------------- + | Pre-calculate formulas during export + |-------------------------------------------------------------------------- + */ + 'pre_calculate_formulas' => false, + + /* + |-------------------------------------------------------------------------- + | Enable strict null comparison + |-------------------------------------------------------------------------- + | + | When enabling strict null comparison empty cells ('') will + | be added to the sheet. + */ + 'strict_null_comparison' => false, + + /* + |-------------------------------------------------------------------------- + | CSV Settings + |-------------------------------------------------------------------------- + | + | Configure e.g. delimiter, enclosure and line ending for CSV exports. + | + */ + 'csv' => [ + 'delimiter' => ',', + 'enclosure' => '"', + 'line_ending' => PHP_EOL, + 'use_bom' => false, + 'include_separator_line' => false, + 'excel_compatibility' => false, + ], + + /* + |-------------------------------------------------------------------------- + | Worksheet properties + |-------------------------------------------------------------------------- + | + | Configure e.g. default title, creator, subject,... + | + */ + 'properties' => [ + 'creator' => '', + 'lastModifiedBy' => '', + 'title' => '', + 'description' => '', + 'subject' => '', + 'keywords' => '', + 'category' => '', + 'manager' => '', + 'company' => '', + ], + ], + + 'imports' => [ + + /* + |-------------------------------------------------------------------------- + | Read Only + |-------------------------------------------------------------------------- + | + | When dealing with imports, you might only be interested in the + | data that the sheet exists. By default we ignore all styles, + | however if you want to do some logic based on style data + | you can enable it by setting read_only to false. + | + */ + 'read_only' => true, + + /* + |-------------------------------------------------------------------------- + | Ignore Empty + |-------------------------------------------------------------------------- + | + | When dealing with imports, you might be interested in ignoring + | rows that have null values or empty strings. By default rows + | containing empty strings or empty values are not ignored but can be + | ignored by enabling the setting ignore_empty to true. + | + */ + 'ignore_empty' => false, + + /* + |-------------------------------------------------------------------------- + | Heading Row Formatter + |-------------------------------------------------------------------------- + | + | Configure the heading row formatter. + | Available options: none|slug|custom + | + */ + 'heading_row' => [ + 'formatter' => 'slug', + ], + + /* + |-------------------------------------------------------------------------- + | CSV Settings + |-------------------------------------------------------------------------- + | + | Configure e.g. delimiter, enclosure and line ending for CSV imports. + | + */ + 'csv' => [ + 'delimiter' => ',', + 'enclosure' => '"', + 'escape_character' => '\\', + 'contiguous' => false, + 'input_encoding' => 'UTF-8', + ], + + /* + |-------------------------------------------------------------------------- + | Worksheet properties + |-------------------------------------------------------------------------- + | + | Configure e.g. default title, creator, subject,... + | + */ + 'properties' => [ + 'creator' => '', + 'lastModifiedBy' => '', + 'title' => '', + 'description' => '', + 'subject' => '', + 'keywords' => '', + 'category' => '', + 'manager' => '', + 'company' => '', + ], + + ], + + /* + |-------------------------------------------------------------------------- + | Extension detector + |-------------------------------------------------------------------------- + | + | Configure here which writer/reader type should be used when the package + | needs to guess the correct type based on the extension alone. + | + */ + 'extension_detector' => [ + 'xlsx' => Excel::XLSX, + 'xlsm' => Excel::XLSX, + 'xltx' => Excel::XLSX, + 'xltm' => Excel::XLSX, + 'xls' => Excel::XLS, + 'xlt' => Excel::XLS, + 'ods' => Excel::ODS, + 'ots' => Excel::ODS, + 'slk' => Excel::SLK, + 'xml' => Excel::XML, + 'gnumeric' => Excel::GNUMERIC, + 'htm' => Excel::HTML, + 'html' => Excel::HTML, + 'csv' => Excel::CSV, + 'tsv' => Excel::TSV, + + /* + |-------------------------------------------------------------------------- + | PDF Extension + |-------------------------------------------------------------------------- + | + | Configure here which Pdf driver should be used by default. + | Available options: Excel::MPDF | Excel::TCPDF | Excel::DOMPDF + | + */ + 'pdf' => Excel::DOMPDF, + ], + + /* + |-------------------------------------------------------------------------- + | Value Binder + |-------------------------------------------------------------------------- + | + | PhpSpreadsheet offers a way to hook into the process of a value being + | written to a cell. In there some assumptions are made on how the + | value should be formatted. If you want to change those defaults, + | you can implement your own default value binder. + | + | Possible value binders: + | + | [x] Maatwebsite\Excel\DefaultValueBinder::class + | [x] PhpOffice\PhpSpreadsheet\Cell\StringValueBinder::class + | [x] PhpOffice\PhpSpreadsheet\Cell\AdvancedValueBinder::class + | + */ + 'value_binder' => [ + 'default' => Maatwebsite\Excel\DefaultValueBinder::class, + ], + + 'cache' => [ + /* + |-------------------------------------------------------------------------- + | Default cell caching driver + |-------------------------------------------------------------------------- + | + | By default PhpSpreadsheet keeps all cell values in memory, however when + | dealing with large files, this might result into memory issues. If you + | want to mitigate that, you can configure a cell caching driver here. + | When using the illuminate driver, it will store each value in a the + | cache store. This can slow down the process, because it needs to + | store each value. You can use the "batch" store if you want to + | only persist to the store when the memory limit is reached. + | + | Drivers: memory|illuminate|batch + | + */ + 'driver' => 'memory', + + /* + |-------------------------------------------------------------------------- + | Batch memory caching + |-------------------------------------------------------------------------- + | + | When dealing with the "batch" caching driver, it will only + | persist to the store when the memory limit is reached. + | Here you can tweak the memory limit to your liking. + | + */ + 'batch' => [ + 'memory_limit' => 60000, + ], + + /* + |-------------------------------------------------------------------------- + | Illuminate cache + |-------------------------------------------------------------------------- + | + | When using the "illuminate" caching driver, it will automatically use + | your default cache store. However if you prefer to have the cell + | cache on a separate store, you can configure the store name here. + | You can use any store defined in your cache config. When leaving + | at "null" it will use the default store. + | + */ + 'illuminate' => [ + 'store' => null, + ], + ], + + /* + |-------------------------------------------------------------------------- + | Transaction Handler + |-------------------------------------------------------------------------- + | + | By default the import is wrapped in a transaction. This is useful + | for when an import may fail and you want to retry it. With the + | transactions, the previous import gets rolled-back. + | + | You can disable the transaction handler by setting this to null. + | Or you can choose a custom made transaction handler here. + | + | Supported handlers: null|db + | + */ + 'transactions' => [ + 'handler' => 'db', + ], + + 'temporary_files' => [ + + /* + |-------------------------------------------------------------------------- + | Local Temporary Path + |-------------------------------------------------------------------------- + | + | When exporting and importing files, we use a temporary file, before + | storing reading or downloading. Here you can customize that path. + | + */ + 'local_path' => storage_path('framework/cache/laravel-excel'), + + /* + |-------------------------------------------------------------------------- + | Remote Temporary Disk + |-------------------------------------------------------------------------- + | + | When dealing with a multi server setup with queues in which you + | cannot rely on having a shared local temporary path, you might + | want to store the temporary file on a shared disk. During the + | queue executing, we'll retrieve the temporary file from that + | location instead. When left to null, it will always use + | the local path. This setting only has effect when using + | in conjunction with queued imports and exports. + | + */ + 'remote_disk' => null, + 'remote_prefix' => null, + + /* + |-------------------------------------------------------------------------- + | Force Resync + |-------------------------------------------------------------------------- + | + | When dealing with a multi server setup as above, it's possible + | for the clean up that occurs after entire queue has been run to only + | cleanup the server that the last AfterImportJob runs on. The rest of the server + | would still have the local temporary file stored on it. In this case your + | local storage limits can be exceeded and future imports won't be processed. + | To mitigate this you can set this config value to be true, so that after every + | queued chunk is processed the local temporary file is deleted on the server that + | processed it. + | + */ + 'force_resync_remote' => null, + ], +]; diff --git a/public/img/gadai.png b/public/img/gadai.png new file mode 100644 index 0000000..bbcd58e Binary files /dev/null and b/public/img/gadai.png differ diff --git a/public/img/keuntungan.png b/public/img/keuntungan.png new file mode 100644 index 0000000..819adc9 Binary files /dev/null and b/public/img/keuntungan.png differ diff --git a/public/img/tebus.png b/public/img/tebus.png new file mode 100644 index 0000000..f839735 Binary files /dev/null and b/public/img/tebus.png differ diff --git a/public/js/app.js b/public/js/app.js index eb90af3..82d7fba 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -16564,10 +16564,14 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -// -// -// -// +/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js"); +/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__); + + +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } + +function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } + // // // @@ -16599,15 +16603,61 @@ __webpack_require__.r(__webpack_exports__); // // /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + data: function data() { + return { + jenisgenerate: 'none' + }; + }, methods: { generatepdf: function generatepdf() { - console.log('generatepdf'); + var _this = this; + + return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee() { + return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return _this.setJenis('pdf'); + + case 2: + document.getElementById("formansuran").submit(); + + case 3: + case "end": + return _context.stop(); + } + } + }, _callee); + }))(); }, generateview: function generateview() { - document.getElementById("formansuran").submit(); + var _this2 = this; + + return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee2() { + return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return _this2.setJenis('view'); + + case 2: + document.getElementById("formansuran").submit(); + + case 3: + case "end": + return _context2.stop(); + } + } + }, _callee2); + }))(); }, Urlredirect: function Urlredirect() { - return window.route('cetak.imbangduga'); + return window.route('cetak.ansuran'); + }, + setJenis: function setJenis(value) { + return this.jenisgenerate = value; } } }); @@ -16625,10 +16675,14 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -// -// -// -// +/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js"); +/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__); + + +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } + +function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } + // // // @@ -16660,15 +16714,61 @@ __webpack_require__.r(__webpack_exports__); // // /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + data: function data() { + return { + jenisgenerate: 'none' + }; + }, methods: { generatepdf: function generatepdf() { - console.log('generatepdf'); + var _this = this; + + return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee() { + return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return _this.setJenis('pdf'); + + case 2: + document.getElementById("formgadaian").submit(); + + case 3: + case "end": + return _context.stop(); + } + } + }, _callee); + }))(); }, generateview: function generateview() { - document.getElementById("formgadaian").submit(); + var _this2 = this; + + return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee2() { + return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return _this2.setJenis('view'); + + case 2: + document.getElementById("formgadaian").submit(); + + case 3: + case "end": + return _context2.stop(); + } + } + }, _callee2); + }))(); }, Urlredirect: function Urlredirect() { - return window.route('cetak.imbangduga'); + return window.route('cetak.gadaian'); + }, + setJenis: function setJenis(value) { + return this.jenisgenerate = value; } } }); @@ -16743,6 +16843,12 @@ __webpack_require__.r(__webpack_exports__); // // // +// +// +// +// +// +// /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({}); /***/ }), @@ -16758,9 +16864,14 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -// -// -// +/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js"); +/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__); + + +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } + +function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } + // // // @@ -16793,15 +16904,61 @@ __webpack_require__.r(__webpack_exports__); // // /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + data: function data() { + return { + jenisgenerate: 'none' + }; + }, methods: { generatepdf: function generatepdf() { - console.log('generatepdf'); + var _this = this; + + return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee() { + return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return _this.setJenis('pdf'); + + case 2: + document.getElementById("formimbangduga").submit(); + + case 3: + case "end": + return _context.stop(); + } + } + }, _callee); + }))(); }, generateview: function generateview() { - document.getElementById("formimbangduga").submit(); + var _this2 = this; + + return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee2() { + return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return _this2.setJenis('view'); + + case 2: + document.getElementById("formimbangduga").submit(); + + case 3: + case "end": + return _context2.stop(); + } + } + }, _callee2); + }))(); }, Urlredirect: function Urlredirect() { return window.route('cetak.imbangduga'); + }, + setJenis: function setJenis(value) { + return this.jenisgenerate = value; } } }); @@ -16839,8 +16996,14 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -// -// +/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js"); +/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__); + + +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } + +function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } + // // // @@ -16876,18 +17039,61 @@ __webpack_require__.r(__webpack_exports__); // // /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ - // data: function(){ - // return '' - // }, + data: function data() { + return { + jenisgenerate: 'none' + }; + }, methods: { generatepdf: function generatepdf() { - console.log('generatepdf'); + var _this = this; + + return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee() { + return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return _this.setJenis('pdf'); + + case 2: + document.getElementById("formlejeram").submit(); + + case 3: + case "end": + return _context.stop(); + } + } + }, _callee); + }))(); }, generateview: function generateview() { - document.getElementById("formlejeram").submit(); + var _this2 = this; + + return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee2() { + return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return _this2.setJenis('view'); + + case 2: + document.getElementById("formlejeram").submit(); + + case 3: + case "end": + return _context2.stop(); + } + } + }, _callee2); + }))(); }, Urlredirect: function Urlredirect() { return window.route('cetak.lejeram'); + }, + setJenis: function setJenis(value) { + return this.jenisgenerate = value; } } }); @@ -16905,326 +17111,14 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ __webpack_require__.d(__webpack_exports__, { /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) /* harmony export */ }); -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ - methods: { - generatepdf: function generatepdf() { - console.log('generatepdf'); - }, - generateview: function generateview() { - document.getElementById("formpendser").submit(); - }, - Urlredirect: function Urlredirect() { - return window.route('cetak.imbangduga'); - } - } -}); +/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js"); +/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__); -/***/ }), -/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Akaun/Penebusan.vue?vue&type=script&lang=js&": -/*!***********************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Akaun/Penebusan.vue?vue&type=script&lang=js& ***! - \***********************************************************************************************************************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ - methods: { - generatepdf: function generatepdf() { - console.log('generatepdf'); - }, - generateview: function generateview() { - document.getElementById("formpenebusan").submit(); - }, - Urlredirect: function Urlredirect() { - return window.route('cetak.imbangduga'); - } - } -}); +function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Akaun/Tuntutbaki.vue?vue&type=script&lang=js&": -/*!************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Akaun/Tuntutbaki.vue?vue&type=script&lang=js& ***! - \************************************************************************************************************************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ - methods: { - generatepdf: function generatepdf() { - console.log('generatepdf'); - }, - generateview: function generateview() { - document.getElementById("formtuntutbaki").submit(); - }, - Urlredirect: function Urlredirect() { - return window.route('cetak.imbangduga'); - } - } -}); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Akaun/Upah.vue?vue&type=script&lang=js&": -/*!******************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Akaun/Upah.vue?vue&type=script&lang=js& ***! - \******************************************************************************************************************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ - methods: { - generatepdf: function generatepdf() { - console.log('generatepdf'); - }, - generateview: function generateview() { - document.getElementById("formupah").submit(); - }, - Urlredirect: function Urlredirect() { - return window.route('cetak.imbangduga'); - } - } -}); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Bajet/Homebajet.vue?vue&type=script&lang=js&": -/*!***********************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Bajet/Homebajet.vue?vue&type=script&lang=js& ***! - \***********************************************************************************************************************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -// -// -// -// -/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ - props: { - kodcaw: { - type: String - } - } -}); - -/***/ }), - -/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Bajet/KemaskiniBajet.vue?vue&type=script&lang=js&": -/*!****************************************************************************************************************************************************************************************************************!*\ - !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Bajet/KemaskiniBajet.vue?vue&type=script&lang=js& ***! - \****************************************************************************************************************************************************************************************************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// -// // // // @@ -17287,6 +17181,570 @@ __webpack_require__.r(__webpack_exports__); // // // +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + data: function data() { + return { + jenisgenerate: 'none', + selected: '' + }; + }, + methods: { + generatepdf: function generatepdf() { + var _this = this; + + return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee() { + return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return _this.setJenis('pdf'); + + case 2: + document.getElementById("formpendser").submit(); + + case 3: + case "end": + return _context.stop(); + } + } + }, _callee); + }))(); + }, + generateview: function generateview() { + var _this2 = this; + + return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee2() { + return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return _this2.setJenis('view'); + + case 2: + document.getElementById("formpendser").submit(); + + case 3: + case "end": + return _context2.stop(); + } + } + }, _callee2); + }))(); + }, + Urlredirect: function Urlredirect() { + return window.route('cetak.pendser'); + }, + setJenis: function setJenis(value) { + return this.jenisgenerate = value; + } + } +}); + +/***/ }), + +/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Akaun/Penebusan.vue?vue&type=script&lang=js&": +/*!***********************************************************************************************************************************************************************************************************!*\ + !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Akaun/Penebusan.vue?vue&type=script&lang=js& ***! + \***********************************************************************************************************************************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js"); +/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__); + + +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } + +function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } + +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + data: function data() { + return { + jenisgenerate: 'none' + }; + }, + methods: { + generatepdf: function generatepdf() { + var _this = this; + + return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee() { + return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return _this.setJenis('pdf'); + + case 2: + document.getElementById("formpenebusan").submit(); + + case 3: + case "end": + return _context.stop(); + } + } + }, _callee); + }))(); + }, + generateview: function generateview() { + var _this2 = this; + + return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee2() { + return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return _this2.setJenis('view'); + + case 2: + document.getElementById("formpenebusan").submit(); + + case 3: + case "end": + return _context2.stop(); + } + } + }, _callee2); + }))(); + }, + Urlredirect: function Urlredirect() { + return window.route('cetak.penebusan'); + }, + setJenis: function setJenis(value) { + return this.jenisgenerate = value; + } + } +}); + +/***/ }), + +/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Akaun/Tuntutbaki.vue?vue&type=script&lang=js&": +/*!************************************************************************************************************************************************************************************************************!*\ + !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Akaun/Tuntutbaki.vue?vue&type=script&lang=js& ***! + \************************************************************************************************************************************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js"); +/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__); + + +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } + +function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } + +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + data: function data() { + return { + jenisgenerate: 'none' + }; + }, + methods: { + generatepdf: function generatepdf() { + var _this = this; + + return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee() { + return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return _this.setJenis('pdf'); + + case 2: + document.getElementById("formtuntutbaki").submit(); + + case 3: + case "end": + return _context.stop(); + } + } + }, _callee); + }))(); + }, + generateview: function generateview() { + var _this2 = this; + + return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee2() { + return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return _this2.setJenis('view'); + + case 2: + document.getElementById("formtuntutbaki").submit(); + + case 3: + case "end": + return _context2.stop(); + } + } + }, _callee2); + }))(); + }, + Urlredirect: function Urlredirect() { + return window.route('cetak.tuntutbaki'); + }, + setJenis: function setJenis(value) { + return this.jenisgenerate = value; + } + } +}); + +/***/ }), + +/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Akaun/Upah.vue?vue&type=script&lang=js&": +/*!******************************************************************************************************************************************************************************************************!*\ + !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Akaun/Upah.vue?vue&type=script&lang=js& ***! + \******************************************************************************************************************************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js"); +/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__); + + +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } + +function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } + +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + data: function data() { + return { + jenisgenerate: 'none' + }; + }, + methods: { + generatepdf: function generatepdf() { + var _this = this; + + return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee() { + return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return _this.setJenis('pdf'); + + case 2: + document.getElementById("formupah").submit(); + + case 3: + case "end": + return _context.stop(); + } + } + }, _callee); + }))(); + }, + generateview: function generateview() { + var _this2 = this; + + return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee2() { + return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + _context2.next = 2; + return _this2.setJenis('view'); + + case 2: + document.getElementById("formupah").submit(); + + case 3: + case "end": + return _context2.stop(); + } + } + }, _callee2); + }))(); + }, + Urlredirect: function Urlredirect() { + return window.route('cetak.upah'); + }, + setJenis: function setJenis(value) { + return this.jenisgenerate = value; + } + } +}); + +/***/ }), + +/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Bajet/Homebajet.vue?vue&type=script&lang=js&": +/*!***********************************************************************************************************************************************************************************************************!*\ + !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Bajet/Homebajet.vue?vue&type=script&lang=js& ***! + \***********************************************************************************************************************************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +// +// +// +// +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + props: { + kodcaw: { + type: String + } + } +}); + +/***/ }), + +/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Bajet/KemaskiniBajet.vue?vue&type=script&lang=js&": +/*!****************************************************************************************************************************************************************************************************************!*\ + !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Bajet/KemaskiniBajet.vue?vue&type=script&lang=js& ***! + \****************************************************************************************************************************************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/regenerator */ "./node_modules/@babel/runtime/regenerator/index.js"); +/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vuelidate/lib/validators */ "./node_modules/vuelidate/lib/validators/index.js"); + + +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } + +function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } + +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// + /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ data: function data() { return { @@ -17301,7 +17759,8 @@ __webpack_require__.r(__webpack_exports__); nilaiseptember: 0, nilaioktober: 0, nilainovember: 0, - nilaidisember: 0 + nilaidisember: 0, + submitStatus: '' }; }, created: function created() { @@ -17329,6 +17788,109 @@ __webpack_require__.r(__webpack_exports__); _this.nilainovember = parseFloat(response.data[10].nilaibajet); _this.nilaidisember = parseFloat(response.data[11].nilaibajet); }); + }, + submit: function submit() { + console.log('submit!'); + this.$v.$touch(); + + if (this.$v.$invalid) { + this.$toast.error('Sila isi butiran yang disediakan dengan betul!'); + } else { + // do your submit logic here + this.submitStatus = 'PENDING'; + var result = this.PostData(); + var pro1 = Promise.resolve(result); + var self = this; + pro1.then(function (response) { + if (response.data == 1) { + setTimeout(function () { + self.submitStatus = 'OK'; + self.$toast.success('Berjaya dikemaskini!'); + self.$router.go(-1); + }, 500); + } else { + self.$toast.error('Error occured'); + } + }, function (e) { + console.error(e); // TypeError: Throwing + }); + } + }, + PostData: function PostData() { + var _this2 = this; + + return _asyncToGenerator( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee() { + var response; + return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + _context.next = 2; + return _this2.axios.put('http://localhost:8000/admin/kemaskiniBajet', { + bajetid: _this2.$route.params.id, + bajetjanuari: _this2.nilaijanuari, + bajetfebruari: _this2.nilaifebruari, + bajetmarch: _this2.nilaimarch, + bajetapril: _this2.nilaiapril, + bajetmei: _this2.nilaimei, + bajetjun: _this2.nilaijun, + bajetjulai: _this2.nilaijulai, + bajetogos: _this2.nilaiogos, + bajetseptember: _this2.nilaiseptember, + bajetoktober: _this2.nilaioktober, + bajetnovember: _this2.nilainovember, + bajetdisember: _this2.nilaidisember + }); + + case 2: + response = _context.sent; + return _context.abrupt("return", response); + + case 4: + case "end": + return _context.stop(); + } + } + }, _callee); + }))(); + } + }, + validations: { + nilaijanuari: { + required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_1__.required + }, + nilaifebruari: { + required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_1__.required + }, + nilaimarch: { + required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_1__.required + }, + nilaiapril: { + required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_1__.required + }, + nilaimei: { + required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_1__.required + }, + nilaijun: { + required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_1__.required + }, + nilaijulai: { + required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_1__.required + }, + nilaiogos: { + required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_1__.required + }, + nilaiseptember: { + required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_1__.required + }, + nilaioktober: { + required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_1__.required + }, + nilainovember: { + required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_1__.required + }, + nilaidisember: { + required: vuelidate_lib_validators__WEBPACK_IMPORTED_MODULE_1__.required } } }); @@ -17842,6 +18404,62 @@ __webpack_require__.r(__webpack_exports__); // // // +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// var formatter = new Intl.NumberFormat('en-US', { minimumFractionDigits: 2 }); @@ -17854,12 +18472,19 @@ var formatter = new Intl.NumberFormat('en-US', { keuntunganharian: 0, bajetkeuntungan: 0, percentkeuntungan: 0, + keuntunganremaining: 0, + percentcumkeuntungan: 0, penebusanharian: 0, bajetpenebusan: 0, percentpenebusan: 0, + tebusremaining: 0, + percentcumtebus: 0, gadaianharian: 0, - bajetgadai: 0, - percentgadaian: 0 + gadaianremaining: 0, + bajetgadaian: 0, + percentgadaian: 0, + percentcumgadai: 0, + bulan: '' }; }, created: function created() { @@ -17876,9 +18501,7 @@ var formatter = new Intl.NumberFormat('en-US', { kodcaw: this.$props.kodcaw } }).then(function (response) { - _this.gadaianharian = formatter.format(response.data[0].gadaiToday); - _this.bajetgadaian = formatter.format(response.data[0].bajetharian); - _this.percentgadaian = response.data[0].percentDiff; + _this.gadaianharian = formatter.format(response.data[0].gadaiToday), _this.bajetgadaian = formatter.format(response.data[0].bajetharian.toFixed(2)), _this.percentgadaian = response.data[0].percentDiff, _this.bulan = response.data[0].bulan, _this.gadaianremaining = formatter.format(response.data[0].remaining.toFixed(2)), _this.percentcumgadai = 100 - response.data[0].percentcum; })["catch"](function (error) { console.log(error); }); @@ -17891,9 +18514,7 @@ var formatter = new Intl.NumberFormat('en-US', { kodcaw: this.$props.kodcaw } }).then(function (response) { - _this2.penebusanharian = formatter.format(response.data[0].tebusToday); - _this2.bajetpenebusan = formatter.format(response.data[0].bajetharian); - _this2.percentpenebusan = response.data[0].percentDiff; + _this2.penebusanharian = formatter.format(response.data[0].tebusToday), _this2.bajetpenebusan = formatter.format(response.data[0].bajetharian.toFixed(2)), _this2.percentpenebusan = response.data[0].percentDiff, _this2.tebusremaining = formatter.format(response.data[0].remaining.toFixed(2)), _this2.percentcumtebus = 100 - response.data[0].percentcum; })["catch"](function (error) { console.log(error); }); @@ -17906,9 +18527,7 @@ var formatter = new Intl.NumberFormat('en-US', { kodcaw: this.$props.kodcaw } }).then(function (response) { - _this3.keuntunganharian = formatter.format(response.data[0].upahToday); - _this3.bajetkeuntungan = formatter.format(response.data[0].bajetharian); - _this3.percentkeuntungan = response.data[0].percentDiff; + _this3.keuntunganharian = formatter.format(response.data[0].upahToday), _this3.bajetkeuntungan = formatter.format(response.data[0].bajetharian.toFixed(2)), _this3.percentkeuntungan = response.data[0].percentDiff, _this3.keuntunganremaining = formatter.format(response.data[0].remaining.toFixed(2)), _this3.percentcumkeuntungan = 100 - response.data[0].percentcum; })["catch"](function (error) { console.log(error); }); @@ -18132,6 +18751,13 @@ var self = undefined; var response = _ref.response; console.log("".concat(response)); + _this2.getDatakeuntungan(); + }); + var channel2 = this.$pusher.subscribe('tebus-notify'); + channel2.bind('trigger-tebus', function (_ref2) { + var response = _ref2.response; + console.log("".concat(response)); + _this2.getDatakeuntungan(); }); } @@ -19529,6 +20155,58 @@ __webpack_require__.r(__webpack_exports__); /***/ }), +/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/Clock.vue?vue&type=script&lang=js&": +/*!*****************************************************************************************************************************************************************************************************************!*\ + !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/Clock.vue?vue&type=script&lang=js& ***! + \*****************************************************************************************************************************************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +// +// +// +// +var week = ['AHAD', 'ISNIN', 'SELASA', 'RABU', 'KHAMIS', 'JUMAAT', 'SABTU']; +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + data: function data() { + return { + time: '', + date: '' + }; + }, + created: function created() { + setInterval(this.updateTime, 1000); + }, + methods: { + updateTime: function updateTime() { + var cd = new Date(); + var ampm = cd.getHours() >= 12 ? 'PM' : 'AM'; + var hours = cd.getHours(); + var minutes = cd.getMinutes(); + hours = hours % 12; + hours = hours ? hours : 12; + minutes = minutes < 10 ? '0' + minutes : minutes; + this.time = this.zeroPadding(hours, 2) + ':' + this.zeroPadding(minutes, 2) + ampm; + this.date = this.zeroPadding(cd.getDate(), 2) + '-' + this.zeroPadding(cd.getMonth() + 1, 2) + '-' + this.zeroPadding(cd.getFullYear(), 4) + ' ' + week[cd.getDay()]; + }, + zeroPadding: function zeroPadding(num, digit) { + var zero = ''; + + for (var i = 0; i < digit; i++) { + zero += '0'; + } + + return (zero + num).slice(-digit); + } + } +}); + +/***/ }), + /***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/Modal.vue?vue&type=script&lang=js&": /*!*****************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/Modal.vue?vue&type=script&lang=js& ***! @@ -20099,6 +20777,24 @@ __webpack_require__.r(__webpack_exports__); /***/ }), +/***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/pages/Blacklist.vue?vue&type=script&lang=js&": +/*!***********************************************************************************************************************************************************************************************************!*\ + !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/pages/Blacklist.vue?vue&type=script&lang=js& ***! + \***********************************************************************************************************************************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +// +// +// +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({}); + +/***/ }), + /***/ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/pages/Detailspelanggan.vue?vue&type=script&lang=js&": /*!******************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/pages/Detailspelanggan.vue?vue&type=script&lang=js& ***! @@ -20523,7 +21219,7 @@ vue__WEBPACK_IMPORTED_MODULE_9__["default"].use(vue_toastification__WEBPACK_IMPO vue__WEBPACK_IMPORTED_MODULE_9__["default"].use(vuejs_datetimepicker__WEBPACK_IMPORTED_MODULE_8__["default"]); alpinejs__WEBPACK_IMPORTED_MODULE_1__["default"].start(); vue__WEBPACK_IMPORTED_MODULE_9__["default"].use(__webpack_require__(/*! vue-pusher */ "./node_modules/vue-pusher/index.js"), { - api_key: 'd95a6bc6ba2885c5f267', + api_key: '26b0ec2f297f94b7aa9b', options: { cluster: 'ap1', encrypted: true @@ -20544,8 +21240,10 @@ vue__WEBPACK_IMPORTED_MODULE_9__["default"].component('searchpelanggan-component vue__WEBPACK_IMPORTED_MODULE_9__["default"].component('laporanakaun-component', (__webpack_require__(/*! ./Akaun/Laporan.vue */ "./resources/js/Akaun/Laporan.vue")["default"])); vue__WEBPACK_IMPORTED_MODULE_9__["default"].component('online-component', (__webpack_require__(/*! ./Online/Online.vue */ "./resources/js/Online/Online.vue")["default"])); vue__WEBPACK_IMPORTED_MODULE_9__["default"].component('details-pelanggan', (__webpack_require__(/*! ./pages/Detailspelanggan.vue */ "./resources/js/pages/Detailspelanggan.vue")["default"])); +vue__WEBPACK_IMPORTED_MODULE_9__["default"].component('blacklist-pelanggan', (__webpack_require__(/*! ./pages/Blacklist.vue */ "./resources/js/pages/Blacklist.vue")["default"])); vue__WEBPACK_IMPORTED_MODULE_9__["default"].component('harian-component', (__webpack_require__(/*! ./components/Analisa/Harian.vue */ "./resources/js/components/Analisa/Harian.vue")["default"])); vue__WEBPACK_IMPORTED_MODULE_9__["default"].component('senaraibajet-component', (__webpack_require__(/*! ./Bajet/Homebajet.vue */ "./resources/js/Bajet/Homebajet.vue")["default"])); +vue__WEBPACK_IMPORTED_MODULE_9__["default"].component('clock-component', (__webpack_require__(/*! ./components/util/Clock.vue */ "./resources/js/components/util/Clock.vue")["default"])); vue__WEBPACK_IMPORTED_MODULE_9__["default"].component('apexchart', (vue_apexcharts__WEBPACK_IMPORTED_MODULE_0___default())); // Vue.component('Navbar', require('./components/Navbar.vue').default); /** @@ -27064,6 +27762,30 @@ ___CSS_LOADER_EXPORT___.push([module.id, "\n.year-month-wrapper[data-v-4bd11526] /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___); +/***/ }), + +/***/ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Akaun/Pendahuluanserahan.vue?vue&type=style&index=0&lang=css&": +/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Akaun/Pendahuluanserahan.vue?vue&type=style&index=0&lang=css& ***! + \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/***/ ((module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js"); +/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__); +// Imports + +var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]}); +// Module +___CSS_LOADER_EXPORT___.push([module.id, "\n.radio input:checked + label{\r\n border-color:#F6D860;\r\n\tbackground-color:#FFF1BD;\r\n outline:none;\n}\r\n\r\n", ""]); +// Exports +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___); + + /***/ }), /***/ "./node_modules/css-loader/dist/runtime/api.js": @@ -67230,6 +67952,36 @@ var update = _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMP /***/ }), +/***/ "./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Akaun/Pendahuluanserahan.vue?vue&type=style&index=0&lang=css&": +/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\ + !*** ./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Akaun/Pendahuluanserahan.vue?vue&type=style&index=0&lang=css& ***! + \********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"); +/* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _node_modules_css_loader_dist_cjs_js_clonedRuleSet_9_0_rules_0_use_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_9_0_rules_0_use_2_node_modules_vue_loader_lib_index_js_vue_loader_options_Pendahuluanserahan_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !!../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Pendahuluanserahan.vue?vue&type=style&index=0&lang=css& */ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Akaun/Pendahuluanserahan.vue?vue&type=style&index=0&lang=css&"); + + + +var options = {}; + +options.insert = "head"; +options.singleton = false; + +var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_css_loader_dist_cjs_js_clonedRuleSet_9_0_rules_0_use_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_9_0_rules_0_use_2_node_modules_vue_loader_lib_index_js_vue_loader_options_Pendahuluanserahan_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_1__["default"], options); + + + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_css_loader_dist_cjs_js_clonedRuleSet_9_0_rules_0_use_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_9_0_rules_0_use_2_node_modules_vue_loader_lib_index_js_vue_loader_options_Pendahuluanserahan_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_1__["default"].locals || {}); + +/***/ }), + /***/ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js": /*!****************************************************************************!*\ !*** ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***! @@ -68644,15 +69396,17 @@ __webpack_require__.r(__webpack_exports__); /* harmony export */ }); /* harmony import */ var _Pendahuluanserahan_vue_vue_type_template_id_52231fd8___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Pendahuluanserahan.vue?vue&type=template&id=52231fd8& */ "./resources/js/Akaun/Pendahuluanserahan.vue?vue&type=template&id=52231fd8&"); /* harmony import */ var _Pendahuluanserahan_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Pendahuluanserahan.vue?vue&type=script&lang=js& */ "./resources/js/Akaun/Pendahuluanserahan.vue?vue&type=script&lang=js&"); -/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js"); +/* harmony import */ var _Pendahuluanserahan_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Pendahuluanserahan.vue?vue&type=style&index=0&lang=css& */ "./resources/js/Akaun/Pendahuluanserahan.vue?vue&type=style&index=0&lang=css&"); +/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js"); +; /* normalize component */ -; -var component = (0,_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( + +var component = (0,_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( _Pendahuluanserahan_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], _Pendahuluanserahan_vue_vue_type_template_id_52231fd8___WEBPACK_IMPORTED_MODULE_0__.render, _Pendahuluanserahan_vue_vue_type_template_id_52231fd8___WEBPACK_IMPORTED_MODULE_0__.staticRenderFns, @@ -69411,6 +70165,45 @@ component.options.__file = "resources/js/components/pagination.vue" /***/ }), +/***/ "./resources/js/components/util/Clock.vue": +/*!************************************************!*\ + !*** ./resources/js/components/util/Clock.vue ***! + \************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _Clock_vue_vue_type_template_id_26a23fac___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Clock.vue?vue&type=template&id=26a23fac& */ "./resources/js/components/util/Clock.vue?vue&type=template&id=26a23fac&"); +/* harmony import */ var _Clock_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Clock.vue?vue&type=script&lang=js& */ "./resources/js/components/util/Clock.vue?vue&type=script&lang=js&"); +/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js"); + + + + + +/* normalize component */ +; +var component = (0,_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( + _Clock_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], + _Clock_vue_vue_type_template_id_26a23fac___WEBPACK_IMPORTED_MODULE_0__.render, + _Clock_vue_vue_type_template_id_26a23fac___WEBPACK_IMPORTED_MODULE_0__.staticRenderFns, + false, + null, + null, + null + +) + +/* hot reload */ +if (false) { var api; } +component.options.__file = "resources/js/components/util/Clock.vue" +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (component.exports); + +/***/ }), + /***/ "./resources/js/components/util/Modal.vue": /*!************************************************!*\ !*** ./resources/js/components/util/Modal.vue ***! @@ -69528,6 +70321,45 @@ component.options.__file = "resources/js/components/util/PetiBesiModal.vue" /***/ }), +/***/ "./resources/js/pages/Blacklist.vue": +/*!******************************************!*\ + !*** ./resources/js/pages/Blacklist.vue ***! + \******************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _Blacklist_vue_vue_type_template_id_bd26a938___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Blacklist.vue?vue&type=template&id=bd26a938& */ "./resources/js/pages/Blacklist.vue?vue&type=template&id=bd26a938&"); +/* harmony import */ var _Blacklist_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Blacklist.vue?vue&type=script&lang=js& */ "./resources/js/pages/Blacklist.vue?vue&type=script&lang=js&"); +/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js"); + + + + + +/* normalize component */ +; +var component = (0,_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])( + _Blacklist_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], + _Blacklist_vue_vue_type_template_id_bd26a938___WEBPACK_IMPORTED_MODULE_0__.render, + _Blacklist_vue_vue_type_template_id_bd26a938___WEBPACK_IMPORTED_MODULE_0__.staticRenderFns, + false, + null, + null, + null + +) + +/* hot reload */ +if (false) { var api; } +component.options.__file = "resources/js/pages/Blacklist.vue" +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (component.exports); + +/***/ }), + /***/ "./resources/js/pages/Detailspelanggan.vue": /*!*************************************************!*\ !*** ./resources/js/pages/Detailspelanggan.vue ***! @@ -70020,6 +70852,22 @@ __webpack_require__.r(__webpack_exports__); /***/ }), +/***/ "./resources/js/components/util/Clock.vue?vue&type=script&lang=js&": +/*!*************************************************************************!*\ + !*** ./resources/js/components/util/Clock.vue?vue&type=script&lang=js& ***! + \*************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _node_modules_babel_loader_lib_index_js_clonedRuleSet_5_0_rules_0_use_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Clock_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Clock.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/Clock.vue?vue&type=script&lang=js&"); + /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_babel_loader_lib_index_js_clonedRuleSet_5_0_rules_0_use_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Clock_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]); + +/***/ }), + /***/ "./resources/js/components/util/Modal.vue?vue&type=script&lang=js&": /*!*************************************************************************!*\ !*** ./resources/js/components/util/Modal.vue?vue&type=script&lang=js& ***! @@ -70068,6 +70916,22 @@ __webpack_require__.r(__webpack_exports__); /***/ }), +/***/ "./resources/js/pages/Blacklist.vue?vue&type=script&lang=js&": +/*!*******************************************************************!*\ + !*** ./resources/js/pages/Blacklist.vue?vue&type=script&lang=js& ***! + \*******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _node_modules_babel_loader_lib_index_js_clonedRuleSet_5_0_rules_0_use_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Blacklist_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Blacklist.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/pages/Blacklist.vue?vue&type=script&lang=js&"); + /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_babel_loader_lib_index_js_clonedRuleSet_5_0_rules_0_use_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Blacklist_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]); + +/***/ }), + /***/ "./resources/js/pages/Detailspelanggan.vue?vue&type=script&lang=js&": /*!**************************************************************************!*\ !*** ./resources/js/pages/Detailspelanggan.vue?vue&type=script&lang=js& ***! @@ -70095,6 +70959,19 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _style_loader_dist_cjs_js_css_loader_dist_cjs_js_clonedRuleSet_9_0_rules_0_use_1_vue_loader_lib_loaders_stylePostLoader_js_postcss_loader_dist_cjs_js_clonedRuleSet_9_0_rules_0_use_2_vue_loader_lib_index_js_vue_loader_options_datetime_picker_vue_vue_type_style_index_0_id_4bd11526_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../style-loader/dist/cjs.js!../../css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!../../vue-loader/lib/loaders/stylePostLoader.js!../../postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!../../vue-loader/lib/index.js??vue-loader-options!./datetime_picker.vue?vue&type=style&index=0&id=4bd11526&scoped=true&lang=css& */ "./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./node_modules/vuejs-datetimepicker/src/datetime_picker.vue?vue&type=style&index=0&id=4bd11526&scoped=true&lang=css&"); +/***/ }), + +/***/ "./resources/js/Akaun/Pendahuluanserahan.vue?vue&type=style&index=0&lang=css&": +/*!************************************************************************************!*\ + !*** ./resources/js/Akaun/Pendahuluanserahan.vue?vue&type=style&index=0&lang=css& ***! + \************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _node_modules_style_loader_dist_cjs_js_node_modules_css_loader_dist_cjs_js_clonedRuleSet_9_0_rules_0_use_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_9_0_rules_0_use_2_node_modules_vue_loader_lib_index_js_vue_loader_options_Pendahuluanserahan_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/style-loader/dist/cjs.js!../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Pendahuluanserahan.vue?vue&type=style&index=0&lang=css& */ "./node_modules/style-loader/dist/cjs.js!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/Akaun/Pendahuluanserahan.vue?vue&type=style&index=0&lang=css&"); + + /***/ }), /***/ "./node_modules/vuejs-datetimepicker/src/datetime_picker.vue?vue&type=script&lang=js&": @@ -70570,6 +71447,23 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_pagination_vue_vue_type_template_id_603a89b6___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./pagination.vue?vue&type=template&id=603a89b6& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/pagination.vue?vue&type=template&id=603a89b6&"); +/***/ }), + +/***/ "./resources/js/components/util/Clock.vue?vue&type=template&id=26a23fac&": +/*!*******************************************************************************!*\ + !*** ./resources/js/components/util/Clock.vue?vue&type=template&id=26a23fac& ***! + \*******************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "render": () => (/* reexport safe */ _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Clock_vue_vue_type_template_id_26a23fac___WEBPACK_IMPORTED_MODULE_0__.render), +/* harmony export */ "staticRenderFns": () => (/* reexport safe */ _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Clock_vue_vue_type_template_id_26a23fac___WEBPACK_IMPORTED_MODULE_0__.staticRenderFns) +/* harmony export */ }); +/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Clock_vue_vue_type_template_id_26a23fac___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Clock.vue?vue&type=template&id=26a23fac& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/Clock.vue?vue&type=template&id=26a23fac&"); + + /***/ }), /***/ "./resources/js/components/util/Modal.vue?vue&type=template&id=409c126a&": @@ -70621,6 +71515,23 @@ __webpack_require__.r(__webpack_exports__); /* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_PetiBesiModal_vue_vue_type_template_id_e05c6030___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PetiBesiModal.vue?vue&type=template&id=e05c6030& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/PetiBesiModal.vue?vue&type=template&id=e05c6030&"); +/***/ }), + +/***/ "./resources/js/pages/Blacklist.vue?vue&type=template&id=bd26a938&": +/*!*************************************************************************!*\ + !*** ./resources/js/pages/Blacklist.vue?vue&type=template&id=bd26a938& ***! + \*************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "render": () => (/* reexport safe */ _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Blacklist_vue_vue_type_template_id_bd26a938___WEBPACK_IMPORTED_MODULE_0__.render), +/* harmony export */ "staticRenderFns": () => (/* reexport safe */ _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Blacklist_vue_vue_type_template_id_bd26a938___WEBPACK_IMPORTED_MODULE_0__.staticRenderFns) +/* harmony export */ }); +/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_Blacklist_vue_vue_type_template_id_bd26a938___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Blacklist.vue?vue&type=template&id=bd26a938& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/pages/Blacklist.vue?vue&type=template&id=bd26a938&"); + + /***/ }), /***/ "./resources/js/pages/Detailspelanggan.vue?vue&type=template&id=498216d0&": @@ -70981,130 +71892,121 @@ var render = function () { var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "container" }, [ - _c( - "button", - { - staticClass: - "bg-white hover:bg-gray-200 text-black text-center py-2 px-4 rounded", - }, - [ - _c("router-link", { attrs: { to: "/akaunhome" } }, [ - _vm._v("\n Kembali\n "), - ]), - ], - 1 - ), - _vm._v(" "), - _c("div", { staticClass: "h-full" }, [ - _c("div", { staticClass: "flex" }, [ - _vm._m(0), + _c("div", { staticClass: "flex w-screen" }, [ + _c("div", { staticClass: "w-1/3 p-8 mx-auto" }, [ + _c( + "div", + { + staticClass: + "bg-yellow-600 text-gray-200 text-lg px-6 py-4 rounded-t-lg", + }, + [ + _c("router-link", { attrs: { to: "/akaunhome" } }, [ + _c("i", { staticClass: "fas fa-backspace text-white" }), + ]), + _vm._v(" "), + _c( + "span", + { staticClass: "text-center mx-auto text-white font-bold" }, + [_vm._v("Laporan Ansuran")] + ), + ], + 1 + ), _vm._v(" "), - _c("div", { staticClass: "w-3/5 p-8" }, [ - _c( - "form", - { - attrs: { - method: "get", - id: "formansuran", - action: _vm.Urlredirect(), - }, + _c( + "form", + { + attrs: { + method: "get", + id: "formansuran", + action: _vm.Urlredirect(), + target: "_blank", }, - [ - _c("div", { staticClass: "rounded bg-white shadow p-6" }, [ - _c("div", { staticClass: "pb-6" }, [ + }, + [ + _c("div", { staticClass: "rounded bg-white shadow p-6" }, [ + _c("div", { staticClass: "pb-6" }, [ + _c( + "label", + { + staticClass: "font-semibold text-gray-700 block pb-1", + attrs: { for: "username" }, + }, + [_vm._v("Tarikh")] + ), + _vm._v(" "), + _c("div", { staticClass: "flex" }, [ + _c("input", { + attrs: { type: "hidden", name: "jenis" }, + domProps: { value: _vm.jenisgenerate }, + }), + _vm._v(" "), _c( - "label", + "span", { - staticClass: "font-semibold text-gray-700 block pb-1", - attrs: { for: "username" }, + staticClass: + "text-gray-600 border border-2 rounded-l px-4 py-2 whitespace-no-wrap", + staticStyle: { "background-color": "#F9FAFB" }, }, - [_vm._v("Tarikh")] + [_vm._v("Mula")] ), _vm._v(" "), - _c("div", { staticClass: "flex" }, [ - _c( - "span", - { - staticClass: - "text-gray-600 border border-2 rounded-l px-4 py-2 whitespace-no-wrap", - staticStyle: { "background-color": "#F9FAFB" }, - }, - [_vm._v("Mula")] - ), - _vm._v(" "), - _c("input", { + _c("input", { + staticClass: + "border border-2 border-l-0 rounded-r px-4 py-2 w-80r mr-2", + attrs: { + id: "tarikhmula", + name: "datetimepicker1", + type: "date", + }, + }), + _vm._v(" "), + _c( + "button", + { staticClass: - "border border-2 border-l-0 rounded-r px-4 py-2 w-80r mr-2", - attrs: { - id: "tarikhmula", - name: "datetimepicker1", - type: "date", - }, - }), - _vm._v(" "), - _c( - "button", - { - staticClass: - " mr-2 border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", - on: { - click: function ($event) { - $event.preventDefault() - return _vm.generatepdf.apply(null, arguments) - }, + " mr-2 border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", + on: { + click: function ($event) { + $event.preventDefault() + return _vm.generatepdf.apply(null, arguments) }, }, - [ - _c("i", { staticClass: "fas fa-file-pdf mr-2" }), - _vm._v("PDF"), - ] - ), - _vm._v(" "), - _c( - "button", - { - staticClass: - "border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", - on: { - click: function ($event) { - $event.preventDefault() - return _vm.generateview.apply(null, arguments) - }, + }, + [ + _c("i", { staticClass: "fas fa-file-pdf mr-2" }), + _vm._v("PDF"), + ] + ), + _vm._v(" "), + _c( + "button", + { + staticClass: + "border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", + on: { + click: function ($event) { + $event.preventDefault() + return _vm.generateview.apply(null, arguments) }, }, - [ - _c("i", { staticClass: "fas fa-eye mr-2" }), - _vm._v("View"), - ] - ), - ]), + }, + [ + _c("i", { staticClass: "fas fa-eye mr-2" }), + _vm._v("View"), + ] + ), ]), ]), - ] - ), - ]), + ]), + ] + ), ]), ]), ]) } -var staticRenderFns = [ - function () { - var _vm = this - var _h = _vm.$createElement - var _c = _vm._self._c || _h - return _c("div", { staticClass: "w-2/5 p-8" }, [ - _c("span", { staticClass: "text-xl font-semibold block" }, [ - _vm._v("Ansuran"), - ]), - _vm._v(" "), - _c("span", { staticClass: "text-gray-600" }, [ - _vm._v( - "Pilihan tarikh untuk melihat setiap Ansuran bagi pilihan bulan" - ), - ]), - ]) - }, -] +var staticRenderFns = [] render._withStripped = true @@ -71128,130 +72030,121 @@ var render = function () { var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "container" }, [ - _c( - "button", - { - staticClass: - "bg-white hover:bg-gray-200 text-black text-center py-2 px-4 rounded", - }, - [ - _c("router-link", { attrs: { to: "/akaunhome" } }, [ - _vm._v("\n Kembali\n "), - ]), - ], - 1 - ), - _vm._v(" "), - _c("div", { staticClass: "h-full" }, [ - _c("div", { staticClass: "flex" }, [ - _vm._m(0), + _c("div", { staticClass: "flex w-screen" }, [ + _c("div", { staticClass: "w-1/3 p-8 mx-auto" }, [ + _c( + "div", + { + staticClass: + "bg-yellow-600 text-gray-200 text-lg px-6 py-4 rounded-t-lg", + }, + [ + _c("router-link", { attrs: { to: "/akaunhome" } }, [ + _c("i", { staticClass: "fas fa-backspace text-white" }), + ]), + _vm._v(" "), + _c( + "span", + { staticClass: "text-center mx-auto text-white font-bold" }, + [_vm._v("Laporan Gadaian")] + ), + ], + 1 + ), _vm._v(" "), - _c("div", { staticClass: "w-3/5 p-8" }, [ - _c( - "form", - { - attrs: { - method: "get", - id: "formgadaian", - action: _vm.Urlredirect(), - }, + _c( + "form", + { + attrs: { + method: "get", + id: "formgadaian", + action: _vm.Urlredirect(), + target: "_blank", }, - [ - _c("div", { staticClass: "rounded bg-white shadow p-6" }, [ - _c("div", { staticClass: "pb-6" }, [ + }, + [ + _c("div", { staticClass: "rounded bg-white shadow p-6" }, [ + _c("div", { staticClass: "pb-6" }, [ + _c( + "label", + { + staticClass: "font-semibold text-gray-700 block pb-1", + attrs: { for: "username" }, + }, + [_vm._v("Tarikh")] + ), + _vm._v(" "), + _c("div", { staticClass: "flex" }, [ + _c("input", { + attrs: { type: "hidden", name: "jenis" }, + domProps: { value: _vm.jenisgenerate }, + }), + _vm._v(" "), _c( - "label", + "span", { - staticClass: "font-semibold text-gray-700 block pb-1", - attrs: { for: "username" }, + staticClass: + "text-gray-600 border border-2 rounded-l px-4 py-2 whitespace-no-wrap", + staticStyle: { "background-color": "#F9FAFB" }, }, - [_vm._v("Tarikh")] + [_vm._v("Mula")] ), _vm._v(" "), - _c("div", { staticClass: "flex" }, [ - _c( - "span", - { - staticClass: - "text-gray-600 border border-2 rounded-l px-4 py-2 whitespace-no-wrap", - staticStyle: { "background-color": "#F9FAFB" }, - }, - [_vm._v("Mula")] - ), - _vm._v(" "), - _c("input", { + _c("input", { + staticClass: + "border border-2 border-l-0 rounded-r px-4 py-2 w-80r mr-2", + attrs: { + id: "tarikhmula", + name: "datetarikh", + type: "date", + }, + }), + _vm._v(" "), + _c( + "button", + { staticClass: - "border border-2 border-l-0 rounded-r px-4 py-2 w-80r mr-2", - attrs: { - id: "tarikhmula", - name: "datetimepicker1", - type: "date", - }, - }), - _vm._v(" "), - _c( - "button", - { - staticClass: - " mr-2 border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", - on: { - click: function ($event) { - $event.preventDefault() - return _vm.generatepdf.apply(null, arguments) - }, + " mr-2 border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", + on: { + click: function ($event) { + $event.preventDefault() + return _vm.generatepdf.apply(null, arguments) }, }, - [ - _c("i", { staticClass: "fas fa-file-pdf mr-2" }), - _vm._v("PDF"), - ] - ), - _vm._v(" "), - _c( - "button", - { - staticClass: - "border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", - on: { - click: function ($event) { - $event.preventDefault() - return _vm.generateview.apply(null, arguments) - }, + }, + [ + _c("i", { staticClass: "fas fa-file-pdf mr-2" }), + _vm._v("PDF"), + ] + ), + _vm._v(" "), + _c( + "button", + { + staticClass: + "border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", + on: { + click: function ($event) { + $event.preventDefault() + return _vm.generateview.apply(null, arguments) }, }, - [ - _c("i", { staticClass: "fas fa-eye mr-2" }), - _vm._v("View"), - ] - ), - ]), + }, + [ + _c("i", { staticClass: "fas fa-eye mr-2" }), + _vm._v("View"), + ] + ), ]), ]), - ] - ), - ]), + ]), + ] + ), ]), ]), ]) } -var staticRenderFns = [ - function () { - var _vm = this - var _h = _vm.$createElement - var _c = _vm._self._c || _h - return _c("div", { staticClass: "w-2/5 p-8" }, [ - _c("span", { staticClass: "text-xl font-semibold block" }, [ - _vm._v("Gadaian"), - ]), - _vm._v(" "), - _c("span", { staticClass: "text-gray-600" }, [ - _vm._v( - "Pilihan tarikh untuk melihat setiap imbangduga bagi pilihan bulan" - ), - ]), - ]) - }, -] +var staticRenderFns = [] render._withStripped = true @@ -71278,190 +72171,197 @@ var render = function () { "div", { staticClass: "mx-auto content-center flex justify-center items-center" }, [ - _c( - "div", - { - staticClass: - "bg-white shadow px-6 py-4 border border-solid rounded-lg w-1/6 mr-3 hover:bg-yellow-300 hover:transition-all cursor-pointer", - }, - [ - _c("router-link", { attrs: { to: "/akaunhome/imbangduga" } }, [ - _c("img", { - attrs: { src: "/img/balance-sheet.png", alt: "Windster Logo" }, - }), - _vm._v(" "), - _c( - "h2", - { - staticClass: - "mx-auto text-center font-bold text-2xl mt-4 uppercase", - }, - [_vm._v("Imbang Duga")] - ), - ]), - ], - 1 - ), - _vm._v(" "), - _c( - "div", - { - staticClass: - "bg-white shadow px-6 py-4 border border-solid rounded-lg w-1/6 hover:bg-yellow-300 hover:transition-all cursor-pointer", - }, - [ - _c("router-link", { attrs: { to: "/akaunhome/lejeram" } }, [ - _c("img", { - attrs: { src: "/img/ledger.png", alt: "Windster Logo" }, - }), - _vm._v(" "), - _c( - "h2", - { - staticClass: - "mx-auto text-center font-bold text-2xl mt-4 uppercase", - }, - [_vm._v("Lejer Am")] - ), - ]), - ], - 1 - ), - _vm._v(" "), - _c("br"), - _vm._v(" "), - _c("div", { staticClass: "ml-3" }, [ - _c( - "div", - { - staticClass: - "bg-white shadow border border-solid px-6 py-4 rounded-lg hover:bg-yellow-300 hover:transition-all mb-2 cursor-pointer", - }, - [ - _c("router-link", { attrs: { to: "/akaunhome/gadaian" } }, [ - _c( - "h2", - { - staticClass: - "mx-auto text-center font-bold text-2xl uppercase", - }, - [_vm._v("Gadaian")] - ), - ]), - ], - 1 - ), + _c("div", { staticClass: "grid grid-rows-1" }, [ + _c("div", { staticClass: "grid grid-cols-2 gap-1 mx-auto" }, [ + _c( + "div", + { + staticClass: + "bg-white shadow border border-solid px-6 py-4 rounded-lg hover:bg-yellow-300 hover:transition-all mb-2 cursor-pointer", + }, + [ + _c("router-link", { attrs: { to: "/akaunhome/imbangduga" } }, [ + _c("img", { + staticClass: "h-20 w-20 mx-auto", + attrs: { + src: "/img/balance-sheet.png", + alt: "Windster Logo", + }, + }), + _vm._v(" "), + _c( + "h2", + { + staticClass: + "mx-auto text-center font-bold text-2xl uppercase", + }, + [_vm._v("Imbang Duga")] + ), + ]), + ], + 1 + ), + _vm._v(" "), + _c( + "div", + { + staticClass: + "bg-white shadow border border-solid px-6 py-4 rounded-lg hover:bg-yellow-300 hover:transition-all mb-2 cursor-pointer", + }, + [ + _c("router-link", { attrs: { to: "/akaunhome/lejeram" } }, [ + _c("img", { + staticClass: "h-20 w-20 mx-auto", + attrs: { src: "/img/ledger.png", alt: "Windster Logo" }, + }), + _vm._v(" "), + _c( + "h2", + { + staticClass: + "mx-auto text-center font-bold text-2xl uppercase", + }, + [_vm._v("Lejer Am")] + ), + ]), + ], + 1 + ), + ]), _vm._v(" "), - _c( - "div", - { - staticClass: - "bg-white shadow border border-solid px-6 py-4 rounded-lg hover:bg-yellow-300 hover:transition-all mb-2 cursor-pointer", - }, - [ - _c("router-link", { attrs: { to: "/akaunhome/penebusan" } }, [ - _c( - "h2", - { - staticClass: - "mx-auto text-center font-bold text-2xl uppercase", - }, - [_vm._v("Penebusan")] - ), - ]), - ], - 1 - ), + _c("br"), _vm._v(" "), - _c( - "div", - { - staticClass: - "bg-white shadow border border-solid px-6 py-4 rounded-lg hover:bg-yellow-300 hover:transition-all mb-2 cursor-pointer", - }, - [ - _c( - "router-link", - { attrs: { to: "/akaunhome/Pendahuluanserahan" } }, - [ + _c("div", { staticClass: "ml-3 grid grid-cols-3" }, [ + _c( + "div", + { + staticClass: + "bg-white ml-2 shadow border border-solid px-6 py-4 rounded-lg hover:bg-yellow-300 hover:transition-all mb-2 cursor-pointer", + }, + [ + _c("router-link", { attrs: { to: "/akaunhome/gadaian" } }, [ + _c( + "h2", + { + staticClass: + "mx-auto text-center font-bold text-2xl uppercase", + }, + [_vm._v("Gadaian")] + ), + ]), + ], + 1 + ), + _vm._v(" "), + _c( + "div", + { + staticClass: + "bg-white ml-2 shadow border border-solid px-6 py-4 rounded-lg hover:bg-yellow-300 hover:transition-all mb-2 cursor-pointer", + }, + [ + _c("router-link", { attrs: { to: "/akaunhome/penebusan" } }, [ + _c( + "h2", + { + staticClass: + "mx-auto text-center font-bold text-2xl uppercase", + }, + [_vm._v("Penebusan")] + ), + ]), + ], + 1 + ), + _vm._v(" "), + _c( + "div", + { + staticClass: + "bg-white ml-2 shadow border border-solid px-6 py-4 rounded-lg hover:bg-yellow-300 hover:transition-all mb-2 cursor-pointer", + }, + [ + _c( + "router-link", + { attrs: { to: "/akaunhome/Pendahuluanserahan" } }, + [ + _c( + "h2", + { + staticClass: + "mx-auto text-center font-bold text-2xl uppercase", + }, + [_vm._v("Pendahuluan & Serahan")] + ), + ] + ), + ], + 1 + ), + _vm._v(" "), + _c( + "div", + { + staticClass: + "bg-white ml-2 shadow border border-solid px-6 py-4 rounded-lg hover:bg-yellow-300 hover:transition-all mb-2 cursor-pointer", + }, + [ + _c("router-link", { attrs: { to: "/akaunhome/Tuntutbaki" } }, [ _c( "h2", { staticClass: "mx-auto text-center font-bold text-2xl uppercase", }, - [_vm._v("Pendahuluan & Serahan")] + [_vm._v("Tuntut Baki")] ), - ] - ), - ], - 1 - ), - _vm._v(" "), - _c( - "div", - { - staticClass: - "bg-white shadow border border-solid px-6 py-4 rounded-lg hover:bg-yellow-300 hover:transition-all mb-2 cursor-pointer", - }, - [ - _c("router-link", { attrs: { to: "/akaunhome/Tuntutbaki" } }, [ - _c( - "h2", - { - staticClass: - "mx-auto text-center font-bold text-2xl uppercase", - }, - [_vm._v("Tuntut Baki")] - ), - ]), - ], - 1 - ), - ]), - _vm._v(" "), - _c("div", { staticClass: "ml-3" }, [ - _c( - "div", - { - staticClass: - "bg-white shadow border border-solid px-6 py-4 rounded-lg hover:bg-yellow-300 hover:transition-all mb-2 cursor-pointer", - }, - [ - _c("router-link", { attrs: { to: "/akaunhome/ansuran" } }, [ - _c( - "h2", - { - staticClass: - "mx-auto text-center font-bold text-2xl uppercase", - }, - [_vm._v("Ansuran")] - ), - ]), - ], - 1 - ), - _vm._v(" "), - _c( - "div", - { - staticClass: - "bg-white shadow border border-solid px-6 py-4 rounded-lg hover:bg-yellow-300 hover:transition-all mb-2 cursor-pointer", - }, - [ - _c("router-link", { attrs: { to: "/akaunhome/upah" } }, [ - _c( - "h2", - { - staticClass: - "mx-auto text-center font-bold text-2xl uppercase", - }, - [_vm._v("Upah")] - ), - ]), - ], - 1 - ), + ]), + ], + 1 + ), + _vm._v(" "), + _c( + "div", + { + staticClass: + "bg-white ml-2 shadow border border-solid px-6 py-4 rounded-lg hover:bg-yellow-300 hover:transition-all mb-2 cursor-pointer", + }, + [ + _c("router-link", { attrs: { to: "/akaunhome/ansuran" } }, [ + _c( + "h2", + { + staticClass: + "mx-auto text-center font-bold text-2xl uppercase", + }, + [_vm._v("Ansuran")] + ), + ]), + ], + 1 + ), + _vm._v(" "), + _c( + "div", + { + staticClass: + "bg-white ml-2 shadow border border-solid px-6 py-4 rounded-lg hover:bg-yellow-300 hover:transition-all mb-2 cursor-pointer", + }, + [ + _c("router-link", { attrs: { to: "/akaunhome/upah" } }, [ + _c( + "h2", + { + staticClass: + "mx-auto text-center font-bold text-2xl uppercase", + }, + [_vm._v("Upah")] + ), + ]), + ], + 1 + ), + ]), ]), ] ) @@ -71490,130 +72390,120 @@ var render = function () { var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "container" }, [ - _c( - "button", - { - staticClass: - "bg-white hover:bg-gray-200 text-black text-center py-2 px-4 rounded", - }, - [ - _c("router-link", { attrs: { to: "/akaunhome" } }, [ - _vm._v("\n Kembali\n "), - ]), - ], - 1 - ), - _vm._v(" "), - _c("div", { staticClass: "h-full" }, [ - _c("div", { staticClass: "flex" }, [ - _vm._m(0), + _c("div", { staticClass: "flex w-screen" }, [ + _c("div", { staticClass: "w-1/3 p-8 mx-auto" }, [ + _c( + "div", + { + staticClass: + "bg-yellow-600 text-gray-200 text-lg px-6 py-4 rounded-t-lg", + }, + [ + _c("router-link", { attrs: { to: "/akaunhome" } }, [ + _c("i", { staticClass: "fas fa-backspace text-white" }), + ]), + _vm._v(" "), + _c( + "span", + { staticClass: "text-center mx-auto text-white font-bold" }, + [_vm._v("Laporan Imbang Duga")] + ), + ], + 1 + ), _vm._v(" "), - _c("div", { staticClass: "w-3/5 p-8" }, [ - _c( - "form", - { - attrs: { - method: "get", - id: "formimbangduga", - action: _vm.Urlredirect(), - }, + _c( + "form", + { + attrs: { + method: "get", + id: "formimbangduga", + action: _vm.Urlredirect(), }, - [ - _c("div", { staticClass: "rounded bg-white shadow p-6" }, [ - _c("div", { staticClass: "pb-6" }, [ + }, + [ + _c("div", { staticClass: "rounded bg-white shadow p-6" }, [ + _c("div", { staticClass: "pb-6" }, [ + _c( + "label", + { + staticClass: "font-semibold text-gray-700 block pb-1", + attrs: { for: "username" }, + }, + [_vm._v("Tarikh")] + ), + _vm._v(" "), + _c("div", { staticClass: "flex" }, [ + _c("input", { + attrs: { type: "hidden", name: "jenis" }, + domProps: { value: _vm.jenisgenerate }, + }), + _vm._v(" "), _c( - "label", + "span", { - staticClass: "font-semibold text-gray-700 block pb-1", - attrs: { for: "username" }, + staticClass: + "text-gray-600 border border-2 rounded-l px-4 py-2 whitespace-no-wrap", + staticStyle: { "background-color": "#F9FAFB" }, }, - [_vm._v("Tarikh")] + [_vm._v("Mula")] ), _vm._v(" "), - _c("div", { staticClass: "flex" }, [ - _c( - "span", - { - staticClass: - "text-gray-600 border border-2 rounded-l px-4 py-2 whitespace-no-wrap", - staticStyle: { "background-color": "#F9FAFB" }, - }, - [_vm._v("Mula")] - ), - _vm._v(" "), - _c("input", { + _c("input", { + staticClass: + "border border-2 border-l-0 rounded-r px-4 py-2 w-80r mr-2", + attrs: { + id: "tarikhmula", + name: "datetimepicker1", + type: "date", + }, + }), + _vm._v(" "), + _c( + "button", + { staticClass: - "border border-2 border-l-0 rounded-r px-4 py-2 w-80r mr-2", - attrs: { - id: "tarikhmula", - name: "datetimepicker1", - type: "date", - }, - }), - _vm._v(" "), - _c( - "button", - { - staticClass: - " mr-2 border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", - on: { - click: function ($event) { - $event.preventDefault() - return _vm.generatepdf.apply(null, arguments) - }, + " mr-2 border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", + on: { + click: function ($event) { + $event.preventDefault() + return _vm.generatepdf.apply(null, arguments) }, }, - [ - _c("i", { staticClass: "fas fa-file-pdf mr-2" }), - _vm._v("PDF"), - ] - ), - _vm._v(" "), - _c( - "button", - { - staticClass: - "border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", - on: { - click: function ($event) { - $event.preventDefault() - return _vm.generateview.apply(null, arguments) - }, + }, + [ + _c("i", { staticClass: "fas fa-file-pdf mr-2" }), + _vm._v("PDF"), + ] + ), + _vm._v(" "), + _c( + "button", + { + staticClass: + "border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", + on: { + click: function ($event) { + $event.preventDefault() + return _vm.generateview.apply(null, arguments) }, }, - [ - _c("i", { staticClass: "fas fa-eye mr-2" }), - _vm._v("View"), - ] - ), - ]), + }, + [ + _c("i", { staticClass: "fas fa-eye mr-2" }), + _vm._v("View"), + ] + ), ]), ]), - ] - ), - ]), + ]), + ] + ), ]), ]), ]) } -var staticRenderFns = [ - function () { - var _vm = this - var _h = _vm.$createElement - var _c = _vm._self._c || _h - return _c("div", { staticClass: "w-2/5 p-8" }, [ - _c("span", { staticClass: "text-xl font-semibold block" }, [ - _vm._v("Imbang Duga"), - ]), - _vm._v(" "), - _c("span", { staticClass: "text-gray-600" }, [ - _vm._v( - "Pilihan tarikh untuk melihat setiap imbangduga bagi pilihan bulan" - ), - ]), - ]) - }, -] +var staticRenderFns = [] render._withStripped = true @@ -71662,149 +72552,130 @@ var render = function () { var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "container" }, [ - _c( - "button", - { - staticClass: - "bg-white hover:bg-gray-200 text-black text-center py-2 px-4 rounded", - }, - [ - _c("router-link", { attrs: { to: "/akaunhome" } }, [ - _vm._v("\n Kembali\n "), - ]), - ], - 1 - ), - _vm._v(" "), - _c("div", { staticClass: "h-full" }, [ - _c("div", { staticClass: "flex" }, [ - _vm._m(0), + _c("div", { staticClass: "flex w-screen" }, [ + _c("div", { staticClass: "w-1/2 p-8 mx-auto" }, [ + _c( + "div", + { + staticClass: + "bg-yellow-600 text-gray-200 text-lg px-6 py-4 rounded-t-lg", + }, + [ + _c("router-link", { attrs: { to: "/akaunhome" } }, [ + _c("i", { staticClass: "fas fa-backspace text-white" }), + ]), + _vm._v(" "), + _c( + "span", + { staticClass: "text-center mx-auto text-white font-bold" }, + [_vm._v("Laporan Lejer Am")] + ), + ], + 1 + ), _vm._v(" "), - _c("div", { staticClass: "w-4/6 p-8" }, [ - _c( - "form", - { - attrs: { - method: "get", - id: "formlejeram", - target: "_blank", - action: _vm.Urlredirect(), - }, + _c( + "form", + { + attrs: { + method: "get", + id: "formlejeram", + target: "_blank", + action: _vm.Urlredirect(), }, - [ - _c("div", { staticClass: "rounded bg-white shadow p-6" }, [ - _c("div", { staticClass: "pb-6" }, [ + }, + [ + _c("div", { staticClass: "rounded bg-white shadow p-6" }, [ + _c("div", { staticClass: "pb-6" }, [ + _c("div", { staticClass: "flex place-content-center mb-2" }, [ + _c("input", { + attrs: { type: "hidden", name: "jenis" }, + domProps: { value: _vm.jenisgenerate }, + }), + _vm._v(" "), _c( - "label", + "span", { - staticClass: "font-semibold text-gray-700 block pb-1", - attrs: { for: "username" }, + staticClass: + "text-gray-600 border border-2 rounded-l px-4 py-2 whitespace-no-wrap", + staticStyle: { "background-color": "#F9FAFB" }, }, - [_vm._v("Tarikh")] + [_vm._v("Mula")] ), _vm._v(" "), - _c("div", { staticClass: "flex" }, [ - _c( - "span", - { - staticClass: - "text-gray-600 border border-2 rounded-l px-4 py-2 whitespace-no-wrap", - staticStyle: { "background-color": "#F9FAFB" }, - }, - [_vm._v("Mula")] - ), - _vm._v(" "), - _c("input", { + _c("input", { + staticClass: + "border border-2 border-l-0 rounded-r px-4 py-2 mr-2", + attrs: { id: "tarikhmula", name: "datemula", type: "date" }, + }), + _vm._v(" "), + _c( + "span", + { staticClass: - "border border-2 border-l-0 rounded-r px-4 py-2 mr-2", - attrs: { - id: "tarikhmula", - name: "datemula", - type: "date", - }, - }), - _vm._v(" "), - _c( - "span", - { - staticClass: - "text-gray-600 border border-2 rounded-l px-4 py-2 whitespace-no-wrap", - staticStyle: { "background-color": "#F9FAFB" }, - }, - [_vm._v("Hingga")] - ), - _vm._v(" "), - _c("input", { + "text-gray-600 border border-2 rounded-l px-4 py-2 whitespace-no-wrap", + staticStyle: { "background-color": "#F9FAFB" }, + }, + [_vm._v("Hingga")] + ), + _vm._v(" "), + _c("input", { + staticClass: + "border border-2 border-l-0 rounded-r px-4 py-2 mr-2", + attrs: { + id: "tarikhakhir", + name: "datehingga", + type: "date", + }, + }), + ]), + _vm._v(" "), + _c("div", { staticClass: "flex justify-end mt-10" }, [ + _c( + "button", + { staticClass: - "border border-2 border-l-0 rounded-r px-4 py-2 mr-2", - attrs: { - id: "tarikhakhir", - name: "datehingga", - type: "date", - }, - }), - _vm._v(" "), - _c( - "button", - { - staticClass: - " mr-2 border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", - on: { - click: function ($event) { - $event.preventDefault() - return _vm.generatepdf.apply(null, arguments) - }, + " mr-2 border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", + on: { + click: function ($event) { + $event.preventDefault() + return _vm.generatepdf.apply(null, arguments) }, }, - [ - _c("i", { staticClass: "fas fa-file-pdf mr-2" }), - _vm._v("PDF"), - ] - ), - _vm._v(" "), - _c( - "button", - { - staticClass: - "border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", - on: { - click: function ($event) { - $event.preventDefault() - return _vm.generateview.apply(null, arguments) - }, + }, + [ + _c("i", { staticClass: "fas fa-file-pdf mr-2" }), + _vm._v("PDF"), + ] + ), + _vm._v(" "), + _c( + "button", + { + staticClass: + "border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", + on: { + click: function ($event) { + $event.preventDefault() + return _vm.generateview.apply(null, arguments) }, }, - [ - _c("i", { staticClass: "fas fa-eye mr-2" }), - _vm._v("View"), - ] - ), - ]), + }, + [ + _c("i", { staticClass: "fas fa-eye mr-2" }), + _vm._v("View"), + ] + ), ]), ]), - ] - ), - ]), + ]), + ] + ), ]), ]), ]) } -var staticRenderFns = [ - function () { - var _vm = this - var _h = _vm.$createElement - var _c = _vm._self._c || _h - return _c("div", { staticClass: "w-2/6 p-8" }, [ - _c("span", { staticClass: "text-xl font-semibold block" }, [ - _vm._v("Lejer Am"), - ]), - _vm._v(" "), - _c("span", { staticClass: "text-gray-600" }, [ - _vm._v("Pilihan tarikh untuk melihat setiap lejeram bagi pilihan hari"), - ]), - ]) - }, -] +var staticRenderFns = [] render._withStripped = true @@ -71828,130 +72699,237 @@ var render = function () { var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "container" }, [ - _c( - "button", - { - staticClass: - "bg-white hover:bg-gray-200 text-black text-center py-2 px-4 rounded", - }, - [ - _c("router-link", { attrs: { to: "/akaunhome" } }, [ - _vm._v("\n Kembali\n "), - ]), - ], - 1 - ), - _vm._v(" "), - _c("div", { staticClass: "h-full" }, [ - _c("div", { staticClass: "flex" }, [ - _vm._m(0), + _c("div", { staticClass: "flex w-screen" }, [ + _c("div", { staticClass: "w-1/2 p-8 mx-auto" }, [ + _c( + "div", + { + staticClass: + "bg-yellow-600 text-gray-200 text-lg px-6 py-4 rounded-t-lg", + }, + [ + _c("router-link", { attrs: { to: "/akaunhome" } }, [ + _c("i", { staticClass: "fas fa-backspace text-white" }), + ]), + _vm._v(" "), + _c( + "span", + { staticClass: "text-center mx-auto text-white font-bold" }, + [_vm._v("Laporan Pendahuluan & Serahan")] + ), + ], + 1 + ), _vm._v(" "), - _c("div", { staticClass: "w-3/5 p-8" }, [ - _c( - "form", - { - attrs: { - method: "get", - id: "formpendser", - action: _vm.Urlredirect(), - }, + _c( + "form", + { + attrs: { + method: "get", + id: "formpendser", + action: _vm.Urlredirect(), + target: "_blank", }, - [ - _c("div", { staticClass: "rounded bg-white shadow p-6" }, [ - _c("div", { staticClass: "pb-6" }, [ + }, + [ + _c("div", { staticClass: "rounded bg-white shadow p-6" }, [ + _c("div", { staticClass: "pb-6" }, [ + _c("div", { staticClass: "flex place-content-center mb-2" }, [ + _c("input", { + attrs: { type: "hidden", name: "jenis" }, + domProps: { value: _vm.jenisgenerate }, + }), + _vm._v(" "), + _c( + "span", + { + staticClass: + "text-gray-600 border border-2 rounded-l px-4 py-2 whitespace-no-wrap", + staticStyle: { "background-color": "#F9FAFB" }, + }, + [_vm._v("Mula")] + ), + _vm._v(" "), + _c("input", { + staticClass: + "border border-2 border-l-0 rounded-r px-4 py-2 w-80r mr-2", + attrs: { id: "tarikhmula", name: "datemula", type: "date" }, + }), + _vm._v(" "), + _c( + "span", + { + staticClass: + "text-gray-600 border border-2 rounded-l px-4 py-2 whitespace-no-wrap", + staticStyle: { "background-color": "#F9FAFB" }, + }, + [_vm._v("Hingga")] + ), + _vm._v(" "), + _c("input", { + staticClass: + "border border-2 border-l-0 rounded-r px-4 py-2 w-80r mr-2", + attrs: { + id: "tarikhmula", + name: "datehingga", + type: "date", + }, + }), + ]), + ]), + _vm._v(" "), + _c("div", { staticClass: "flex justify-center mb-4" }, [ + _c("div", { staticClass: "mx-2 radio" }, [ + _c("input", { + directives: [ + { + name: "model", + rawName: "v-model", + value: _vm.selected, + expression: "selected", + }, + ], + staticClass: "hidden focus:bg-gray-500", + attrs: { + type: "radio", + id: "pendahuluan", + name: "radpendser", + value: "pendahuluan", + }, + domProps: { checked: _vm._q(_vm.selected, "pendahuluan") }, + on: { + change: function ($event) { + _vm.selected = "pendahuluan" + }, + }, + }), + _vm._v(" "), _c( "label", { - staticClass: "font-semibold text-gray-700 block pb-1", - attrs: { for: "username" }, - }, - [_vm._v("Tarikh")] - ), - _vm._v(" "), - _c("div", { staticClass: "flex" }, [ - _c( - "span", - { - staticClass: - "text-gray-600 border border-2 rounded-l px-4 py-2 whitespace-no-wrap", - staticStyle: { "background-color": "#F9FAFB" }, - }, - [_vm._v("Mula")] - ), - _vm._v(" "), - _c("input", { staticClass: - "border border-2 border-l-0 rounded-r px-4 py-2 w-80r mr-2", - attrs: { - id: "tarikhmula", - name: "datetimepicker1", - type: "date", - }, - }), - _vm._v(" "), - _c( - "button", + "cursor-pointer text-gray-500 focus:bg-gray-500 hover:bg-gray-200 focus:bg-purple-500 focus:bg-purple-500 focus:outline-none border px-10 py-4 border-solid border-gray-500 rounded", + attrs: { for: "pendahuluan" }, + }, + [_vm._v("Pendahuluan")] + ), + ]), + _vm._v(" "), + _c("div", { staticClass: "mx-2 radio cursor-pointer" }, [ + _c("input", { + directives: [ { - staticClass: - " mr-2 border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", - on: { - click: function ($event) { - $event.preventDefault() - return _vm.generatepdf.apply(null, arguments) - }, - }, + name: "model", + rawName: "v-model", + value: _vm.selected, + expression: "selected", }, - [ - _c("i", { staticClass: "fas fa-file-pdf mr-2" }), - _vm._v("PDF"), - ] - ), - _vm._v(" "), - _c( - "button", + ], + staticClass: "hidden focus:bg-gray-500", + attrs: { + type: "radio", + id: "serahan", + name: "radpendser", + value: "serahan", + }, + domProps: { checked: _vm._q(_vm.selected, "serahan") }, + on: { + change: function ($event) { + _vm.selected = "serahan" + }, + }, + }), + _vm._v(" "), + _c( + "label", + { + staticClass: + "cursor-pointer text-gray-500 focus:bg-gray-500 hover:bg-gray-200 focus:bg-purple-500 focus:outline-none border px-10 py-4 border-solid border-gray-500 rounded", + attrs: { for: "serahan" }, + }, + [_vm._v("Serahan")] + ), + ]), + _vm._v(" "), + _c("div", { staticClass: "mx-2 radio cursor-pointer" }, [ + _c("input", { + directives: [ { - staticClass: - "border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", - on: { - click: function ($event) { - $event.preventDefault() - return _vm.generateview.apply(null, arguments) - }, - }, + name: "model", + rawName: "v-model", + value: _vm.selected, + expression: "selected", }, - [ - _c("i", { staticClass: "fas fa-eye mr-2" }), - _vm._v("View"), - ] - ), - ]), + ], + staticClass: "hidden focus:bg-gray-500", + attrs: { + type: "radio", + id: "online", + name: "radpendser", + value: "online", + }, + domProps: { checked: _vm._q(_vm.selected, "online") }, + on: { + change: function ($event) { + _vm.selected = "online" + }, + }, + }), + _vm._v(" "), + _c( + "label", + { + staticClass: + "cursor-pointer text-gray-500 focus:bg-gray-500 hover:bg-gray-200 focus:bg-purple-500 focus:outline-none border px-10 py-4 border-solid border-gray-500 rounded", + attrs: { for: "online" }, + }, + [_vm._v("Serahan Online")] + ), ]), ]), - ] - ), - ]), + _vm._v(" "), + _c("div", { staticClass: "flex justify-end mt-10" }, [ + _c( + "button", + { + staticClass: + " mr-2 border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", + on: { + click: function ($event) { + $event.preventDefault() + return _vm.generatepdf.apply(null, arguments) + }, + }, + }, + [ + _c("i", { staticClass: "fas fa-file-pdf mr-2" }), + _vm._v("PDF"), + ] + ), + _vm._v(" "), + _c( + "button", + { + staticClass: + "border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", + on: { + click: function ($event) { + $event.preventDefault() + return _vm.generateview.apply(null, arguments) + }, + }, + }, + [_c("i", { staticClass: "fas fa-eye mr-2" }), _vm._v("View")] + ), + ]), + ]), + ] + ), ]), ]), ]) } -var staticRenderFns = [ - function () { - var _vm = this - var _h = _vm.$createElement - var _c = _vm._self._c || _h - return _c("div", { staticClass: "w-2/5 p-8" }, [ - _c("span", { staticClass: "text-xl font-semibold block" }, [ - _vm._v("Pendahuluan Dan Serahan"), - ]), - _vm._v(" "), - _c("span", { staticClass: "text-gray-600" }, [ - _vm._v( - "Pilihan tarikh untuk melihat setiap imbangduga bagi pilihan bulan" - ), - ]), - ]) - }, -] +var staticRenderFns = [] render._withStripped = true @@ -71975,130 +72953,121 @@ var render = function () { var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "container" }, [ - _c( - "button", - { - staticClass: - "bg-white hover:bg-gray-200 text-black text-center py-2 px-4 rounded", - }, - [ - _c("router-link", { attrs: { to: "/akaunhome" } }, [ - _vm._v("\n Kembali\n "), - ]), - ], - 1 - ), - _vm._v(" "), - _c("div", { staticClass: "h-full" }, [ - _c("div", { staticClass: "flex" }, [ - _vm._m(0), + _c("div", { staticClass: "flex w-screen" }, [ + _c("div", { staticClass: "w-1/3 p-8 mx-auto" }, [ + _c( + "div", + { + staticClass: + "bg-yellow-600 text-gray-200 text-lg px-6 py-4 rounded-t-lg", + }, + [ + _c("router-link", { attrs: { to: "/akaunhome" } }, [ + _c("i", { staticClass: "fas fa-backspace text-white" }), + ]), + _vm._v(" "), + _c( + "span", + { staticClass: "text-center mx-auto text-white font-bold" }, + [_vm._v("Laporan Penebusan")] + ), + ], + 1 + ), _vm._v(" "), - _c("div", { staticClass: "w-3/5 p-8" }, [ - _c( - "form", - { - attrs: { - method: "get", - id: "formpenebusan", - action: _vm.Urlredirect(), - }, + _c( + "form", + { + attrs: { + method: "get", + id: "formpenebusan", + action: _vm.Urlredirect(), + target: "_blank", }, - [ - _c("div", { staticClass: "rounded bg-white shadow p-6" }, [ - _c("div", { staticClass: "pb-6" }, [ + }, + [ + _c("div", { staticClass: "rounded bg-white shadow p-6" }, [ + _c("div", { staticClass: "pb-6" }, [ + _c( + "label", + { + staticClass: "font-semibold text-gray-700 block pb-1", + attrs: { for: "username" }, + }, + [_vm._v("Tarikh")] + ), + _vm._v(" "), + _c("div", { staticClass: "flex" }, [ + _c("input", { + attrs: { type: "hidden", name: "jenis" }, + domProps: { value: _vm.jenisgenerate }, + }), + _vm._v(" "), _c( - "label", + "span", { - staticClass: "font-semibold text-gray-700 block pb-1", - attrs: { for: "username" }, + staticClass: + "text-gray-600 border border-2 rounded-l px-4 py-2 whitespace-no-wrap", + staticStyle: { "background-color": "#F9FAFB" }, }, - [_vm._v("Tarikh")] + [_vm._v("Mula")] ), _vm._v(" "), - _c("div", { staticClass: "flex" }, [ - _c( - "span", - { - staticClass: - "text-gray-600 border border-2 rounded-l px-4 py-2 whitespace-no-wrap", - staticStyle: { "background-color": "#F9FAFB" }, - }, - [_vm._v("Mula")] - ), - _vm._v(" "), - _c("input", { + _c("input", { + staticClass: + "border border-2 border-l-0 rounded-r px-4 py-2 w-80r mr-2", + attrs: { + id: "tarikhmula", + name: "datetarikh", + type: "date", + }, + }), + _vm._v(" "), + _c( + "button", + { staticClass: - "border border-2 border-l-0 rounded-r px-4 py-2 w-80r mr-2", - attrs: { - id: "tarikhmula", - name: "datetimepicker1", - type: "date", - }, - }), - _vm._v(" "), - _c( - "button", - { - staticClass: - " mr-2 border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", - on: { - click: function ($event) { - $event.preventDefault() - return _vm.generatepdf.apply(null, arguments) - }, + " mr-2 border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", + on: { + click: function ($event) { + $event.preventDefault() + return _vm.generatepdf.apply(null, arguments) }, }, - [ - _c("i", { staticClass: "fas fa-file-pdf mr-2" }), - _vm._v("PDF"), - ] - ), - _vm._v(" "), - _c( - "button", - { - staticClass: - "border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", - on: { - click: function ($event) { - $event.preventDefault() - return _vm.generateview.apply(null, arguments) - }, + }, + [ + _c("i", { staticClass: "fas fa-file-pdf mr-2" }), + _vm._v("PDF"), + ] + ), + _vm._v(" "), + _c( + "button", + { + staticClass: + "border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", + on: { + click: function ($event) { + $event.preventDefault() + return _vm.generateview.apply(null, arguments) }, }, - [ - _c("i", { staticClass: "fas fa-eye mr-2" }), - _vm._v("View"), - ] - ), - ]), + }, + [ + _c("i", { staticClass: "fas fa-eye mr-2" }), + _vm._v("View"), + ] + ), ]), ]), - ] - ), - ]), + ]), + ] + ), ]), ]), ]) } -var staticRenderFns = [ - function () { - var _vm = this - var _h = _vm.$createElement - var _c = _vm._self._c || _h - return _c("div", { staticClass: "w-2/5 p-8" }, [ - _c("span", { staticClass: "text-xl font-semibold block" }, [ - _vm._v("Penebusan"), - ]), - _vm._v(" "), - _c("span", { staticClass: "text-gray-600" }, [ - _vm._v( - "Pilihan tarikh untuk melihat setiap imbangduga bagi pilihan bulan" - ), - ]), - ]) - }, -] +var staticRenderFns = [] render._withStripped = true @@ -72122,130 +73091,121 @@ var render = function () { var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "container" }, [ - _c( - "button", - { - staticClass: - "bg-white hover:bg-gray-200 text-black text-center py-2 px-4 rounded", - }, - [ - _c("router-link", { attrs: { to: "/akaunhome" } }, [ - _vm._v("\n Kembali\n "), - ]), - ], - 1 - ), - _vm._v(" "), - _c("div", { staticClass: "h-full" }, [ - _c("div", { staticClass: "flex" }, [ - _vm._m(0), + _c("div", { staticClass: "flex w-screen" }, [ + _c("div", { staticClass: "w-1/3 p-8 mx-auto" }, [ + _c( + "div", + { + staticClass: + "bg-yellow-600 text-gray-200 text-lg px-6 py-4 rounded-t-lg", + }, + [ + _c("router-link", { attrs: { to: "/akaunhome" } }, [ + _c("i", { staticClass: "fas fa-backspace text-white" }), + ]), + _vm._v(" "), + _c( + "span", + { staticClass: "text-center mx-auto text-white font-bold" }, + [_vm._v("Laporan Tuntut Baki")] + ), + ], + 1 + ), _vm._v(" "), - _c("div", { staticClass: "w-3/5 p-8" }, [ - _c( - "form", - { - attrs: { - method: "get", - id: "formtuntutbaki", - action: _vm.Urlredirect(), - }, + _c( + "form", + { + attrs: { + method: "get", + id: "formtuntutbaki", + action: _vm.Urlredirect(), + target: "_blank", }, - [ - _c("div", { staticClass: "rounded bg-white shadow p-6" }, [ - _c("div", { staticClass: "pb-6" }, [ + }, + [ + _c("div", { staticClass: "rounded bg-white shadow p-6" }, [ + _c("div", { staticClass: "pb-6" }, [ + _c( + "label", + { + staticClass: "font-semibold text-gray-700 block pb-1", + attrs: { for: "username" }, + }, + [_vm._v("Tarikh")] + ), + _vm._v(" "), + _c("div", { staticClass: "flex" }, [ + _c("input", { + attrs: { type: "hidden", name: "jenis" }, + domProps: { value: _vm.jenisgenerate }, + }), + _vm._v(" "), _c( - "label", + "span", { - staticClass: "font-semibold text-gray-700 block pb-1", - attrs: { for: "username" }, + staticClass: + "text-gray-600 border border-2 rounded-l px-4 py-2 whitespace-no-wrap", + staticStyle: { "background-color": "#F9FAFB" }, }, - [_vm._v("Tarikh")] + [_vm._v("Mula")] ), _vm._v(" "), - _c("div", { staticClass: "flex" }, [ - _c( - "span", - { - staticClass: - "text-gray-600 border border-2 rounded-l px-4 py-2 whitespace-no-wrap", - staticStyle: { "background-color": "#F9FAFB" }, - }, - [_vm._v("Mula")] - ), - _vm._v(" "), - _c("input", { + _c("input", { + staticClass: + "border border-2 border-l-0 rounded-r px-4 py-2 w-80r mr-2", + attrs: { + id: "tarikhmula", + name: "datetimepicker1", + type: "date", + }, + }), + _vm._v(" "), + _c( + "button", + { staticClass: - "border border-2 border-l-0 rounded-r px-4 py-2 w-80r mr-2", - attrs: { - id: "tarikhmula", - name: "datetimepicker1", - type: "date", - }, - }), - _vm._v(" "), - _c( - "button", - { - staticClass: - " mr-2 border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", - on: { - click: function ($event) { - $event.preventDefault() - return _vm.generatepdf.apply(null, arguments) - }, + " mr-2 border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", + on: { + click: function ($event) { + $event.preventDefault() + return _vm.generatepdf.apply(null, arguments) }, }, - [ - _c("i", { staticClass: "fas fa-file-pdf mr-2" }), - _vm._v("PDF"), - ] - ), - _vm._v(" "), - _c( - "button", - { - staticClass: - "border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", - on: { - click: function ($event) { - $event.preventDefault() - return _vm.generateview.apply(null, arguments) - }, + }, + [ + _c("i", { staticClass: "fas fa-file-pdf mr-2" }), + _vm._v("PDF"), + ] + ), + _vm._v(" "), + _c( + "button", + { + staticClass: + "border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", + on: { + click: function ($event) { + $event.preventDefault() + return _vm.generateview.apply(null, arguments) }, }, - [ - _c("i", { staticClass: "fas fa-eye mr-2" }), - _vm._v("View"), - ] - ), - ]), + }, + [ + _c("i", { staticClass: "fas fa-eye mr-2" }), + _vm._v("View"), + ] + ), ]), ]), - ] - ), - ]), + ]), + ] + ), ]), ]), ]) } -var staticRenderFns = [ - function () { - var _vm = this - var _h = _vm.$createElement - var _c = _vm._self._c || _h - return _c("div", { staticClass: "w-2/5 p-8" }, [ - _c("span", { staticClass: "text-xl font-semibold block" }, [ - _vm._v("Tuntut Baki"), - ]), - _vm._v(" "), - _c("span", { staticClass: "text-gray-600" }, [ - _vm._v( - "Pilihan tarikh untuk melihat setiap imbangduga bagi pilihan bulan" - ), - ]), - ]) - }, -] +var staticRenderFns = [] render._withStripped = true @@ -72269,130 +73229,127 @@ var render = function () { var _h = _vm.$createElement var _c = _vm._self._c || _h return _c("div", { staticClass: "container" }, [ - _c( - "button", - { - staticClass: - "bg-white hover:bg-gray-200 text-black text-center py-2 px-4 rounded", - }, - [ - _c("router-link", { attrs: { to: "/akaunhome" } }, [ - _vm._v("\n Kembali\n "), - ]), - ], - 1 - ), - _vm._v(" "), - _c("div", { staticClass: "h-full" }, [ - _c("div", { staticClass: "flex" }, [ - _vm._m(0), + _c("div", { staticClass: "flex w-screen" }, [ + _c("div", { staticClass: "w-1/2 p-8 mx-auto" }, [ + _c( + "div", + { + staticClass: + "bg-yellow-600 text-gray-200 text-lg px-6 py-4 rounded-t-lg", + }, + [ + _c("router-link", { attrs: { to: "/akaunhome" } }, [ + _c("i", { staticClass: "fas fa-backspace text-white" }), + ]), + _vm._v(" "), + _c( + "span", + { staticClass: "text-center mx-auto text-white font-bold" }, + [_vm._v("Laporan Upah")] + ), + ], + 1 + ), _vm._v(" "), - _c("div", { staticClass: "w-3/5 p-8" }, [ - _c( - "form", - { - attrs: { - method: "get", - id: "formupah", - action: _vm.Urlredirect(), - }, + _c( + "form", + { + attrs: { + method: "get", + id: "formupah", + action: _vm.Urlredirect(), + target: "_blank", }, - [ - _c("div", { staticClass: "rounded bg-white shadow p-6" }, [ - _c("div", { staticClass: "pb-6" }, [ + }, + [ + _c("div", { staticClass: "rounded bg-white shadow p-6" }, [ + _c("div", { staticClass: "pb-6" }, [ + _c("div", { staticClass: "flex justify-center mb-4" }, [ + _c("input", { + attrs: { type: "hidden", name: "jenis" }, + domProps: { value: _vm.jenisgenerate }, + }), + _vm._v(" "), _c( - "label", + "span", { - staticClass: "font-semibold text-gray-700 block pb-1", - attrs: { for: "username" }, + staticClass: + "text-gray-600 border border-2 rounded-l px-4 py-2 whitespace-no-wrap", + staticStyle: { "background-color": "#F9FAFB" }, }, - [_vm._v("Tarikh")] + [_vm._v("Mula")] ), _vm._v(" "), - _c("div", { staticClass: "flex" }, [ - _c( - "span", - { - staticClass: - "text-gray-600 border border-2 rounded-l px-4 py-2 whitespace-no-wrap", - staticStyle: { "background-color": "#F9FAFB" }, - }, - [_vm._v("Mula")] - ), - _vm._v(" "), - _c("input", { + _c("input", { + staticClass: + "border border-2 border-l-0 rounded-r px-4 py-2 w-80r mr-2", + attrs: { id: "tarikhmula", name: "datemula", type: "date" }, + }), + _vm._v(" "), + _c( + "span", + { staticClass: - "border border-2 border-l-0 rounded-r px-4 py-2 w-80r mr-2", - attrs: { - id: "tarikhmula", - name: "datetimepicker1", - type: "date", - }, - }), - _vm._v(" "), - _c( - "button", - { - staticClass: - " mr-2 border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", - on: { - click: function ($event) { - $event.preventDefault() - return _vm.generatepdf.apply(null, arguments) - }, - }, - }, - [ - _c("i", { staticClass: "fas fa-file-pdf mr-2" }), - _vm._v("PDF"), - ] - ), - _vm._v(" "), - _c( - "button", - { - staticClass: - "border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", - on: { - click: function ($event) { - $event.preventDefault() - return _vm.generateview.apply(null, arguments) - }, - }, - }, - [ - _c("i", { staticClass: "fas fa-eye mr-2" }), - _vm._v("View"), - ] - ), - ]), + "text-gray-600 border border-2 rounded-l px-4 py-2 whitespace-no-wrap", + staticStyle: { "background-color": "#F9FAFB" }, + }, + [_vm._v("Hingga")] + ), + _vm._v(" "), + _c("input", { + staticClass: + "border border-2 border-l-0 rounded-r px-4 py-2 w-80r mr-2", + attrs: { + id: "tarikhhingga", + name: "datehingga", + type: "date", + }, + }), ]), ]), - ] - ), - ]), + _vm._v(" "), + _c("div", { staticClass: "flex justify-end mt-10" }, [ + _c( + "button", + { + staticClass: + " mr-2 border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", + on: { + click: function ($event) { + $event.preventDefault() + return _vm.generatepdf.apply(null, arguments) + }, + }, + }, + [ + _c("i", { staticClass: "fas fa-file-pdf mr-2" }), + _vm._v("PDF"), + ] + ), + _vm._v(" "), + _c( + "button", + { + staticClass: + "border border-yellow-600 text-yellow-600 font-montserrat py-2 px-8 font-medium rounded-xl hover:bg-yellow-600 hover:text-white transition-all duration-300", + on: { + click: function ($event) { + $event.preventDefault() + return _vm.generateview.apply(null, arguments) + }, + }, + }, + [_c("i", { staticClass: "fas fa-eye mr-2" }), _vm._v("View")] + ), + ]), + ]), + ] + ), ]), ]), ]) } -var staticRenderFns = [ - function () { - var _vm = this - var _h = _vm.$createElement - var _c = _vm._self._c || _h - return _c("div", { staticClass: "w-2/5 p-8" }, [ - _c("span", { staticClass: "text-xl font-semibold block" }, [ - _vm._v("Upah"), - ]), - _vm._v(" "), - _c("span", { staticClass: "text-gray-600" }, [ - _vm._v( - "Pilihan tarikh untuk melihat setiap imbangduga bagi pilihan bulan" - ), - ]), - ]) - }, -] +var staticRenderFns = [] render._withStripped = true @@ -72471,27 +73428,41 @@ var render = function () { directives: [ { name: "model", - rawName: "v-model", - value: _vm.nilaijanuari, - expression: "nilaijanuari", + rawName: "v-model.trim", + value: _vm.$v.nilaijanuari.$model, + expression: "$v.nilaijanuari.$model", + modifiers: { trim: true }, }, ], staticClass: "appearance-none block w-full bg-white-200 text-gray-700 border border-gray-200 rounded py-3 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500", - domProps: { value: _vm.nilaijanuari }, + class: { + "border border-red-500 focus:border-red-500": + _vm.$v.nilaijanuari.$error, + }, + domProps: { value: _vm.$v.nilaijanuari.$model }, on: { input: function ($event) { if ($event.target.composing) { return } - _vm.nilaijanuari = $event.target.value + _vm.$set( + _vm.$v.nilaijanuari, + "$model", + $event.target.value.trim() + ) + }, + blur: function ($event) { + return _vm.$forceUpdate() }, }, }), _vm._v(" "), - _c("div", { staticClass: "text-red-500 text-xs italic" }, [ - _vm._v("Field is required"), - ]), + !_vm.$v.nilaijanuari.required + ? _c("div", { staticClass: "text-red-500 text-xs italic" }, [ + _vm._v("Field is required"), + ]) + : _vm._e(), ]), _vm._v(" "), _c("div", { staticClass: "w-full px-3 mb-4" }, [ @@ -72508,27 +73479,41 @@ var render = function () { directives: [ { name: "model", - rawName: "v-model", - value: _vm.nilaifebruari, - expression: "nilaifebruari", + rawName: "v-model.trim", + value: _vm.$v.nilaifebruari.$model, + expression: "$v.nilaifebruari.$model", + modifiers: { trim: true }, }, ], staticClass: "appearance-none block w-full bg-white-200 text-gray-700 border border-gray-200 rounded py-3 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500", - domProps: { value: _vm.nilaifebruari }, + class: { + "border border-red-500 focus:border-red-500": + _vm.$v.nilaifebruari.$error, + }, + domProps: { value: _vm.$v.nilaifebruari.$model }, on: { input: function ($event) { if ($event.target.composing) { return } - _vm.nilaifebruari = $event.target.value + _vm.$set( + _vm.$v.nilaifebruari, + "$model", + $event.target.value.trim() + ) + }, + blur: function ($event) { + return _vm.$forceUpdate() }, }, }), _vm._v(" "), - _c("div", { staticClass: "text-red-500 text-xs italic" }, [ - _vm._v("Field is required"), - ]), + !_vm.$v.nilaifebruari.required + ? _c("div", { staticClass: "text-red-500 text-xs italic" }, [ + _vm._v(" Field is required"), + ]) + : _vm._e(), ]), _vm._v(" "), _c("div", { staticClass: "w-full px-3 mb-4" }, [ @@ -72545,27 +73530,41 @@ var render = function () { directives: [ { name: "model", - rawName: "v-model", - value: _vm.nilaimarch, - expression: "nilaimarch", + rawName: "v-model.trim", + value: _vm.$v.nilaimarch.$model, + expression: "$v.nilaimarch.$model", + modifiers: { trim: true }, }, ], staticClass: "appearance-none block w-full bg-white-200 text-gray-700 border border-gray-200 rounded py-3 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500", - domProps: { value: _vm.nilaimarch }, + class: { + "border border-red-500 focus:border-red-500": + _vm.$v.nilaimarch.$error, + }, + domProps: { value: _vm.$v.nilaimarch.$model }, on: { input: function ($event) { if ($event.target.composing) { return } - _vm.nilaimarch = $event.target.value + _vm.$set( + _vm.$v.nilaimarch, + "$model", + $event.target.value.trim() + ) + }, + blur: function ($event) { + return _vm.$forceUpdate() }, }, }), _vm._v(" "), - _c("div", { staticClass: "text-red-500 text-xs italic" }, [ - _vm._v("Field is required"), - ]), + !_vm.$v.nilaimarch.required + ? _c("div", { staticClass: "text-red-500 text-xs italic" }, [ + _vm._v(" Field is required"), + ]) + : _vm._e(), ]), _vm._v(" "), _c("div", { staticClass: "w-full px-3 mb-4" }, [ @@ -72582,27 +73581,41 @@ var render = function () { directives: [ { name: "model", - rawName: "v-model", - value: _vm.nilaiapril, - expression: "nilaiapril", + rawName: "v-model.trim", + value: _vm.$v.nilaiapril.$model, + expression: "$v.nilaiapril.$model", + modifiers: { trim: true }, }, ], staticClass: "appearance-none block w-full bg-white-200 text-gray-700 border border-gray-200 rounded py-3 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500", - domProps: { value: _vm.nilaiapril }, + class: { + "border border-red-500 focus:border-red-500": + _vm.$v.nilaiapril.$error, + }, + domProps: { value: _vm.$v.nilaiapril.$model }, on: { input: function ($event) { if ($event.target.composing) { return } - _vm.nilaiapril = $event.target.value + _vm.$set( + _vm.$v.nilaiapril, + "$model", + $event.target.value.trim() + ) + }, + blur: function ($event) { + return _vm.$forceUpdate() }, }, }), _vm._v(" "), - _c("div", { staticClass: "text-red-500 text-xs italic" }, [ - _vm._v("Field is required"), - ]), + !_vm.$v.nilaiapril.required + ? _c("div", { staticClass: "text-red-500 text-xs italic" }, [ + _vm._v("Field is required"), + ]) + : _vm._e(), ]), _vm._v(" "), _c("div", { staticClass: "w-full px-3 mb-4" }, [ @@ -72619,27 +73632,37 @@ var render = function () { directives: [ { name: "model", - rawName: "v-model", - value: _vm.nilaimei, - expression: "nilaimei", + rawName: "v-model.trim", + value: _vm.$v.nilaimei.$model, + expression: "$v.nilaimei.$model", + modifiers: { trim: true }, }, ], staticClass: "appearance-none block w-full bg-white-200 text-gray-700 border border-gray-200 rounded py-3 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500", - domProps: { value: _vm.nilaimei }, + class: { + "border border-red-500 focus:border-red-500": + _vm.$v.nilaimei.$error, + }, + domProps: { value: _vm.$v.nilaimei.$model }, on: { input: function ($event) { if ($event.target.composing) { return } - _vm.nilaimei = $event.target.value + _vm.$set(_vm.$v.nilaimei, "$model", $event.target.value.trim()) + }, + blur: function ($event) { + return _vm.$forceUpdate() }, }, }), _vm._v(" "), - _c("div", { staticClass: "text-red-500 text-xs italic" }, [ - _vm._v("Field is required"), - ]), + !_vm.$v.nilaimei.required + ? _c("div", { staticClass: "text-red-500 text-xs italic" }, [ + _vm._v("Field is required"), + ]) + : _vm._e(), ]), _vm._v(" "), _c("div", { staticClass: "w-full px-3 mb-4" }, [ @@ -72656,27 +73679,37 @@ var render = function () { directives: [ { name: "model", - rawName: "v-model", - value: _vm.nilaijun, - expression: "nilaijun", + rawName: "v-model.trim", + value: _vm.$v.nilaijun.$model, + expression: "$v.nilaijun.$model", + modifiers: { trim: true }, }, ], staticClass: "appearance-none block w-full bg-white-200 text-gray-700 border border-gray-200 rounded py-3 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500", - domProps: { value: _vm.nilaijun }, + class: { + "border border-red-500 focus:border-red-500": + _vm.$v.nilaijun.$error, + }, + domProps: { value: _vm.$v.nilaijun.$model }, on: { input: function ($event) { if ($event.target.composing) { return } - _vm.nilaijun = $event.target.value + _vm.$set(_vm.$v.nilaijun, "$model", $event.target.value.trim()) + }, + blur: function ($event) { + return _vm.$forceUpdate() }, }, }), _vm._v(" "), - _c("div", { staticClass: "text-red-500 text-xs italic" }, [ - _vm._v("Field is required"), - ]), + !_vm.$v.nilaijun.required + ? _c("div", { staticClass: "text-red-500 text-xs italic" }, [ + _vm._v("Field is required"), + ]) + : _vm._e(), ]), _vm._v(" "), _c("div", { staticClass: "w-full px-3 mb-4" }, [ @@ -72693,27 +73726,41 @@ var render = function () { directives: [ { name: "model", - rawName: "v-model", - value: _vm.nilaijulai, - expression: "nilaijulai", + rawName: "v-model.trim", + value: _vm.$v.nilaijulai.$model, + expression: "$v.nilaijulai.$model", + modifiers: { trim: true }, }, ], staticClass: "appearance-none block w-full bg-white-200 text-gray-700 border border-gray-200 rounded py-3 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500", - domProps: { value: _vm.nilaijulai }, + class: { + "border border-red-500 focus:border-red-500": + _vm.$v.nilaijulai.$error, + }, + domProps: { value: _vm.$v.nilaijulai.$model }, on: { input: function ($event) { if ($event.target.composing) { return } - _vm.nilaijulai = $event.target.value + _vm.$set( + _vm.$v.nilaijulai, + "$model", + $event.target.value.trim() + ) + }, + blur: function ($event) { + return _vm.$forceUpdate() }, }, }), _vm._v(" "), - _c("div", { staticClass: "text-red-500 text-xs italic" }, [ - _vm._v("Field is required"), - ]), + !_vm.$v.nilaijulai.required + ? _c("div", { staticClass: "text-red-500 text-xs italic" }, [ + _vm._v("Field is required"), + ]) + : _vm._e(), ]), _vm._v(" "), _c("div", { staticClass: "w-full px-3 mb-4" }, [ @@ -72730,27 +73777,37 @@ var render = function () { directives: [ { name: "model", - rawName: "v-model", - value: _vm.nilaiogos, - expression: "nilaiogos", + rawName: "v-model.trim", + value: _vm.$v.nilaiogos.$model, + expression: "$v.nilaiogos.$model", + modifiers: { trim: true }, }, ], staticClass: "appearance-none block w-full bg-white-200 text-gray-700 border border-gray-200 rounded py-3 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500", - domProps: { value: _vm.nilaiogos }, + class: { + "border border-red-500 focus:border-red-500": + _vm.$v.nilaiogos.$error, + }, + domProps: { value: _vm.$v.nilaiogos.$model }, on: { input: function ($event) { if ($event.target.composing) { return } - _vm.nilaiogos = $event.target.value + _vm.$set(_vm.$v.nilaiogos, "$model", $event.target.value.trim()) + }, + blur: function ($event) { + return _vm.$forceUpdate() }, }, }), _vm._v(" "), - _c("div", { staticClass: "text-red-500 text-xs italic" }, [ - _vm._v("Field is required"), - ]), + !_vm.$v.nilaiogos.required + ? _c("div", { staticClass: "text-red-500 text-xs italic" }, [ + _vm._v("Field is required"), + ]) + : _vm._e(), ]), _vm._v(" "), _c("div", { staticClass: "w-full px-3 mb-4" }, [ @@ -72767,27 +73824,41 @@ var render = function () { directives: [ { name: "model", - rawName: "v-model", - value: _vm.nilaiseptember, - expression: "nilaiseptember", + rawName: "v-model.trim", + value: _vm.$v.nilaiseptember.$model, + expression: "$v.nilaiseptember.$model", + modifiers: { trim: true }, }, ], staticClass: "appearance-none block w-full bg-white-200 text-gray-700 border border-gray-200 rounded py-3 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500", - domProps: { value: _vm.nilaiseptember }, + class: { + "border border-red-500 focus:border-red-500": + _vm.$v.nilaiseptember.$error, + }, + domProps: { value: _vm.$v.nilaiseptember.$model }, on: { input: function ($event) { if ($event.target.composing) { return } - _vm.nilaiseptember = $event.target.value + _vm.$set( + _vm.$v.nilaiseptember, + "$model", + $event.target.value.trim() + ) + }, + blur: function ($event) { + return _vm.$forceUpdate() }, }, }), _vm._v(" "), - _c("div", { staticClass: "text-red-500 text-xs italic" }, [ - _vm._v("Field is required"), - ]), + !_vm.$v.nilaiseptember.required + ? _c("div", { staticClass: "text-red-500 text-xs italic" }, [ + _vm._v("Field is required"), + ]) + : _vm._e(), ]), _vm._v(" "), _c("div", { staticClass: "w-full px-3 mb-4" }, [ @@ -72804,27 +73875,41 @@ var render = function () { directives: [ { name: "model", - rawName: "v-model", - value: _vm.nilaioktober, - expression: "nilaioktober", + rawName: "v-model.trim", + value: _vm.$v.nilaioktober.$model, + expression: "$v.nilaioktober.$model", + modifiers: { trim: true }, }, ], staticClass: "appearance-none block w-full bg-white-200 text-gray-700 border border-gray-200 rounded py-3 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500", - domProps: { value: _vm.nilaioktober }, + class: { + "border border-red-500 focus:border-red-500": + _vm.$v.nilaioktober.$error, + }, + domProps: { value: _vm.$v.nilaioktober.$model }, on: { input: function ($event) { if ($event.target.composing) { return } - _vm.nilaioktober = $event.target.value + _vm.$set( + _vm.$v.nilaioktober, + "$model", + $event.target.value.trim() + ) + }, + blur: function ($event) { + return _vm.$forceUpdate() }, }, }), _vm._v(" "), - _c("div", { staticClass: "text-red-500 text-xs italic" }, [ - _vm._v("Field is required"), - ]), + !_vm.$v.nilaioktober.required + ? _c("div", { staticClass: "text-red-500 text-xs italic" }, [ + _vm._v("Field is required"), + ]) + : _vm._e(), ]), _vm._v(" "), _c("div", { staticClass: "w-full px-3 mb-4" }, [ @@ -72841,27 +73926,41 @@ var render = function () { directives: [ { name: "model", - rawName: "v-model", - value: _vm.nilainovember, - expression: "nilainovember", + rawName: "v-model.trim", + value: _vm.$v.nilainovember.$model, + expression: "$v.nilainovember.$model", + modifiers: { trim: true }, }, ], staticClass: "appearance-none block w-full bg-white-200 text-gray-700 border border-gray-200 rounded py-3 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500", - domProps: { value: _vm.nilainovember }, + class: { + "border border-red-500 focus:border-red-500": + _vm.$v.nilainovember.$error, + }, + domProps: { value: _vm.$v.nilainovember.$model }, on: { input: function ($event) { if ($event.target.composing) { return } - _vm.nilainovember = $event.target.value + _vm.$set( + _vm.$v.nilainovember, + "$model", + $event.target.value.trim() + ) + }, + blur: function ($event) { + return _vm.$forceUpdate() }, }, }), _vm._v(" "), - _c("div", { staticClass: "text-red-500 text-xs italic" }, [ - _vm._v("Field is required"), - ]), + !_vm.$v.nilainovember.required + ? _c("div", { staticClass: "text-red-500 text-xs italic" }, [ + _vm._v("Field is required"), + ]) + : _vm._e(), ]), _vm._v(" "), _c("div", { staticClass: "w-full px-3 mb-4" }, [ @@ -72878,52 +73977,68 @@ var render = function () { directives: [ { name: "model", - rawName: "v-model", - value: _vm.nilaidisember, - expression: "nilaidisember", + rawName: "v-model.trim", + value: _vm.$v.nilaidisember.$model, + expression: "$v.nilaidisember.$model", + modifiers: { trim: true }, }, ], staticClass: "appearance-none block w-full bg-white-200 text-gray-700 border border-gray-200 rounded py-3 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500", - domProps: { value: _vm.nilaidisember }, + class: { + "border border-red-500 focus:border-red-500": + _vm.$v.nilaidisember.$error, + }, + domProps: { value: _vm.$v.nilaidisember.$model }, on: { input: function ($event) { if ($event.target.composing) { return } - _vm.nilaidisember = $event.target.value + _vm.$set( + _vm.$v.nilaidisember, + "$model", + $event.target.value.trim() + ) + }, + blur: function ($event) { + return _vm.$forceUpdate() }, }, }), _vm._v(" "), - _c("div", { staticClass: "text-red-500 text-xs italic" }, [ - _vm._v("Field is required"), - ]), + !_vm.$v.nilaidisember.required + ? _c("div", { staticClass: "text-red-500 text-xs italic" }, [ + _vm._v("Field is required"), + ]) + : _vm._e(), ]), ]), _vm._v(" "), - _vm._m(0), + _c("div", { staticClass: "flex justify-end" }, [ + _c( + "button", + { + staticClass: + "bg-blue-500 text-white active:bg-lightBlue-600 font-bold uppercase text-sm px-6 py-3 rounded shadow hover:shadow-lg outline-none focus:outline-none mr-1 mb-1 ease-linear transition-all duration-150", + attrs: { type: "button" }, + }, + [ + _vm.submitStatus === "PENDING" + ? _c("span", [ + _c("i", { staticClass: "animate-spin fas fa-spinner mr-2" }), + _vm._v("Loading.."), + ]) + : _c("span", { on: { click: _vm.submit } }, [ + _vm._v("Kemaskini"), + ]), + ] + ), + ]), ] ) } -var staticRenderFns = [ - function () { - var _vm = this - var _h = _vm.$createElement - var _c = _vm._self._c || _h - return _c("div", { staticClass: "flex justify-end" }, [ - _c( - "button", - { - staticClass: - "bg-blue-500 text-white active:bg-lightBlue-600 font-bold uppercase text-sm px-6 py-3 rounded shadow hover:shadow-lg outline-none focus:outline-none mr-1 mb-1 ease-linear transition-all duration-150", - attrs: { type: "button" }, - }, - [_vm._v("\n Kemaskini\n ")] - ), - ]) - }, -] +var staticRenderFns = [] render._withStripped = true @@ -73798,164 +74913,196 @@ var render = function () { [ _c( "div", - { staticClass: "bg-white shadow rounded-lg p-4 sm:p-6 xl:p-8 " }, + { staticClass: "bg-white shadow rounded-lg p-4 sm:p-6 xl:p-8" }, [ - _c( - "h3", - { - staticClass: - "text-2xl font-bold text-gray-500 flex items-center mx-auto", - }, - [_vm._v("Pembiayaan")] - ), + _c("div", { staticClass: "flex flex-nowrap" }, [ + _c("div", { staticClass: "w-3/4 h-4 bg-gray-200 rounded-full" }, [ + _c( + "div", + { + staticClass: + "bg-yellow-600 text-xs font-medium text-yellow-100 text-center p-0.5 leading-none rounded-l-full rounded-r-full", + style: { + width: + _vm.percentcumgadai > 100 + ? 100 + : _vm.percentcumgadai + "%", + }, + }, + [_vm._v(" " + _vm._s(this.percentcumgadai) + "%")] + ), + ]), + _vm._v(" "), + _c("div", { staticClass: "w-1/4 grid grid-rows-2" }, [ + _c("span", { staticClass: "text-sm ml-2 font-bold -mt-0.5" }, [ + _vm._v("RM " + _vm._s(_vm.gadaianremaining)), + ]), + ]), + ]), _vm._v(" "), - _c("div", { staticClass: "flex items-center" }, [ - _c("div", { staticClass: "grid grid-rows-3" }, [ + _c("div", { staticClass: "flex pt-2 -mt-2" }, [ + _c("div", { staticClass: "grid grid-rows-2 ml-1 mt-2 w-1/4" }, [ _c( "span", - { - staticClass: - "text-2xl sm:text-xl leading-none font-bold text-gray-900", - }, - [_vm._v("BULAN : RM " + _vm._s(_vm.gadaianharian))] + { staticClass: "text-sm leading-none font-bold text-gray-700" }, + [ + _c("i", { staticClass: "fas fa-calendar-day" }), + _vm._v(" RM " + _vm._s(_vm.gadaianharian)), + ] ), _vm._v(" "), _c( "span", { - staticClass: - "text-2xl sm:text-xl leading-none font-bold text-gray-900", + staticClass: "text-sm leading-none font-bold text-yellow-900", }, - [_vm._v("HARI INI : RM " + _vm._s(_vm.gadaianharian))] - ), - _vm._v(" "), - _c( - "span", - { - staticClass: - "text-2xl sm:text-xl leading-none font-bold text-gray-900", - }, - [_vm._v("BAJET : RM " + _vm._s(_vm.bajetgadaian))] - ), - _vm._v(" "), - _c( - "span", - { - staticClass: - "text-2xl sm:text-xl leading-none font-bold text-gray-900", - }, - [_vm._v("VARIANS : RM " + _vm._s(_vm.bajetgadaian))] + [ + _c("i", { staticClass: "fas fa-chart-pie" }), + _vm._v(" RM " + _vm._s(_vm.bajetgadaian) + " "), + ] ), ]), _vm._v(" "), - _vm.percentgadaian > 0 - ? _c( - "div", - { - staticClass: - "ml-5 w-0 flex items-center justify-end flex-1 text-green-500 text-base font-bold", - }, - [ - _vm._v( - "\n " + - _vm._s(_vm.percentgadaian.toFixed(2)) + - "%\n " - ), - _c( - "svg", - { - staticClass: "w-5 h-5", - attrs: { - fill: "currentColor", - viewBox: "0 0 20 20", - xmlns: "http://www.w3.org/2000/svg", - }, - }, - [ - _c("path", { - attrs: { - "fill-rule": "evenodd", - d: "M5.293 7.707a1 1 0 010-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 01-1.414 1.414L11 5.414V17a1 1 0 11-2 0V5.414L6.707 7.707a1 1 0 01-1.414 0z", - "clip-rule": "evenodd", - }, - }), - ] - ), - ] - ) - : _vm._e(), + _c("div", { staticClass: "ml-4 text-center w-1/3" }, [ + _c( + "h3", + { staticClass: "text-3xl font-bold -mt-1 text-gray-500" }, + [_vm._v("Pembiayaan")] + ), + _vm._v(" "), + _c( + "span", + { + staticClass: + "text-base leading-none font-bold text-gray-900 text-center", + }, + [_vm._v(_vm._s(this.bulan) + " ")] + ), + ]), _vm._v(" "), - _vm.percentgadaian == 0 - ? _c( - "div", - { - staticClass: - "ml-5 w-0 flex items-center justify-end flex-1 text-yellow-500 text-base font-bold", - }, - [ - _vm._v( - "\n " + - _vm._s(_vm.percentgadaian.toFixed(2)) + - "%\n " - ), - _c( - "svg", + _c( + "div", + { + staticClass: + "grid grid-rows-2 ml-2 mt-2 w-2/6 flex place-content-end", + }, + [ + _vm.percentgadaian > 0 + ? _c( + "h3", { - staticClass: "h-6 w-6", - attrs: { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - stroke: "currentColor", - }, + staticClass: + "text-base font-bold -mt-1 text-green-500 flex items-center mx-auto", }, [ - _c("path", { - attrs: { - "stroke-linecap": "round", - "stroke-linejoin": "round", - "stroke-width": "2", - d: "M18 12H6", + _vm._v( + _vm._s(_vm.percentgadaian.toFixed(2)) + + "%\n " + ), + _c( + "svg", + { + staticClass: "w-5 h-5", + attrs: { + fill: "currentColor", + viewBox: "0 0 20 20", + xmlns: "http://www.w3.org/2000/svg", + }, }, - }), + [ + _c("path", { + attrs: { + "fill-rule": "evenodd", + d: "M5.293 7.707a1 1 0 010-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 01-1.414 1.414L11 5.414V17a1 1 0 11-2 0V5.414L6.707 7.707a1 1 0 01-1.414 0z", + "clip-rule": "evenodd", + }, + }), + ] + ), ] - ), - ] - ) - : _c( - "div", - { - staticClass: - "ml-5 w-0 flex items-center justify-end flex-1 text-red-500 text-base font-bold", - }, - [ - _vm._v( - "\n " + - _vm._s(_vm.percentgadaian.toFixed(2)) + - "%\n " - ), - _c( - "svg", + ) + : _vm._e(), + _vm._v(" "), + _vm.percentgadaian == 0 + ? _c( + "h3", { - staticClass: "w-5 h-5", - attrs: { - fill: "currentColor", - viewBox: "0 0 20 20", - xmlns: "http://www.w3.org/2000/svg", - }, + staticClass: + "text-base font-bold -mt-1 text-yellow-500 flex items-center mx-auto", }, [ - _c("path", { - attrs: { - "fill-rule": "evenodd", - d: "M14.707 12.293a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 111.414-1.414L9 14.586V3a1 1 0 012 0v11.586l2.293-2.293a1 1 0 011.414 0z", - "clip-rule": "evenodd", + _vm._v( + _vm._s(_vm.percentgadaian.toFixed(2)) + + "%\n " + ), + _c( + "svg", + { + staticClass: "h-6 w-6", + attrs: { + xmlns: "http://www.w3.org/2000/svg", + fill: "none", + viewBox: "0 0 24 24", + stroke: "currentColor", + }, }, - }), + [ + _c("path", { + attrs: { + "stroke-linecap": "round", + "stroke-linejoin": "round", + "stroke-width": "2", + d: "M18 12H6", + }, + }), + ] + ), + ] + ) + : _c( + "h3", + { + staticClass: + "text-base font-bold -mt-1 text-red-500 flex items-center mx-auto", + }, + [ + _vm._v( + _vm._s(_vm.percentgadaian.toFixed(2)) + + "%\n " + ), + _c( + "svg", + { + staticClass: "w-5 h-5", + attrs: { + fill: "currentColor", + viewBox: "0 0 20 20", + xmlns: "http://www.w3.org/2000/svg", + }, + }, + [ + _c("path", { + attrs: { + "fill-rule": "evenodd", + d: "M14.707 12.293a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 111.414-1.414L9 14.586V3a1 1 0 012 0v11.586l2.293-2.293a1 1 0 011.414 0z", + "clip-rule": "evenodd", + }, + }), + ] + ), ] ), - ] + _vm._v(" "), + _c( + "span", + { + staticClass: + "text-xs leading-none font-bold text-gray-900 ml-4", + }, + [_vm._v("Varians.")] ), + ] + ), ]), ] ), @@ -73964,137 +75111,194 @@ var render = function () { "div", { staticClass: "bg-white shadow rounded-lg p-4 sm:p-6 xl:p-8 " }, [ - _c("div", { staticClass: "flex items-center" }, [ - _c("div", { staticClass: "flex-shrink-0" }, [ + _c("div", { staticClass: "flex flex-nowrap" }, [ + _c("div", { staticClass: "w-3/4 h-4 bg-gray-200 rounded-full" }, [ + _c( + "div", + { + staticClass: + "bg-yellow-600 text-xs font-medium text-yellow-100 text-center p-0.5 leading-none rounded-l-full rounded-r-full", + style: { + width: + _vm.percentcumtebus > 100 + ? 100 + : _vm.percentcumtebus + "%", + }, + }, + [_vm._v(" " + _vm._s(_vm.percentcumtebus) + "%")] + ), + ]), + _vm._v(" "), + _c("div", { staticClass: "w-1/4 grid grid-rows-2" }, [ + _c("span", { staticClass: "text-sm ml-2 font-bold -mt-0.5" }, [ + _vm._v("RM " + _vm._s(_vm.tebusremaining)), + ]), + ]), + ]), + _vm._v(" "), + _c("div", { staticClass: "flex pt-2 -mt-2" }, [ + _c("div", { staticClass: "grid grid-rows-2 ml-1 mt-2 w-1/4" }, [ + _c( + "span", + { staticClass: "text-sm leading-none font-bold text-gray-700" }, + [ + _c("i", { staticClass: "fas fa-calendar-day" }), + _vm._v(" RM " + _vm._s(_vm.penebusanharian)), + ] + ), + _vm._v(" "), + _c( + "span", + { + staticClass: "text-sm leading-none font-bold text-yellow-900", + }, + [ + _c("i", { staticClass: "fas fa-chart-pie" }), + _vm._v(" RM " + _vm._s(_vm.bajetpenebusan) + " "), + ] + ), + ]), + _vm._v(" "), + _c("div", { staticClass: "ml-4 text-center w-1/3" }, [ + _c( + "h3", + { staticClass: "text-3xl font-bold -mt-1 text-gray-500" }, + [_vm._v("Penebusan")] + ), + _vm._v(" "), _c( "span", { staticClass: - "text-2xl sm:text-3xl leading-none font-bold text-gray-900", + "text-base leading-none font-bold text-gray-900 text-center", }, - [ - _vm._v( - "RM " + - _vm._s(_vm.penebusanharian) + - " / RM " + - _vm._s(_vm.bajetpenebusan) - ), - ] + [_vm._v(_vm._s(this.bulan) + " ")] ), - _vm._v(" "), - _c("h3", { staticClass: "text-base font-normal text-gray-500" }, [ - _vm._v("Penebusan Hari Ini"), - ]), ]), _vm._v(" "), - _vm.percentpenebusan > 0 - ? _c( - "div", - { - staticClass: - "ml-5 w-0 flex items-center justify-end flex-1 text-green-500 text-base font-bold", - }, - [ - _vm._v( - "\n " + - _vm._s(_vm.percentpenebusan.toFixed(2)) + - "%\n " - ), - _c( - "svg", + _c( + "div", + { + staticClass: + "grid grid-rows-2 ml-2 mt-2 w-2/6 flex place-content-end", + }, + [ + _vm.percentpenebusan > 0 + ? _c( + "h3", { - staticClass: "w-5 h-5", - attrs: { - fill: "currentColor", - viewBox: "0 0 20 20", - xmlns: "http://www.w3.org/2000/svg", - }, + staticClass: + "text-base font-bold -mt-1 text-green-500 flex items-center mx-auto", }, [ - _c("path", { - attrs: { - "fill-rule": "evenodd", - d: "M5.293 7.707a1 1 0 010-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 01-1.414 1.414L11 5.414V17a1 1 0 11-2 0V5.414L6.707 7.707a1 1 0 01-1.414 0z", - "clip-rule": "evenodd", + _vm._v( + _vm._s(_vm.percentpenebusan.toFixed(2)) + + "%\n " + ), + _c( + "svg", + { + staticClass: "w-5 h-5", + attrs: { + fill: "currentColor", + viewBox: "0 0 20 20", + xmlns: "http://www.w3.org/2000/svg", + }, }, - }), + [ + _c("path", { + attrs: { + "fill-rule": "evenodd", + d: "M5.293 7.707a1 1 0 010-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 01-1.414 1.414L11 5.414V17a1 1 0 11-2 0V5.414L6.707 7.707a1 1 0 01-1.414 0z", + "clip-rule": "evenodd", + }, + }), + ] + ), ] - ), - ] - ) - : _vm._e(), - _vm._v(" "), - _vm.percentpenebusan == 0 - ? _c( - "div", - { - staticClass: - "ml-5 w-0 flex items-center justify-end flex-1 text-yellow-500 text-base font-bold", - }, - [ - _vm._v( - "\n " + - _vm._s(_vm.percentpenebusan.toFixed(2)) + - "%\n " - ), - _c( - "svg", + ) + : _vm._e(), + _vm._v(" "), + _vm.percentpenebusan == 0 + ? _c( + "h3", { - staticClass: "h-6 w-6", - attrs: { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - stroke: "currentColor", - }, + staticClass: + "text-base font-bold -mt-1 text-yellow-500 flex items-center mx-auto", }, [ - _c("path", { - attrs: { - "stroke-linecap": "round", - "stroke-linejoin": "round", - "stroke-width": "2", - d: "M18 12H6", + _vm._v( + _vm._s(_vm.percentpenebusan.toFixed(2)) + + "%\n " + ), + _c( + "svg", + { + staticClass: "h-6 w-6", + attrs: { + xmlns: "http://www.w3.org/2000/svg", + fill: "none", + viewBox: "0 0 24 24", + stroke: "currentColor", + }, }, - }), + [ + _c("path", { + attrs: { + "stroke-linecap": "round", + "stroke-linejoin": "round", + "stroke-width": "2", + d: "M18 12H6", + }, + }), + ] + ), ] - ), - ] - ) - : _c( - "div", - { - staticClass: - "ml-5 w-0 flex items-center justify-end flex-1 text-red-500 text-base font-bold", - }, - [ - _vm._v( - "\n " + - _vm._s(_vm.percentpenebusan.toFixed(2)) + - "%\n " - ), - _c( - "svg", + ) + : _c( + "h3", { - staticClass: "w-5 h-5", - attrs: { - fill: "currentColor", - viewBox: "0 0 20 20", - xmlns: "http://www.w3.org/2000/svg", - }, + staticClass: + "text-base font-bold -mt-1 text-red-500 flex items-center mx-auto", }, [ - _c("path", { - attrs: { - "fill-rule": "evenodd", - d: "M14.707 12.293a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 111.414-1.414L9 14.586V3a1 1 0 012 0v11.586l2.293-2.293a1 1 0 011.414 0z", - "clip-rule": "evenodd", + _vm._v( + _vm._s(_vm.percentpenebusan.toFixed(2)) + + "%\n " + ), + _c( + "svg", + { + staticClass: "w-5 h-5", + attrs: { + fill: "currentColor", + viewBox: "0 0 20 20", + xmlns: "http://www.w3.org/2000/svg", + }, }, - }), + [ + _c("path", { + attrs: { + "fill-rule": "evenodd", + d: "M14.707 12.293a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 111.414-1.414L9 14.586V3a1 1 0 012 0v11.586l2.293-2.293a1 1 0 011.414 0z", + "clip-rule": "evenodd", + }, + }), + ] + ), ] ), - ] + _vm._v(" "), + _c( + "span", + { + staticClass: + "text-xs leading-none font-bold text-gray-900 ml-4", + }, + [_vm._v("Varians.")] ), + ] + ), ]), ] ), @@ -74103,137 +75307,194 @@ var render = function () { "div", { staticClass: "bg-white shadow rounded-lg p-4 sm:p-6 xl:p-8 " }, [ - _c("div", { staticClass: "flex items-center" }, [ - _c("div", { staticClass: "flex-shrink-0" }, [ + _c("div", { staticClass: "flex flex-nowrap" }, [ + _c("div", { staticClass: "w-3/4 h-4 bg-gray-200 rounded-full" }, [ + _c( + "div", + { + staticClass: + "bg-yellow-600 text-xs font-medium text-yellow-100 text-center p-0.5 leading-none rounded-l-full rounded-r-full", + style: { + width: + _vm.percentcumkeuntungan > 100 + ? 100 + : _vm.percentcumkeuntungan + "%", + }, + }, + [_vm._v(" " + _vm._s(_vm.percentcumkeuntungan) + "%")] + ), + ]), + _vm._v(" "), + _c("div", { staticClass: "w-1/4 grid grid-rows-2" }, [ + _c("span", { staticClass: "text-sm ml-2 font-bold -mt-0.5" }, [ + _vm._v("RM " + _vm._s(_vm.keuntunganremaining)), + ]), + ]), + ]), + _vm._v(" "), + _c("div", { staticClass: "flex pt-2 -mt-2" }, [ + _c("div", { staticClass: "grid grid-rows-2 ml-1 mt-2 w-1/4" }, [ + _c( + "span", + { staticClass: "text-sm leading-none font-bold text-gray-700" }, + [ + _c("i", { staticClass: "fas fa-calendar-day" }), + _vm._v(" RM " + _vm._s(_vm.keuntunganharian)), + ] + ), + _vm._v(" "), + _c( + "span", + { + staticClass: "text-sm leading-none font-bold text-yellow-900", + }, + [ + _c("i", { staticClass: "fas fa-chart-pie" }), + _vm._v(" RM " + _vm._s(_vm.bajetkeuntungan) + " "), + ] + ), + ]), + _vm._v(" "), + _c("div", { staticClass: "ml-4 text-center w-1/3" }, [ + _c( + "h3", + { staticClass: "text-3xl font-bold -mt-1 text-gray-500" }, + [_vm._v("Keuntungan")] + ), + _vm._v(" "), _c( "span", { staticClass: - "text-2xl sm:text-3xl leading-none font-bold text-gray-900", + "text-base leading-none font-bold text-gray-900 text-center", }, - [ - _vm._v( - "RM " + - _vm._s(_vm.keuntunganharian) + - " / RM " + - _vm._s(_vm.bajetkeuntungan) - ), - ] + [_vm._v(_vm._s(this.bulan) + " ")] ), - _vm._v(" "), - _c("h3", { staticClass: "text-base font-normal text-gray-500" }, [ - _vm._v("Keuntungan Hari Ini"), - ]), ]), _vm._v(" "), - _vm.percentkeuntungan > 0 - ? _c( - "div", - { - staticClass: - "ml-5 w-0 flex items-center justify-end flex-1 text-green-500 text-base font-bold", - }, - [ - _vm._v( - "\n " + - _vm._s(_vm.percentkeuntungan.toFixed(2)) + - "%\n " - ), - _c( - "svg", + _c( + "div", + { + staticClass: + "grid grid-rows-2 ml-2 mt-2 w-2/6 flex place-content-end", + }, + [ + _vm.percentkeuntungan > 0 + ? _c( + "h3", { - staticClass: "w-5 h-5", - attrs: { - fill: "currentColor", - viewBox: "0 0 20 20", - xmlns: "http://www.w3.org/2000/svg", - }, + staticClass: + "text-base font-bold -mt-1 text-green-500 flex items-center mx-auto", }, [ - _c("path", { - attrs: { - "fill-rule": "evenodd", - d: "M5.293 7.707a1 1 0 010-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 01-1.414 1.414L11 5.414V17a1 1 0 11-2 0V5.414L6.707 7.707a1 1 0 01-1.414 0z", - "clip-rule": "evenodd", + _vm._v( + _vm._s(_vm.percentkeuntungan.toFixed(2)) + + "%\n " + ), + _c( + "svg", + { + staticClass: "w-5 h-5", + attrs: { + fill: "currentColor", + viewBox: "0 0 20 20", + xmlns: "http://www.w3.org/2000/svg", + }, }, - }), + [ + _c("path", { + attrs: { + "fill-rule": "evenodd", + d: "M5.293 7.707a1 1 0 010-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 01-1.414 1.414L11 5.414V17a1 1 0 11-2 0V5.414L6.707 7.707a1 1 0 01-1.414 0z", + "clip-rule": "evenodd", + }, + }), + ] + ), ] - ), - ] - ) - : _vm._e(), - _vm._v(" "), - _vm.percentkeuntungan == 0 - ? _c( - "div", - { - staticClass: - "ml-5 w-0 flex items-center justify-end flex-1 text-yellow-500 text-base font-bold", - }, - [ - _vm._v( - "\n " + - _vm._s(_vm.percentkeuntungan.toFixed(2)) + - "%\n " - ), - _c( - "svg", + ) + : _vm._e(), + _vm._v(" "), + _vm.percentkeuntungan == 0 + ? _c( + "h3", { - staticClass: "h-6 w-6", - attrs: { - xmlns: "http://www.w3.org/2000/svg", - fill: "none", - viewBox: "0 0 24 24", - stroke: "currentColor", - }, + staticClass: + "text-base font-bold -mt-1 text-yellow-500 flex items-center mx-auto", }, [ - _c("path", { - attrs: { - "stroke-linecap": "round", - "stroke-linejoin": "round", - "stroke-width": "2", - d: "M18 12H6", + _vm._v( + _vm._s(_vm.percentkeuntungan.toFixed(2)) + + "%\n " + ), + _c( + "svg", + { + staticClass: "h-6 w-6", + attrs: { + xmlns: "http://www.w3.org/2000/svg", + fill: "none", + viewBox: "0 0 24 24", + stroke: "currentColor", + }, }, - }), + [ + _c("path", { + attrs: { + "stroke-linecap": "round", + "stroke-linejoin": "round", + "stroke-width": "2", + d: "M18 12H6", + }, + }), + ] + ), ] - ), - ] - ) - : _c( - "div", - { - staticClass: - "ml-5 w-0 flex items-center justify-end flex-1 text-red-500 text-base font-bold", - }, - [ - _vm._v( - "\n " + - _vm._s(_vm.percentkeuntungan.toFixed(2)) + - "%\n " - ), - _c( - "svg", + ) + : _c( + "h3", { - staticClass: "w-5 h-5", - attrs: { - fill: "currentColor", - viewBox: "0 0 20 20", - xmlns: "http://www.w3.org/2000/svg", - }, + staticClass: + "text-base font-bold -mt-1 text-red-500 flex items-center mx-auto", }, [ - _c("path", { - attrs: { - "fill-rule": "evenodd", - d: "M14.707 12.293a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 111.414-1.414L9 14.586V3a1 1 0 012 0v11.586l2.293-2.293a1 1 0 011.414 0z", - "clip-rule": "evenodd", + _vm._v( + _vm._s(_vm.percentkeuntungan.toFixed(2)) + + "%\n " + ), + _c( + "svg", + { + staticClass: "w-5 h-5", + attrs: { + fill: "currentColor", + viewBox: "0 0 20 20", + xmlns: "http://www.w3.org/2000/svg", + }, }, - }), + [ + _c("path", { + attrs: { + "fill-rule": "evenodd", + d: "M14.707 12.293a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 111.414-1.414L9 14.586V3a1 1 0 012 0v11.586l2.293-2.293a1 1 0 011.414 0z", + "clip-rule": "evenodd", + }, + }), + ] + ), ] ), - ] + _vm._v(" "), + _c( + "span", + { + staticClass: + "text-xs leading-none font-bold text-gray-900 ml-4", + }, + [_vm._v("Varians.")] ), + ] + ), ]), ] ), @@ -76405,6 +77666,33 @@ render._withStripped = true +/***/ }), + +/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/Clock.vue?vue&type=template&id=26a23fac&": +/*!**********************************************************************************************************************************************************************************************************************!*\ + !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/Clock.vue?vue&type=template&id=26a23fac& ***! + \**********************************************************************************************************************************************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "render": () => (/* binding */ render), +/* harmony export */ "staticRenderFns": () => (/* binding */ staticRenderFns) +/* harmony export */ }); +var render = function () { + var _vm = this + var _h = _vm.$createElement + var _c = _vm._self._c || _h + return _c("p", { staticClass: "font-bold text-base text-center" }, [ + _vm._v(_vm._s(_vm.time) + " " + _vm._s(_vm.date) + " "), + ]) +} +var staticRenderFns = [] +render._withStripped = true + + + /***/ }), /***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/components/util/Modal.vue?vue&type=template&id=409c126a&": @@ -77550,6 +78838,31 @@ render._withStripped = true +/***/ }), + +/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/pages/Blacklist.vue?vue&type=template&id=bd26a938&": +/*!****************************************************************************************************************************************************************************************************************!*\ + !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/pages/Blacklist.vue?vue&type=template&id=bd26a938& ***! + \****************************************************************************************************************************************************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "render": () => (/* binding */ render), +/* harmony export */ "staticRenderFns": () => (/* binding */ staticRenderFns) +/* harmony export */ }); +var render = function () { + var _vm = this + var _h = _vm.$createElement + var _c = _vm._self._c || _h + return _c("div") +} +var staticRenderFns = [] +render._withStripped = true + + + /***/ }), /***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib/index.js??vue-loader-options!./resources/js/pages/Detailspelanggan.vue?vue&type=template&id=498216d0&": @@ -100851,7 +102164,7 @@ if (typeof window !== 'undefined' && window.Vue) { /***/ ((module) => { "use strict"; -module.exports = JSON.parse('{"_args":[["axios@0.21.4","C:\\\\laragon\\\\www\\\\adminpkb"]],"_development":true,"_from":"axios@0.21.4","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"axios@0.21.4","name":"axios","escapedName":"axios","rawSpec":"0.21.4","saveSpec":null,"fetchSpec":"0.21.4"},"_requiredBy":["#DEV:/"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_spec":"0.21.4","_where":"C:\\\\laragon\\\\www\\\\adminpkb","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}'); +module.exports = JSON.parse('{"_from":"axios@^0.21","_id":"axios@0.21.4","_inBundle":false,"_integrity":"sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==","_location":"/axios","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"axios@^0.21","name":"axios","escapedName":"axios","rawSpec":"^0.21","saveSpec":null,"fetchSpec":"^0.21"},"_requiredBy":["#DEV:/","#USER"],"_resolved":"https://registry.npmjs.org/axios/-/axios-0.21.4.tgz","_shasum":"c67b90dc0568e5c1cf2b0b858c43ba28e2eda575","_spec":"axios@^0.21","_where":"C:\\\\laragon\\\\www\\\\adminpkb","author":{"name":"Matt Zabriskie"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"bugs":{"url":"https://github.com/axios/axios/issues"},"bundleDependencies":false,"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}],"dependencies":{"follow-redirects":"^1.14.0"},"deprecated":false,"description":"Promise based HTTP client for the browser and node.js","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"homepage":"https://axios-http.com","jsdelivr":"dist/axios.min.js","keywords":["xhr","http","ajax","promise","node"],"license":"MIT","main":"index.js","name":"axios","repository":{"type":"git","url":"git+https://github.com/axios/axios.git"},"scripts":{"build":"NODE_ENV=production grunt build","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","examples":"node ./examples/server.js","fix":"eslint --fix lib/**/*.js","postversion":"git push && git push --tags","preversion":"npm test","start":"node ./sandbox/server.js","test":"grunt test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"},"typings":"./index.d.ts","unpkg":"dist/axios.min.js","version":"0.21.4"}'); /***/ }) diff --git a/resources/js/Akaun/Ansuran.vue b/resources/js/Akaun/Ansuran.vue index 5d49298..1eee06b 100644 --- a/resources/js/Akaun/Ansuran.vue +++ b/resources/js/Akaun/Ansuran.vue @@ -1,23 +1,20 @@ \ No newline at end of file diff --git a/resources/js/components/Analisa/Harian.vue b/resources/js/components/Analisa/Harian.vue index 7dea2b2..8aa4cfd 100644 --- a/resources/js/components/Analisa/Harian.vue +++ b/resources/js/components/Analisa/Harian.vue @@ -1,86 +1,142 @@ @@ -100,12 +156,19 @@ export default { keuntunganharian:0, bajetkeuntungan:0, percentkeuntungan:0, + keuntunganremaining:0, + percentcumkeuntungan:0, penebusanharian:0, bajetpenebusan:0, percentpenebusan:0, + tebusremaining:0, + percentcumtebus:0, gadaianharian:0, - bajetgadai:0, - percentgadaian:0 + gadaianremaining:0, + bajetgadaian:0, + percentgadaian:0, + percentcumgadai:0, + bulan:'', }; }, created() { @@ -120,9 +183,12 @@ export default { kodcaw: this.$props.kodcaw } }).then(response => { - this.gadaianharian = formatter.format(response.data[0].gadaiToday) - this.bajetgadaian = formatter.format(response.data[0].bajetharian) - this.percentgadaian = response.data[0].percentDiff + this.gadaianharian = formatter.format(response.data[0].gadaiToday), + this.bajetgadaian = formatter.format(response.data[0].bajetharian.toFixed(2)), + this.percentgadaian = response.data[0].percentDiff, + this.bulan = response.data[0].bulan, + this.gadaianremaining = formatter.format(response.data[0].remaining.toFixed(2)), + this.percentcumgadai = (100 - response.data[0].percentcum) }).catch(error => { console.log(error) }) @@ -133,9 +199,11 @@ export default { kodcaw: this.$props.kodcaw } }).then(response => { - this.penebusanharian = formatter.format(response.data[0].tebusToday) - this.bajetpenebusan = formatter.format(response.data[0].bajetharian) - this.percentpenebusan = response.data[0].percentDiff + this.penebusanharian = formatter.format(response.data[0].tebusToday), + this.bajetpenebusan = formatter.format(response.data[0].bajetharian.toFixed(2)), + this.percentpenebusan = response.data[0].percentDiff, + this.tebusremaining = formatter.format(response.data[0].remaining.toFixed(2)), + this.percentcumtebus = (100 - response.data[0].percentcum) }).catch(error => { console.log(error) }) @@ -146,9 +214,11 @@ export default { kodcaw: this.$props.kodcaw } }).then(response => { - this.keuntunganharian = formatter.format(response.data[0].upahToday) - this.bajetkeuntungan = formatter.format(response.data[0].bajetharian) - this.percentkeuntungan = response.data[0].percentDiff + this.keuntunganharian = formatter.format(response.data[0].upahToday), + this.bajetkeuntungan = formatter.format(response.data[0].bajetharian.toFixed(2)), + this.percentkeuntungan = response.data[0].percentDiff, + this.keuntunganremaining = formatter.format(response.data[0].remaining.toFixed(2)), + this.percentcumkeuntungan = (100 - response.data[0].percentcum) }).catch(error => { console.log(error) }) diff --git a/resources/js/components/Chart/KeuntunganChart.vue b/resources/js/components/Chart/KeuntunganChart.vue index 3a7fba6..fa219c4 100644 --- a/resources/js/components/Chart/KeuntunganChart.vue +++ b/resources/js/components/Chart/KeuntunganChart.vue @@ -112,6 +112,13 @@ export default { console.log(`${response}`); this.getDatakeuntungan() }); + + var channel2 = this.$pusher.subscribe('tebus-notify'); + + channel2.bind('trigger-tebus', ({ response }) => { + console.log(`${response}`); + this.getDatakeuntungan() + }); } } diff --git a/resources/js/components/Searchpelanggan.vue b/resources/js/components/Searchpelanggan.vue index d089a30..0585bc0 100644 --- a/resources/js/components/Searchpelanggan.vue +++ b/resources/js/components/Searchpelanggan.vue @@ -135,14 +135,13 @@ export default{ // window.location.href = route('admin.detailspelanggan', options.cust); // return route('admin.detailspelanggan', options.cust) - return window.route('pelanggan.detailspelanggan', options.cust) + + return window.route('pelanggan.detailspelanggan', options.cust) }, ClickUrl: function(e){ window.location.href = e.target.getAttribute('href'); } - - } } diff --git a/resources/js/components/util/Clock.vue b/resources/js/components/util/Clock.vue new file mode 100644 index 0000000..a41ef7b --- /dev/null +++ b/resources/js/components/util/Clock.vue @@ -0,0 +1,42 @@ + + + \ No newline at end of file diff --git a/resources/js/pages/Blacklist.vue b/resources/js/pages/Blacklist.vue new file mode 100644 index 0000000..37df50c --- /dev/null +++ b/resources/js/pages/Blacklist.vue @@ -0,0 +1,8 @@ + + \ No newline at end of file diff --git a/resources/views/akaun/laporan_lejer_am_pdf.blade.php b/resources/views/akaun/laporan_lejer_am_pdf.blade.php new file mode 100644 index 0000000..f1d37c5 --- /dev/null +++ b/resources/views/akaun/laporan_lejer_am_pdf.blade.php @@ -0,0 +1,375 @@ + + + + + +
LEJER AM - {{ $cawangan_detail['namacaw'] }}
+
+ + +
+ [ TARIKH DARI : + @php + // $myDateTime = DateTime::createFromFormat('Y-m-d', $tarikh_mula); + // $tarikhmula = $myDateTime->format('d-m-Y'); + echo($tarikh_mula) + @endphp + ..... + HINGGA : @php + // $myDateTime = DateTime::createFromFormat('Y-m-d', $tarikh_akhir); + // $tarikhakhir = $myDateTime->format('d-m-Y'); + echo($tarikh_akhir) + @endphp ] + TARIKH CETAK : @php + // $myDateTime = DateTime::createFromFormat('Y-m-d', $tarikh_cetak); + // $tarikh_cetak = $myDateTime->format('d-m-Y'); + echo($tarikh_cetak) + @endphp +
+ + + + + + + + + + + + + @foreach($lejeram as $index => $lejer) + + + + + + + + @endforeach + + + + + + + +
KOD GLKETERANGANDEBITKREDITJUMLAH
{{ $lejer['glcode'] }}{{ $lejer['descpt'] }}{{ number_format($lejer['debit'],2) }}{{ number_format($lejer['kredit'],2) }}@php $Totalsama = $lejer['debit'] - $lejer['kredit']; echo number_format($Totalsama,2); @endphp
Jumlah: {{ number_format($totalsamadebit,2) }}{{ number_format($totalsamakredit,2) }}@php $Total = $totalsamadebit - $totalsamakredit; echo number_format($Total,2); @endphp
+ +
+ + + + + + + + + + + + + + + + +
.................................................................. ..................................................................
DI SEMAK DI SAHKAN
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index ab3f86d..46c6143 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -119,6 +119,14 @@ @auth + {{-- + Windster Logo + Ar-Rahn + --}} + + + + {{-- --}} {{--
CAWANGAN : {{ Auth::user()->cawangan }} diff --git a/resources/views/layouts/sidebar.blade.php b/resources/views/layouts/sidebar.blade.php index 6e11d66..b7c2ac6 100644 --- a/resources/views/layouts/sidebar.blade.php +++ b/resources/views/layouts/sidebar.blade.php @@ -11,6 +11,8 @@

+ {{-- Muhammad Hafifie --}} +

Menu Utama


@@ -109,6 +111,17 @@ + +
  • +
    + + + + Blacklist +
    +
  • +
    + @endif diff --git a/resources/views/pelanggan/blacklist.blade.php b/resources/views/pelanggan/blacklist.blade.php new file mode 100644 index 0000000..20dae3c --- /dev/null +++ b/resources/views/pelanggan/blacklist.blade.php @@ -0,0 +1,19 @@ +@extends('layouts.app') + +@section('content') + +
    +
    + +
    + + + + + +
    +
    + @include('layouts.footer') + +
    +@endsection \ No newline at end of file diff --git a/routes/web.php b/routes/web.php index 62806cf..749e923 100644 --- a/routes/web.php +++ b/routes/web.php @@ -32,11 +32,15 @@ Route::get('/akaunhome', [App\Http\Controllers\HomeController::class, 'indexakau //Tunai Route::get('alirantunai',['as'=>'alirantunai','uses'=>'App\Http\Controllers\AliranTunaiController@AdminAliranTunai'])->middleware('auth'); + //Peti Besi Route::get('petibesi',['as'=>'petibesi','uses'=>'App\Http\Controllers\PetiBesiController@AdminPetiBesi'])->middleware('auth'); + //Pelanggan Route::get('pelanggan',['as'=>'pelanggan','uses'=>'App\Http\Controllers\PelangganController@AdminPelanggan'])->middleware('auth'); Route::get('/pelanggan/{id}',['as'=>'pelanggan.detailspelanggan','uses'=>'App\Http\Controllers\PelangganController@DetailsPelanggan'])->middleware('auth'); +Route::get('/blacklist',['as'=>'blacklist','uses'=>'App\Http\Controllers\PelangganController@DetailsBlacklist'])->middleware('auth'); + //Kemaskini Aliran Tunai Route::get('/periksaalirantunai',['as'=>'periksa.alirantunai','uses'=>'App\Http\Controllers\AliranTunaiController@periksaAliranTunai']); @@ -59,7 +63,7 @@ Route::get('/akaunhome/cetaklaporanimbangduga',['as'=>'cetak.imbangduga','uses'= Route::get('/akaunhome/cetakgadaian',['as'=>'cetak.gadaian','uses'=>'App\Http\Controllers\AkaunController@cetakLaporanGadai'])->middleware('auth'); Route::get('/akaunhome/cetakpenebusan',['as'=>'cetak.penebusan','uses'=>'App\Http\Controllers\AkaunController@cetakLaporanPenebusan'])->middleware('auth'); Route::get('/akaunhome/cetakansuran',['as'=>'cetak.ansuran','uses'=>'App\Http\Controllers\AkaunController@cetakLaporanAnsuran'])->middleware('auth'); -Route::get('/akaunhome/cetakupah',['as'=>'cetak.upah','uses'=>'App\Http\Controllers\AkaunController@cetakimbangduga'])->middleware('auth'); +Route::get('/akaunhome/cetakupah',['as'=>'cetak.upah','uses'=>'App\Http\Controllers\AkaunController@cetaklaporan_Upah'])->middleware('auth'); Route::get('/akaunhome/cetaktuntutbaki',['as'=>'cetak.tuntutbaki','uses'=>'App\Http\Controllers\AkaunController@cetaklaporan_tuntutbaki'])->middleware('auth'); Route::get('/akaunhome/cetakpendahuluanserahan',['as'=>'cetak.pendser','uses'=>'App\Http\Controllers\AkaunController@cetaklaporan_laporan_pendserahan'])->middleware('auth');