diff --git a/app/Console/Commands/ResetRoleAsal.php b/app/Console/Commands/ResetRoleAsal.php new file mode 100644 index 0000000..c655d20 --- /dev/null +++ b/app/Console/Commands/ResetRoleAsal.php @@ -0,0 +1,50 @@ +$user_kaunter){ + $user = User::find($user_kaunter->id); + if($user->cawangan != 'operasi'){ + $user->roles = $user->role_asal; + $user->save(); + } + } + } +} diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 878ce50..f3bc79a 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -16,6 +16,7 @@ class Kernel extends ConsoleKernel Commands\resetRoleDaily::class, Commands\updateJbg::class, Commands\updateOnline::class, + Commands\ResetRoleAsal::class, ]; /** @@ -28,6 +29,7 @@ class Kernel extends ConsoleKernel { $schedule->command('reset:dailyrole')->daily()->timezone('Asia/Kuala_Lumpur')->at('00:01'); $schedule->command('update:jbg')->daily()->timezone('Asia/Kuala_Lumpur')->at('00:01'); + $schedule->command('reset:roleasal')->daily()->timezone('Asia/Kuala_Lumpur')->at('00:01'); $schedule->command('update:online')->daily()->timezone('Asia/Kuala_Lumpur')->everyFifteenMinutes(); } diff --git a/app/Http/Controllers/AliranTunaiController.php b/app/Http/Controllers/AliranTunaiController.php index 441e690..0459e14 100644 --- a/app/Http/Controllers/AliranTunaiController.php +++ b/app/Http/Controllers/AliranTunaiController.php @@ -349,6 +349,16 @@ class AliranTunaiController extends Controller $tuntutbaki = Http::get(config('api.url'). '/api/TuntutBaki/'. $auth_user['cawangan'] . '/teller/',['teller' => Auth::user()->name])->json(); $advansur = Http::get(config('api.url').'/api/AnsuranByTarikh/'.$auth_user['cawangan'],['kodlaluan' => Auth::user()->name ])->json(); + $lelong = Http::get(config('api.url').'/api/lelong/harini/'.$auth_user['cawangan'])->json(); + + $lelongan = 0; + if(strtoupper($Auth::user()->name) === 'LELONG') + { + $lelongan = floatval($lelong); + }else{ + $lelongan = 0; + } + $totalserahan = 0; $totalpendahuluan = 0; foreach($addtunai as $index1=>$at) @@ -435,7 +445,11 @@ class AliranTunaiController extends Controller $penebusanbarcodescanned = floatval($totaltebusbarcodescanned) + floatval($totalansuran) + floatval($totalupahlama); $gadaian = floatval($totalgadai); - $bakisemasa = floatval($bakiawal) + floatval($totalpendahuluan) + floatval($penebusan) - (floatval($gadaian) + floatval($totalserahan)) - floatval($totaltuntutbaki); + if(strtoupper($Auth::user()->name) === 'LELONG'){ + $bakisemasa = floatval($bakiawal) + floatval($totalpendahuluan) + floatval($penebusan) - (floatval($gadaian) + floatval($totalserahan)) - floatval($totaltuntutbaki); + }else{ + $bakisemasa = $lelongan; + } $errorpendahuluan = false; $errorserahan = false; $errorpenebusan = false; $errorgadaian = false; $errorbaki = false; diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index 520fe74..b54f825 100644 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -65,21 +65,27 @@ class LoginController extends Controller if($auth_user['roles'] == 'teller'){ if($auth_user['role_harian'] == 'teller'){ $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json(); - return view('homepage.'.$auth_user['role_harian'].'.home',compact('cawangan_info','api_url')); + // return view('homepage.'.$auth_user['role_harian'].'.home',compact('cawangan_info','api_url')); + return redirect()->route('home'); }elseif($auth_user['role_harian'] == 'penilai'){ $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json(); $gadaian_semasa = Http::get(config('api.url') . '/api/gadaiansemasa/'. $auth_user['cawangan'])->json(); $gadaian_belumserah = Http::get(config('api.url') . '/api/gadaiansemasa/belum_serah/'. $auth_user['cawangan'])->json(); - return view('homepage.'.$auth_user['role_harian'].'.home',compact('cawangan_info','gadaian_semasa','gadaian_belumserah','api_url')); + // return view('homepage.'.$auth_user['role_harian'].'.home',compact('cawangan_info','gadaian_semasa','gadaian_belumserah','api_url')); + return redirect()->route('home'); + }else{ + return view('not_assign'); } } elseif($auth_user['roles'] == 'pc' || $auth_user['roles'] == 'ppc'){ $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json(); - return view('homepage.khazanah.home',compact('cawangan_info','api_url')); + // return view('homepage.khazanah.home',compact('cawangan_info','api_url')); + return redirect()->route('home'); } - elseif($auth_user['roles'] == 'operasi'){ + else{ $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json(); - return view('homepage.'.$auth_user['roles'].'.home',compact('cawangan_info','api_url')); + // return view('homepage.'.$auth_user['roles'].'.home',compact('cawangan_info','api_url')); + return redirect()->route('home'); } } diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index 6fd996c..4bf15b1 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -39,12 +39,15 @@ class HomeController extends Controller $gadaian_belumserah = Http::get(config('api.url') . '/api/gadaiansemasa/belum_serah/'. $auth_user['cawangan'])->json(); return view('homepage.'.$auth_user['role_harian'].'.home',compact('cawangan_info','gadaian_semasa','gadaian_belumserah','api_url')); } + else{ + return view('not_assign'); + } } elseif($auth_user['roles'] == 'pc' || $auth_user['roles'] == 'ppc'){ $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json(); return view('homepage.khazanah.home',compact('cawangan_info','api_url')); } - elseif($auth_user['roles'] == 'operasi'){ + else{ $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json(); return view('homepage.'.$auth_user['roles'].'.home',compact('cawangan_info','api_url')); } diff --git a/app/Http/Controllers/KakitanganController.php b/app/Http/Controllers/KakitanganController.php index de1c0f1..59781ed 100644 --- a/app/Http/Controllers/KakitanganController.php +++ b/app/Http/Controllers/KakitanganController.php @@ -22,7 +22,8 @@ class KakitanganController extends Controller $auth_user = Auth::user(); $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json(); $role = Role::get(); - return view('operasi.daftar_kakitangan',compact('cawangan_info','api_url','role')); + $kakitangan = User::all(); + return view('operasi.daftar_kakitangan',compact('cawangan_info','api_url','role','kakitangan')); } public function registerStaff(Request $request){ @@ -91,4 +92,50 @@ class KakitanganController extends Controller return redirect()->route('home'); } + + public function tukartaraf(Request $request){ + $api_url = config('api.url'); + $auth_user = Auth::user(); + $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json(); + $user = User::find($request->id); + $role = Role::get(); + return view('operasi.tukar_taraf',compact('cawangan_info','api_url','role','user')); + } + + public function tukartarafUpdate(Request $request){ + $user = User::find($request->user_id); + if($user->role_harian == null){ + if($user->role_asal == 'pc'){ + $user->roles = $request->role; + $user->save(); + } + }else{ + if($user->role_asal == 'pc'){ + $user->roles = $request->role; + $user->role_harian = $request->role; + $user->save(); + } + } + + return redirect()->route('daftar.kakitangan'); + } + + public function tukarcawangan(Request $request){ + $api_url = config('api.url'); + $auth_user = Auth::user(); + $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json(); + $user = User::find($request->id); + $role = Role::get(); + return view('operasi.tukar_cawangan',compact('cawangan_info','api_url','role','user')); + } + + public function tukarcawanganUpdate(Request $request){ + $user = User::find($request->user_id); + $user->cawangan = $request->cawangan; + $user->roles = $request->role; + $user->role_harian = $request->role; + $user->save(); + + return redirect()->route('daftar.kakitangan'); + } } diff --git a/app/Http/Controllers/KhazanahController.php b/app/Http/Controllers/KhazanahController.php index 1c17191..138ee2a 100644 --- a/app/Http/Controllers/KhazanahController.php +++ b/app/Http/Controllers/KhazanahController.php @@ -2668,9 +2668,8 @@ class KhazanahController extends Controller $TotalTunaiDebit = 0; $TotalTunaiKredit = 0; - $TotalTunaiDebit = $pinjamandiberi['Gadai'] + $pembiayaantawarruq['Gadai'] + $rebet + $keuntungan + $imbangduga['serahan'] + $panjar['bds'] + $panjar['perubatan'] + $panjar['keraian'] + $bakilelong['rugilelong']; - $TotalTunaiKredit = $pinjamandiberi['Tebus'] + $pembiayaantawarruq['Tebus'] + $rebet + $keuntungan + $keuntungansebenar + $untungrugi + $bayaranpendahuluan + $imbangduga['pendahuluan'] + $bakilelong['bakilelong']; - + $TotalTunaiDebit = $pinjamandiberi['Gadai'] + $pembiayaantawarruq['Gadai'] + $rebet + $keuntungan + $imbangduga['serahan'] + $panjar['bds'] + $panjar['perubatan'] + $panjar['keraian'] + $bakilelong['rugilelong']; + $TotalTunaiKredit = $pinjamandiberi['Tebus'] + $pembiayaantawarruq['Tebus'] + $rebet + $keuntungan + $keuntungansebenar + $untungrugi + $bayaranpendahuluan + $imbangduga['pendahuluan'] + $bakilelong['bakilelong']; array_push($Debit,['glcode' => '1000/010','descpt' => 'Tunai Di Tangan', 'amaun' => $TotalTunaiKredit]); array_push($Debit,['glcode' => '1000/013','descpt' => 'Pinjaman Diberi - Koop PKB', 'amaun' => $pinjamandiberi['Gadai']]); diff --git a/app/Http/Controllers/OperasiController.php b/app/Http/Controllers/OperasiController.php index cf84319..c5ad46f 100644 --- a/app/Http/Controllers/OperasiController.php +++ b/app/Http/Controllers/OperasiController.php @@ -187,4 +187,12 @@ class OperasiController extends Controller return view('operasi.hargaemas',compact('cawangan_info','api_url','harga_emas')); } + + public function margin(){ + $auth_user = Auth::user(); + $api_url = config('api.url'); + $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json(); + $margin_pembiayaan = Http::get(config('api.url') . '/api/maxpinjaman')->json(); + return view('operasi.margin_pembiayaan',compact('cawangan_info','api_url','margin_pembiayaan')); + } } diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index 639d36a..4d12ad2 100644 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -18,6 +18,10 @@ class UserController extends Controller $api_url = config('api.url'); $auth_user = Auth::user(); $cawangan_info = Http::get(config('api.url') . '/api/cawangan/'. $auth_user['cawangan'])->json(); - return view('user.index',compact('cawangan_info','api_url')); + if($auth_user->roles == 'teller' || $auth_user->roles == 'ppc' || $auth_user->roles == 'pc'){ + return view('user.index',compact('cawangan_info','api_url','auth_user')); + }else{ + return view('user.index_operasi',compact('cawangan_info','api_url','auth_user')); + } } } diff --git a/composer.json b/composer.json index fbedd0b..b89b9d7 100644 --- a/composer.json +++ b/composer.json @@ -27,6 +27,7 @@ "yajra/laravel-datatables-oracle": "^9.11" }, "require-dev": { + "barryvdh/laravel-debugbar": "^3.6", "facade/ignition": "^2.0", "fzaninotto/faker": "^1.9.1", "mockery/mockery": "^1.3.1", diff --git a/composer.lock b/composer.lock index 020bb29..5ab0018 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": "4f26944f77caea167bb120f5fe970820", + "content-hash": "bfd66ab0246126c4f2cc7bbeeacca4ec", "packages": [ { "name": "almasaeed2010/adminlte", @@ -43,10 +43,6 @@ "theme", "web" ], - "support": { - "issues": "https://github.com/ColorlibHQ/AdminLTE/issues", - "source": "https://github.com/ColorlibHQ/AdminLTE/tree/v3.0.5" - }, "time": "2020-05-19T20:41:11+00:00" }, { @@ -216,12 +212,6 @@ "issues": "https://github.com/barryvdh/laravel-dompdf/issues", "source": "https://github.com/barryvdh/laravel-dompdf/tree/master" }, - "funding": [ - { - "url": "https://github.com/barryvdh", - "type": "github" - } - ], "time": "2020-09-07T11:50:18+00:00" }, { @@ -268,16 +258,6 @@ "brick", "math" ], - "support": { - "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/master" - }, - "funding": [ - { - "url": "https://tidelift.com/funding/github/packagist/brick/math", - "type": "tidelift" - } - ], "time": "2020-08-18T23:57:15+00:00" }, { @@ -358,10 +338,6 @@ "MIT" ], "description": "implementation of xdg base directory specification for php", - "support": { - "issues": "https://github.com/dnoegel/php-xdg-base-dir/issues", - "source": "https://github.com/dnoegel/php-xdg-base-dir/tree/v0.1.1" - }, "time": "2019-12-04T15:06:13+00:00" }, { @@ -439,24 +415,6 @@ "uppercase", "words" ], - "support": { - "issues": "https://github.com/doctrine/inflector/issues", - "source": "https://github.com/doctrine/inflector/tree/2.0.x" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector", - "type": "tidelift" - } - ], "time": "2020-05-29T15:13:26+00:00" }, { @@ -519,24 +477,6 @@ "parser", "php" ], - "support": { - "issues": "https://github.com/doctrine/lexer/issues", - "source": "https://github.com/doctrine/lexer/tree/1.2.1" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer", - "type": "tidelift" - } - ], "time": "2020-05-25T17:44:05+00:00" }, { @@ -667,12 +607,6 @@ "issues": "https://github.com/dragonmantank/cron-expression/issues", "source": "https://github.com/dragonmantank/cron-expression/tree/v2.3.1" }, - "funding": [ - { - "url": "https://github.com/dragonmantank", - "type": "github" - } - ], "time": "2020-10-13T00:52:37+00:00" }, { @@ -735,12 +669,6 @@ "issues": "https://github.com/egulias/EmailValidator/issues", "source": "https://github.com/egulias/EmailValidator/tree/2.1.24" }, - "funding": [ - { - "url": "https://github.com/egulias", - "type": "github" - } - ], "time": "2020-11-14T15:56:27+00:00" }, { @@ -870,12 +798,6 @@ "issues": "https://github.com/fruitcake/laravel-cors/issues", "source": "https://github.com/fruitcake/laravel-cors/tree/v2.0.3" }, - "funding": [ - { - "url": "https://github.com/barryvdh", - "type": "github" - } - ], "time": "2020-10-22T13:57:20+00:00" }, { @@ -943,10 +865,6 @@ "rest", "web service" ], - "support": { - "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/6.5" - }, "time": "2020-06-16T21:01:06+00:00" }, { @@ -998,10 +916,6 @@ "keywords": [ "promise" ], - "support": { - "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/1.4.0" - }, "time": "2020-09-30T07:37:28+00:00" }, { @@ -1073,10 +987,6 @@ "uri", "url" ], - "support": { - "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/1.7.0" - }, "time": "2020-09-30T07:37:11+00:00" }, { @@ -1147,10 +1057,6 @@ "thumbnail", "watermark" ], - "support": { - "issues": "https://github.com/Intervention/image/issues", - "source": "https://github.com/Intervention/image/tree/master" - }, "time": "2019-11-02T09:15:47+00:00" }, { @@ -1206,10 +1112,6 @@ "administrator", "laravel" ], - "support": { - "issues": "https://github.com/jeroennoten/Laravel-AdminLTE/issues", - "source": "https://github.com/jeroennoten/Laravel-AdminLTE/tree/v3.5.0" - }, "time": "2020-09-26T21:28:24+00:00" }, { @@ -1570,32 +1472,6 @@ "rss": "https://github.com/thephpleague/commonmark/releases.atom", "source": "https://github.com/thephpleague/commonmark" }, - "funding": [ - { - "url": "https://enjoy.gitstore.app/repositories/thephpleague/commonmark", - "type": "custom" - }, - { - "url": "https://www.colinodell.com/sponsor", - "type": "custom" - }, - { - "url": "https://www.paypal.me/colinpodell/10.00", - "type": "custom" - }, - { - "url": "https://github.com/colinodell", - "type": "github" - }, - { - "url": "https://www.patreon.com/colinodell", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/league/commonmark", - "type": "tidelift" - } - ], "time": "2020-10-31T13:49:32+00:00" }, { @@ -1681,16 +1557,6 @@ "sftp", "storage" ], - "support": { - "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/1.x" - }, - "funding": [ - { - "url": "https://offset.earth/frankdejonge", - "type": "other" - } - ], "time": "2020-08-23T07:39:11+00:00" }, { @@ -1801,16 +1667,6 @@ "issues": "https://github.com/thephpleague/mime-type-detection/issues", "source": "https://github.com/thephpleague/mime-type-detection/tree/1.5.1" }, - "funding": [ - { - "url": "https://github.com/frankdejonge", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/league/flysystem", - "type": "tidelift" - } - ], "time": "2020-10-18T11:50:25+00:00" }, { @@ -1872,16 +1728,6 @@ "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" }, { @@ -1946,15 +1792,6 @@ "issues": "https://github.com/milon/barcode/issues", "source": "https://github.com/milon/barcode/tree/7.0.1" }, - "funding": [ - { - "type": "custom" - }, - { - "url": "https://github.com/milon", - "type": "github" - } - ], "time": "2020-08-26T18:58:46+00:00" }, { @@ -2036,20 +1873,6 @@ "logging", "psr-3" ], - "support": { - "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/2.1.1" - }, - "funding": [ - { - "url": "https://github.com/Seldaek", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/monolog/monolog", - "type": "tidelift" - } - ], "time": "2020-07-23T08:41:23+00:00" }, { @@ -2100,16 +1923,6 @@ "issues": "https://github.com/myclabs/php-enum/issues", "source": "https://github.com/myclabs/php-enum/tree/1.7.7" }, - "funding": [ - { - "url": "https://github.com/mnapoli", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/myclabs/php-enum", - "type": "tidelift" - } - ], "time": "2020-11-14T18:14:52+00:00" }, { @@ -2193,16 +2006,6 @@ "issues": "https://github.com/briannesbitt/Carbon/issues", "source": "https://github.com/briannesbitt/Carbon" }, - "funding": [ - { - "url": "https://opencollective.com/Carbon", - "type": "open_collective" - }, - { - "url": "https://tidelift.com/funding/github/packagist/nesbot/carbon", - "type": "tidelift" - } - ], "time": "2020-11-28T14:25:28+00:00" }, { @@ -2362,10 +2165,6 @@ } ], "description": "A PHP-Wrapper around the Ghostscript-CLI", - "support": { - "issues": "https://github.com/heiglandreas/Org_Heigl_Ghostscript/issues", - "source": "https://github.com/heiglandreas/Org_Heigl_Ghostscript/tree/2.3.2" - }, "time": "2020-09-23T05:00:00+00:00" }, { @@ -2642,20 +2441,6 @@ "php", "type" ], - "support": { - "issues": "https://github.com/schmittjoh/php-option/issues", - "source": "https://github.com/schmittjoh/php-option/tree/1.7.5" - }, - "funding": [ - { - "url": "https://github.com/GrahamCampbell", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpoption/phpoption", - "type": "tidelift" - } - ], "time": "2020-07-20T17:29:33+00:00" }, { @@ -2729,12 +2514,6 @@ "issues": "https://github.com/predis/predis/issues", "source": "https://github.com/predis/predis/tree/v1.1.6" }, - "funding": [ - { - "url": "https://github.com/sponsors/tillkruss", - "type": "github" - } - ], "time": "2020-09-11T19:18:05+00:00" }, { @@ -2784,10 +2563,6 @@ "container-interop", "psr" ], - "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/master" - }, "time": "2017-02-14T16:28:37+00:00" }, { @@ -2834,10 +2609,6 @@ "psr", "psr-14" ], - "support": { - "issues": "https://github.com/php-fig/event-dispatcher/issues", - "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" - }, "time": "2019-01-08T18:20:26+00:00" }, { @@ -2888,9 +2659,6 @@ "request", "response" ], - "support": { - "source": "https://github.com/php-fig/http-message/tree/master" - }, "time": "2016-08-06T14:39:51+00:00" }, { @@ -2938,9 +2706,6 @@ "psr", "psr-3" ], - "support": { - "source": "https://github.com/php-fig/log/tree/1.1.3" - }, "time": "2020-03-23T09:12:05+00:00" }, { @@ -2989,9 +2754,6 @@ "psr-16", "simple-cache" ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, "time": "2017-10-23T01:57:42+00:00" }, { @@ -3166,10 +2928,6 @@ } ], "description": "A polyfill for getallheaders.", - "support": { - "issues": "https://github.com/ralouphie/getallheaders/issues", - "source": "https://github.com/ralouphie/getallheaders/tree/develop" - }, "time": "2019-03-08T08:55:37+00:00" }, { @@ -3233,16 +2991,6 @@ "queue", "set" ], - "support": { - "issues": "https://github.com/ramsey/collection/issues", - "source": "https://github.com/ramsey/collection/tree/1.1.1" - }, - "funding": [ - { - "url": "https://github.com/ramsey", - "type": "github" - } - ], "time": "2020-09-10T20:58:17+00:00" }, { @@ -3324,17 +3072,6 @@ "identifier", "uuid" ], - "support": { - "issues": "https://github.com/ramsey/uuid/issues", - "rss": "https://github.com/ramsey/uuid/releases.atom", - "source": "https://github.com/ramsey/uuid" - }, - "funding": [ - { - "url": "https://github.com/ramsey", - "type": "github" - } - ], "time": "2020-08-18T17:17:46+00:00" }, { @@ -3572,16 +3309,6 @@ "issues": "https://github.com/spatie/image/issues", "source": "https://github.com/spatie/image/tree/1.10.1" }, - "funding": [ - { - "url": "https://spatie.be/open-source/support-us", - "type": "custom" - }, - { - "url": "https://github.com/spatie", - "type": "github" - } - ], "time": "2020-12-01T20:42:11+00:00" }, { @@ -3726,16 +3453,6 @@ "issues": "https://github.com/spatie/laravel-medialibrary/issues", "source": "https://github.com/spatie/laravel-medialibrary/tree/7.19.5" }, - "funding": [ - { - "url": "https://spatie.be/open-source/support-us", - "type": "custom" - }, - { - "url": "https://github.com/spatie", - "type": "github" - } - ], "time": "2020-11-04T21:08:45+00:00" }, { @@ -3787,10 +3504,6 @@ "pdf-to-image", "spatie" ], - "support": { - "issues": "https://github.com/spatie/pdf-to-image/issues", - "source": "https://github.com/spatie/pdf-to-image/tree/v2" - }, "time": "2017-06-20T05:58:45+00:00" }, { @@ -3907,16 +3620,6 @@ "issues": "https://github.com/swiftmailer/swiftmailer/issues", "source": "https://github.com/swiftmailer/swiftmailer/tree/v6.2.4" }, - "funding": [ - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/swiftmailer/swiftmailer", - "type": "tidelift" - } - ], "time": "2020-12-08T18:02:06+00:00" }, { @@ -4000,20 +3703,6 @@ "support": { "source": "https://github.com/symfony/console/tree/v5.2.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-11-28T11:24:18+00:00" }, { @@ -4065,20 +3754,6 @@ "support": { "source": "https://github.com/symfony/css-selector/tree/v5.2.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-10-28T21:31:18+00:00" }, { @@ -4129,23 +3804,6 @@ ], "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/master" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-09-07T11:33:47+00:00" }, { @@ -4201,20 +3859,6 @@ "support": { "source": "https://github.com/symfony/error-handler/tree/v5.2.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-10-28T21:46:03+00:00" }, { @@ -4286,20 +3930,6 @@ "support": { "source": "https://github.com/symfony/event-dispatcher/tree/v5.2.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-11-01T16:14:45+00:00" }, { @@ -4362,23 +3992,6 @@ "interoperability", "standards" ], - "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.2.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-09-07T11:33:47+00:00" }, { @@ -4426,20 +4039,6 @@ "support": { "source": "https://github.com/symfony/finder/tree/v5.2.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-11-18T09:42:36+00:00" }, { @@ -4505,20 +4104,6 @@ "support": { "source": "https://github.com/symfony/http-client-contracts/tree/v2.3.1" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-10-14T17:08:19+00:00" }, { @@ -4578,20 +4163,6 @@ "support": { "source": "https://github.com/symfony/http-foundation/tree/v5.2.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-11-27T06:13:25+00:00" }, { @@ -4690,20 +4261,6 @@ "support": { "source": "https://github.com/symfony/http-kernel/tree/v5.2.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-11-30T05:54:18+00:00" }, { @@ -4770,20 +4327,6 @@ "support": { "source": "https://github.com/symfony/mime/tree/v5.2.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-10-30T14:55:39+00:00" }, { @@ -4849,20 +4392,6 @@ "support": { "source": "https://github.com/symfony/polyfill-ctype/tree/v1.20.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-10-23T14:02:19+00:00" }, { @@ -4929,20 +4458,6 @@ "support": { "source": "https://github.com/symfony/polyfill-iconv/tree/v1.20.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-10-23T14:02:19+00:00" }, { @@ -5010,20 +4525,6 @@ "support": { "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.20.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-10-23T14:02:19+00:00" }, { @@ -5097,20 +4598,6 @@ "support": { "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.20.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-10-23T14:02:19+00:00" }, { @@ -5181,20 +4668,6 @@ "support": { "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.20.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-10-23T14:02:19+00:00" }, { @@ -5261,20 +4734,6 @@ "support": { "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.20.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-10-23T14:02:19+00:00" }, { @@ -5337,20 +4796,6 @@ "support": { "source": "https://github.com/symfony/polyfill-php72/tree/v1.20.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-10-23T14:02:19+00:00" }, { @@ -5416,20 +4861,6 @@ "support": { "source": "https://github.com/symfony/polyfill-php73/tree/v1.20.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-10-23T14:02:19+00:00" }, { @@ -5499,20 +4930,6 @@ "support": { "source": "https://github.com/symfony/polyfill-php80/tree/v1.20.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-10-23T14:02:19+00:00" }, { @@ -5561,20 +4978,6 @@ "support": { "source": "https://github.com/symfony/process/tree/v5.2.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-11-02T15:47:15+00:00" }, { @@ -5651,20 +5054,6 @@ "support": { "source": "https://github.com/symfony/routing/tree/v5.2.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-11-27T00:39:34+00:00" }, { @@ -5727,23 +5116,6 @@ "interoperability", "standards" ], - "support": { - "source": "https://github.com/symfony/service-contracts/tree/master" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-09-07T11:33:47+00:00" }, { @@ -5813,20 +5185,6 @@ "support": { "source": "https://github.com/symfony/string/tree/v5.2.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-10-24T12:08:07+00:00" }, { @@ -5906,20 +5264,6 @@ "support": { "source": "https://github.com/symfony/translation/tree/v5.2.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-11-28T11:24:18+00:00" }, { @@ -5981,23 +5325,6 @@ "interoperability", "standards" ], - "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v2.3.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-09-28T13:05:58+00:00" }, { @@ -6072,20 +5399,6 @@ "support": { "source": "https://github.com/symfony/var-dumper/tree/v5.2.0" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], "time": "2020-11-27T00:39:34+00:00" }, { @@ -6135,10 +5448,6 @@ ], "description": "CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.", "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", - "support": { - "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", - "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.3" - }, "time": "2020-07-13T06:12:54+00:00" }, { @@ -6257,20 +5566,6 @@ "env", "environment" ], - "support": { - "issues": "https://github.com/vlucas/phpdotenv/issues", - "source": "https://github.com/vlucas/phpdotenv/tree/4.1" - }, - "funding": [ - { - "url": "https://github.com/GrahamCampbell", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv", - "type": "tidelift" - } - ], "time": "2020-07-14T19:22:52+00:00" }, { @@ -6323,28 +5618,6 @@ "issues": "https://github.com/voku/portable-ascii/issues", "source": "https://github.com/voku/portable-ascii/tree/1.5.6" }, - "funding": [ - { - "url": "https://www.paypal.me/moelleken", - "type": "custom" - }, - { - "url": "https://github.com/voku", - "type": "github" - }, - { - "url": "https://opencollective.com/portable-ascii", - "type": "open_collective" - }, - { - "url": "https://www.patreon.com/voku", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/voku/portable-ascii", - "type": "tidelift" - } - ], "time": "2020-11-12T00:07:28+00:00" }, { @@ -6420,20 +5693,81 @@ "issues": "https://github.com/yajra/laravel-datatables/issues", "source": "https://github.com/yajra/laravel-datatables/tree/v9.15.2" }, - "funding": [ - { - "url": "https://www.paypal.me/yajra", - "type": "custom" - }, - { - "url": "https://www.patreon.com/yajra", - "type": "patreon" - } - ], "time": "2020-12-09T15:42:04+00:00" } ], "packages-dev": [ + { + "name": "barryvdh/laravel-debugbar", + "version": "v3.6.2", + "source": { + "type": "git", + "url": "https://github.com/barryvdh/laravel-debugbar.git", + "reference": "70b89754913fd89fef16d0170a91dbc2a5cd633a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/70b89754913fd89fef16d0170a91dbc2a5cd633a", + "reference": "70b89754913fd89fef16d0170a91dbc2a5cd633a", + "shasum": "" + }, + "require": { + "illuminate/routing": "^6|^7|^8", + "illuminate/session": "^6|^7|^8", + "illuminate/support": "^6|^7|^8", + "maximebf/debugbar": "^1.16.3", + "php": ">=7.2", + "symfony/debug": "^4.3|^5", + "symfony/finder": "^4.3|^5" + }, + "require-dev": { + "mockery/mockery": "^1.3.3", + "orchestra/testbench-dusk": "^4|^5|^6", + "phpunit/phpunit": "^8.5|^9.0", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.5-dev" + }, + "laravel": { + "providers": [ + "Barryvdh\\Debugbar\\ServiceProvider" + ], + "aliases": { + "Debugbar": "Barryvdh\\Debugbar\\Facade" + } + } + }, + "autoload": { + "psr-4": { + "Barryvdh\\Debugbar\\": "src/" + }, + "files": [ + "src/helpers.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Barry vd. Heuvel", + "email": "barryvdh@gmail.com" + } + ], + "description": "PHP Debugbar integration for Laravel", + "keywords": [ + "debug", + "debugbar", + "laravel", + "profiler", + "webprofiler" + ], + "time": "2021-06-14T14:29:26+00:00" + }, { "name": "doctrine/instantiator", "version": "1.4.0", @@ -6487,20 +5821,6 @@ "issues": "https://github.com/doctrine/instantiator/issues", "source": "https://github.com/doctrine/instantiator/tree/1.4.0" }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", - "type": "tidelift" - } - ], "time": "2020-11-10T18:47:58+00:00" }, { @@ -6560,12 +5880,6 @@ "issues": "https://github.com/facade/flare-client-php/issues", "source": "https://github.com/facade/flare-client-php/tree/1.3.7" }, - "funding": [ - { - "url": "https://github.com/spatie", - "type": "github" - } - ], "time": "2020-10-21T16:02:39+00:00" }, { @@ -6693,10 +6007,6 @@ "flare", "ignition" ], - "support": { - "issues": "https://github.com/facade/ignition-contracts/issues", - "source": "https://github.com/facade/ignition-contracts/tree/1.0.1" - }, "time": "2020-07-14T10:10:28+00:00" }, { @@ -6864,12 +6174,69 @@ "keywords": [ "test" ], - "support": { - "issues": "https://github.com/hamcrest/hamcrest-php/issues", - "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" - }, "time": "2020-07-09T08:09:16+00:00" }, + { + "name": "maximebf/debugbar", + "version": "v1.16.5", + "source": { + "type": "git", + "url": "https://github.com/maximebf/php-debugbar.git", + "reference": "6d51ee9e94cff14412783785e79a4e7ef97b9d62" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/6d51ee9e94cff14412783785e79a4e7ef97b9d62", + "reference": "6d51ee9e94cff14412783785e79a4e7ef97b9d62", + "shasum": "" + }, + "require": { + "php": "^7.1|^8", + "psr/log": "^1.0", + "symfony/var-dumper": "^2.6|^3|^4|^5" + }, + "require-dev": { + "phpunit/phpunit": "^7.5.20 || ^9.4.2" + }, + "suggest": { + "kriswallsmith/assetic": "The best way to manage assets", + "monolog/monolog": "Log using Monolog", + "predis/predis": "Redis storage" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.16-dev" + } + }, + "autoload": { + "psr-4": { + "DebugBar\\": "src/DebugBar/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Maxime Bouroumeau-Fuseau", + "email": "maxime.bouroumeau@gmail.com", + "homepage": "http://maximebf.com" + }, + { + "name": "Barry vd. Heuvel", + "email": "barryvdh@gmail.com" + } + ], + "description": "Debug bar in the browser for php application", + "homepage": "https://github.com/maximebf/php-debugbar", + "keywords": [ + "debug", + "debugbar" + ], + "time": "2020-12-07T11:07:24+00:00" + }, { "name": "mockery/mockery", "version": "1.3.3", @@ -6933,10 +6300,6 @@ "test double", "testing" ], - "support": { - "issues": "https://github.com/mockery/mockery/issues", - "source": "https://github.com/mockery/mockery/tree/1.3.3" - }, "time": "2020-08-11T18:10:21+00:00" }, { @@ -6989,12 +6352,6 @@ "issues": "https://github.com/myclabs/DeepCopy/issues", "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2" }, - "funding": [ - { - "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", - "type": "tidelift" - } - ], "time": "2020-11-13T09:40:50+00:00" }, { @@ -7069,20 +6426,6 @@ "issues": "https://github.com/nunomaduro/collision/issues", "source": "https://github.com/nunomaduro/collision" }, - "funding": [ - { - "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=66BYDWAT92N6L", - "type": "custom" - }, - { - "url": "https://github.com/nunomaduro", - "type": "github" - }, - { - "url": "https://www.patreon.com/nunomaduro", - "type": "patreon" - } - ], "time": "2020-10-29T15:12:23+00:00" }, { @@ -7243,10 +6586,6 @@ "reflection", "static analysis" ], - "support": { - "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues", - "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x" - }, "time": "2020-06-27T09:03:43+00:00" }, { @@ -7299,10 +6638,6 @@ } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "support": { - "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", - "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/master" - }, "time": "2020-09-03T19:13:55+00:00" }, { @@ -7348,10 +6683,6 @@ } ], "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", - "support": { - "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.4.0" - }, "time": "2020-09-17T18:55:26+00:00" }, { @@ -7415,10 +6746,6 @@ "spy", "stub" ], - "support": { - "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/1.12.1" - }, "time": "2020-09-29T09:10:42+00:00" }, { @@ -7486,12 +6813,6 @@ "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/7.0.14" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], "time": "2020-12-02T13:39:03+00:00" }, { @@ -7546,12 +6867,6 @@ "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/2.0.3" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], "time": "2020-11-30T08:25:21+00:00" }, { @@ -7593,10 +6908,6 @@ "keywords": [ "template" ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/1.2.1" - }, "time": "2015-06-21T13:50:34+00:00" }, { @@ -7650,12 +6961,6 @@ "issues": "https://github.com/sebastianbergmann/php-timer/issues", "source": "https://github.com/sebastianbergmann/php-timer/tree/2.1.3" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], "time": "2020-11-30T08:20:02+00:00" }, { @@ -7709,12 +7014,6 @@ "issues": "https://github.com/sebastianbergmann/php-token-stream/issues", "source": "https://github.com/sebastianbergmann/php-token-stream/tree/3.1.2" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], "abandoned": true, "time": "2020-11-30T08:38:46+00:00" }, @@ -7803,16 +7102,6 @@ "issues": "https://github.com/sebastianbergmann/phpunit/issues", "source": "https://github.com/sebastianbergmann/phpunit/tree/8.5.13" }, - "funding": [ - { - "url": "https://phpunit.de/donate.html", - "type": "custom" - }, - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], "time": "2020-12-01T04:53:52+00:00" }, { @@ -7886,12 +7175,6 @@ "issues": "https://github.com/scrivo/highlight.php/issues", "source": "https://github.com/scrivo/highlight.php" }, - "funding": [ - { - "url": "https://github.com/allejo", - "type": "github" - } - ], "time": "2020-11-22T06:07:40+00:00" }, { @@ -7941,12 +7224,6 @@ "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/1.0.2" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], "time": "2020-11-30T08:15:22+00:00" }, { @@ -8015,12 +7292,6 @@ "issues": "https://github.com/sebastianbergmann/comparator/issues", "source": "https://github.com/sebastianbergmann/comparator/tree/3.0.3" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], "time": "2020-11-30T08:04:30+00:00" }, { @@ -8081,12 +7352,6 @@ "issues": "https://github.com/sebastianbergmann/diff/issues", "source": "https://github.com/sebastianbergmann/diff/tree/3.0.3" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], "time": "2020-11-30T07:59:04+00:00" }, { @@ -8144,12 +7409,6 @@ "issues": "https://github.com/sebastianbergmann/environment/issues", "source": "https://github.com/sebastianbergmann/environment/tree/4.2.4" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], "time": "2020-11-30T07:53:42+00:00" }, { @@ -8221,12 +7480,6 @@ "issues": "https://github.com/sebastianbergmann/exporter/issues", "source": "https://github.com/sebastianbergmann/exporter/tree/3.1.3" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], "time": "2020-11-30T07:47:53+00:00" }, { @@ -8285,12 +7538,6 @@ "issues": "https://github.com/sebastianbergmann/global-state/issues", "source": "https://github.com/sebastianbergmann/global-state/tree/3.0.1" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], "time": "2020-11-30T07:43:24+00:00" }, { @@ -8342,12 +7589,6 @@ "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", "source": "https://github.com/sebastianbergmann/object-enumerator/tree/3.0.4" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], "time": "2020-11-30T07:40:27+00:00" }, { @@ -8397,12 +7638,6 @@ "issues": "https://github.com/sebastianbergmann/object-reflector/issues", "source": "https://github.com/sebastianbergmann/object-reflector/tree/1.1.2" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], "time": "2020-11-30T07:37:18+00:00" }, { @@ -8460,12 +7695,6 @@ "issues": "https://github.com/sebastianbergmann/recursion-context/issues", "source": "https://github.com/sebastianbergmann/recursion-context/tree/3.0.1" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], "time": "2020-11-30T07:34:24+00:00" }, { @@ -8512,12 +7741,6 @@ "issues": "https://github.com/sebastianbergmann/resource-operations/issues", "source": "https://github.com/sebastianbergmann/resource-operations/tree/2.0.2" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], "time": "2020-11-30T07:30:19+00:00" }, { @@ -8568,12 +7791,6 @@ "issues": "https://github.com/sebastianbergmann/type/issues", "source": "https://github.com/sebastianbergmann/type/tree/1.1.4" }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], "time": "2020-11-30T07:25:11+00:00" }, { @@ -8617,12 +7834,60 @@ ], "description": "Library that helps with managing the version number of Git-hosted PHP projects", "homepage": "https://github.com/sebastianbergmann/version", - "support": { - "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/master" - }, "time": "2016-10-03T07:35:21+00:00" }, + { + "name": "symfony/debug", + "version": "v4.4.25", + "source": { + "type": "git", + "url": "https://github.com/symfony/debug.git", + "reference": "a8d2d5c94438548bff9f998ca874e202bb29d07f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/debug/zipball/a8d2d5c94438548bff9f998ca874e202bb29d07f", + "reference": "a8d2d5c94438548bff9f998ca874e202bb29d07f", + "shasum": "" + }, + "require": { + "php": ">=7.1.3", + "psr/log": "~1.0", + "symfony/polyfill-php80": "^1.15" + }, + "conflict": { + "symfony/http-kernel": "<3.4" + }, + "require-dev": { + "symfony/http-kernel": "^3.4|^4.0|^5.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Debug\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools to ease debugging PHP code", + "homepage": "https://symfony.com", + "time": "2021-05-26T17:39:37+00:00" + }, { "name": "theseer/tokenizer", "version": "1.2.0", @@ -8661,16 +7926,6 @@ } ], "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", - "support": { - "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/master" - }, - "funding": [ - { - "url": "https://github.com/theseer", - "type": "github" - } - ], "time": "2020-07-12T23:59:07+00:00" }, { @@ -8720,10 +7975,6 @@ "check", "validate" ], - "support": { - "issues": "https://github.com/webmozart/assert/issues", - "source": "https://github.com/webmozart/assert/tree/master" - }, "time": "2020-07-08T17:02:28+00:00" } ], @@ -8735,6 +7986,5 @@ "platform": { "php": "^7.2.5" }, - "platform-dev": [], - "plugin-api-version": "2.0.0" + "platform-dev": [] } diff --git a/resources/views/customers/index.blade.php b/resources/views/customers/index.blade.php index 4c0a31c..b4cb26e 100644 --- a/resources/views/customers/index.blade.php +++ b/resources/views/customers/index.blade.php @@ -175,7 +175,7 @@ @@ -296,7 +296,7 @@ @@ -436,6 +436,7 @@ }); function verifycustomer(){ + $("#terima_ic").prop('disabled', true); var customername = $('#name').val(); var customeralamat = $('#alamat').val(); var customerposkod = $('#poskod').val(); @@ -443,6 +444,7 @@ var customerphone_alternate = $('#alternate_phone').val(); var age = $('#age').val(); if(age < 18){ + $("#terima_ic").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -452,6 +454,7 @@ return false; } if(customername == ''){ + $("#terima_ic").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -461,6 +464,7 @@ return false; } if(customeralamat == ''){ + $("#terima_ic").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -470,6 +474,7 @@ return false; } if(customerposkod == ''){ + $("#terima_ic").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -479,6 +484,7 @@ return false; }else{ if(customerposkod.length != 5){ + $("#terima_ic").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -488,6 +494,7 @@ return false; }else{ if($.isNumeric(customerposkod) == false){ + $("#terima_ic").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -499,6 +506,7 @@ } } if(customerphone == ''){ + $("#terima_ic").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -508,6 +516,7 @@ return false; }else{ if((customerphone.length < 9 || customerphone.length >= 12)){ + $("#terima_ic").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -517,6 +526,7 @@ return false; }else{ if($.isNumeric(customerphone) == false){ + $("#terima_ic").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -529,6 +539,7 @@ } if(customerphone_alternate != ''){ if(customerphone_alternate.length < 8 && customerphone_alternate.length > 12){ + $("#terima_ic").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -538,6 +549,7 @@ return false; }else{ if($.isNumeric(customerphone_alternate) == false){ + $("#terima_ic").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -552,6 +564,7 @@ } function verifycustomerpassport(){ + $("#terima_passport").prop('disabled', true); var customername = $('#passport_name').val(); var customeralamat = $('#passport_alamat').val(); var customerposkod = $('#passport_poskod').val(); @@ -561,6 +574,7 @@ var age = $('#passport_age').val(); if(age < 18){ + $("#terima_passport").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -570,6 +584,7 @@ return false; } if(customername == ''){ + $("#terima_passport").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -579,6 +594,7 @@ return false; } if(tarikh_lahir == ''){ + $("#terima_passport").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -588,6 +604,7 @@ return false; } if(customeralamat == ''){ + $("#terima_passport").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -597,6 +614,7 @@ return false; } if(customerposkod == ''){ + $("#terima_passport").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -606,6 +624,7 @@ return false; }else{ if(customerposkod.length != 5){ + $("#terima_passport").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -615,6 +634,7 @@ return false; }else{ if($.isNumeric(customerposkod) == false){ + $("#terima_passport").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -626,6 +646,7 @@ } } if(customerphone == ''){ + $("#terima_passport").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -635,6 +656,7 @@ return false; }else{ if(customerphone.length <= 9 || customerphone.length >= 12){ + $("#terima_passport").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -644,6 +666,7 @@ return false; }else{ if($.isNumeric(customerphone) == false){ + $("#terima_passport").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -656,6 +679,7 @@ } if(customerphone_alternate != ''){ if(customerphone_alternate.length <= 8 && customerphone_alternate.length >= 12){ + $("#terima_passport").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', @@ -665,6 +689,7 @@ return false; }else{ if($.isNumeric(customerphone_alternate) == false){ + $("#terima_passport").prop('disabled', false); Swal.fire({ icon: 'error', title: 'Amaran!', diff --git a/resources/views/customers/info.blade.php b/resources/views/customers/info.blade.php index c7a01d7..e8aaece 100644 --- a/resources/views/customers/info.blade.php +++ b/resources/views/customers/info.blade.php @@ -92,7 +92,7 @@ No Telefon
- +
@@ -248,7 +248,7 @@ No KP
- +
@@ -264,7 +264,7 @@ No Telefon 1
- +
@@ -273,7 +273,7 @@ No Telefon 2
- +
@@ -310,7 +310,7 @@ Alamat
- +
@@ -318,7 +318,7 @@ Poskod
- +
@@ -328,9 +328,12 @@
@php $poskod = Http::get($api_url . '/api/poskod/'. $customer_info['poskod'])->json(); + if(empty($poskod)){ + $poskod = array('koddaerah'=>'NIL','kodnegeri' => 'NIL'); + } $daerah = Http::get($api_url . '/api/daerah/' . $poskod['koddaerah'])->json(); @endphp - +
@@ -341,7 +344,7 @@ @php $negeri = Http::get($api_url . '/api/negeri/' . $poskod['kodnegeri'])->json(); @endphp - +
@@ -699,7 +702,7 @@ '', '' + gadai_detail['norujukan'] + '', gadai_detail['t_gadai'], - gadai_detail['t_matang1'], + gadai_detail['t_matang'], 'RM '+ formatter.format(gadai_detail['bakihargajualan']), 'RM '+formatter.format(gadai_detail['bakipjm']), (((Number(gadai_detail['pinjaman'])/Number(gadai_detail['nilaimarhun']))*100).toFixed(2)).toLocaleString("en-GB") + '%', diff --git a/resources/views/gadaian/edit.blade.php b/resources/views/gadaian/edit.blade.php index 822b40e..8e0091a 100644 --- a/resources/views/gadaian/edit.blade.php +++ b/resources/views/gadaian/edit.blade.php @@ -553,11 +553,6 @@ 'nota' : nota }, success:function(data){ - Swal.fire({ - icon: 'success', - title: 'Berjaya!', - text: 'Ubah Marhun Berjaya' - }); getMarhun(norujukedit); $('#editMarhunModal').modal('hide'); } @@ -647,11 +642,6 @@ 'nilai_marhun' : nilai_marhun }, success:function(data){ - Swal.fire({ - icon: 'success', - title: 'Berjaya!', - text: 'Tambah Marhun Berjaya' - }); $('#nota').val('').trigger("change"); $('#marhun').val(0); $('#karat').val(0); @@ -748,11 +738,6 @@ 'nilai_marhun' : nilai_marhun }, success:function(data){ - Swal.fire({ - icon: 'success', - title: 'Berjaya!', - text: 'Tambah Marhun Berjaya' - }); $('#nota').val('').trigger("change"); $('#marhun').val(0); $('#karat').val(0); diff --git a/resources/views/gadaian/index.blade.php b/resources/views/gadaian/index.blade.php index 614d2dc..08eea38 100644 --- a/resources/views/gadaian/index.blade.php +++ b/resources/views/gadaian/index.blade.php @@ -509,11 +509,6 @@ success:function(data){ $("#tambah_marhun").prop('disabled', false); $("#terima_marhun").prop('disabled', false); - Swal.fire({ - icon: 'success', - title: 'Berjaya!', - text: 'Tambah Marhun Berjaya' - }); $('#nota').val('').trigger("change"); $('#marhun').val(0); $('#karat').val(0); @@ -625,11 +620,6 @@ success:function(data){ $("#tambah_marhun").prop('disabled', false); $("#terima_marhun").prop('disabled', false); - Swal.fire({ - icon: 'success', - title: 'Berjaya!', - text: 'Tambah Marhun Berjaya' - }); $('#nota').val('').trigger("change"); $('#marhun').val(0); $('#karat').val(0); @@ -1128,11 +1118,6 @@ 'nota' : nota }, success:function(data){ - Swal.fire({ - icon: 'success', - title: 'Berjaya!', - text: 'Ubah Marhun Berjaya' - }); getMarhun(norujukedit); $('#editMarhunModal').modal('hide'); } diff --git a/resources/views/homepage/admin/home.blade.php b/resources/views/homepage/admin/home.blade.php new file mode 100644 index 0000000..fcb7551 --- /dev/null +++ b/resources/views/homepage/admin/home.blade.php @@ -0,0 +1,23 @@ +@extends('layouts.app_operasi') + +@section('content') +
+
+
+
+ + + + +
+
+
+
+@endsection \ No newline at end of file diff --git a/resources/views/homepage/akaun/home.blade.php b/resources/views/homepage/akaun/home.blade.php new file mode 100644 index 0000000..80820f3 --- /dev/null +++ b/resources/views/homepage/akaun/home.blade.php @@ -0,0 +1,23 @@ +@extends('layouts.app_operasi') + +@section('content') +
+
+
+
+ + + +
+

AKAUN

+
+
+
+
+
+@endsection \ No newline at end of file diff --git a/resources/views/homepage/audit/home.blade.php b/resources/views/homepage/audit/home.blade.php new file mode 100644 index 0000000..090ce5d --- /dev/null +++ b/resources/views/homepage/audit/home.blade.php @@ -0,0 +1,23 @@ +@extends('layouts.app_operasi') + +@section('content') +
+
+
+
+ + + +
+

AUDIT

+
+
+
+
+
+@endsection \ No newline at end of file diff --git a/resources/views/homepage/operasi/home.blade.php b/resources/views/homepage/operasi/home.blade.php index 3fb8134..a4135e9 100644 --- a/resources/views/homepage/operasi/home.blade.php +++ b/resources/views/homepage/operasi/home.blade.php @@ -15,7 +15,7 @@
Kelulusan - Daftar Kakitangan + Kakitangan Parameter Komoditi
diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index a5fb0ab..8247f3e 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -28,7 +28,7 @@ - + diff --git a/resources/views/layouts/app_operasi.blade.php b/resources/views/layouts/app_operasi.blade.php index 200b721..8b5a7b3 100644 --- a/resources/views/layouts/app_operasi.blade.php +++ b/resources/views/layouts/app_operasi.blade.php @@ -28,7 +28,7 @@ - + diff --git a/resources/views/not_assign.blade.php b/resources/views/not_assign.blade.php new file mode 100644 index 0000000..b6be251 --- /dev/null +++ b/resources/views/not_assign.blade.php @@ -0,0 +1,92 @@ + + + + + + + Laravel + + + + + + + + +
+ + @if (Route::has('login')) + + @endif +
+ @csrf +
+
+
+ Kakitangan Belum Disahkan Lagi +
+
+
+ + diff --git a/resources/views/operasi/daftar_kakitangan.blade.php b/resources/views/operasi/daftar_kakitangan.blade.php index 2ca8665..dea8faa 100644 --- a/resources/views/operasi/daftar_kakitangan.blade.php +++ b/resources/views/operasi/daftar_kakitangan.blade.php @@ -94,8 +94,58 @@
+
+
+
+
{{ __('Senarai Kakitangan') }}
+
+
+
+ + + + + + + + + + + + @foreach($kakitangan as $index=>$staff) + + + + + + + + @endforeach + +
BilNama StaffJawatanCawanganAction
{{ $loop->iteration }}{{ $staff->name }}{{ strtoupper($staff->roles) }} + @if($staff->cawangan == 'operasi') + {{ ucwords($staff->cawangan) }} + @else + @php + $cawangan_staff = Http::get(config('api.url') . '/api/cawangan/'. $staff->cawangan)->json(); + echo ucwords($cawangan_staff['details_caw']); + @endphp + @endif + + edit + work +
+
+
+
+
+
+
+ +@endsection diff --git a/resources/views/operasi/parameter.blade.php b/resources/views/operasi/parameter.blade.php index 2783400..110e2ca 100644 --- a/resources/views/operasi/parameter.blade.php +++ b/resources/views/operasi/parameter.blade.php @@ -15,7 +15,7 @@
Harga Emas - Contoh 1 + Margin Pembiayaan Contoh 2
diff --git a/resources/views/operasi/tukar_cawangan.blade.php b/resources/views/operasi/tukar_cawangan.blade.php new file mode 100644 index 0000000..2390b35 --- /dev/null +++ b/resources/views/operasi/tukar_cawangan.blade.php @@ -0,0 +1,101 @@ +@extends('layouts.app_operasi') + +@section('content') +
+
+
+
+ + + +
+
+ @csrf + +
+
+
+
+ Nama +
+
+ +
+
+
+
+ Email +
+
+ +
+
+
+
+ Cawangan +
+
+ @php + $cawangan_all = Http::get($api_url . '/api/cawangan')->json(); + @endphp + +
+
+
+
+
+
+ No KP +
+
+ +
+
+
+
+ No Telefon +
+
+ +
+
+
+
+ Jawatan +
+ +
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+@endsection diff --git a/resources/views/operasi/tukar_taraf.blade.php b/resources/views/operasi/tukar_taraf.blade.php new file mode 100644 index 0000000..0941e27 --- /dev/null +++ b/resources/views/operasi/tukar_taraf.blade.php @@ -0,0 +1,84 @@ +@extends('layouts.app_operasi') + +@section('content') +
+
+
+
+ + + +
+
+ @csrf + +
+
+
+
+ Nama +
+
+ +
+
+
+
+ Email +
+
+ +
+
+
+
+
+
+ No KP +
+
+ +
+
+
+
+ No Telefon +
+
+ +
+
+
+
+ Jawatan +
+ +
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+@endsection diff --git a/resources/views/penebusan/index.blade.php b/resources/views/penebusan/index.blade.php index 572acd3..5b733ed 100644 --- a/resources/views/penebusan/index.blade.php +++ b/resources/views/penebusan/index.blade.php @@ -246,7 +246,7 @@
- BAYARAN PEMBIAYAAN(RM) + BAYARAN PELANGGAN(RM)
@@ -373,6 +373,7 @@ $('#divhargaemassemasa').hide(); $('#divperludibayartawarruq').hide(); $('#divbayarantawarruq').hide(); + $('#divbayaran').hide(); var array_recno = []; @@ -721,9 +722,9 @@ $('#divhargaemassemasa').hide(); $('#divperludibayartawarruq').hide(); $('#divbayarantawarruq').hide(); + $('#divbayaran').hide(); $('#divtelahdibayar').show(); - $('#divbayaran').show(); $('#divperludibayar').show(); tebusan(); @@ -748,9 +749,9 @@ $('#divbayarantawarruq').hide(); $('#divtelahdibayar').show(); $('#divbayaran').show(); - $('#divperludibayar').show(); + $('#divperludibayar').hide(); - $('#perludibayar').val(formatter.format(jumupah)); + $('#bayaran').val(formatter.format(jumupah)); break; @@ -992,6 +993,7 @@ function bayaransemua() { $("#terima_transaksi").prop('disabled', true); + var jumupah = parseFloat($('#jumlahupah').val().replace(/[^0-9.-]+/g,"")); if($('#sltjenistebus').find(":selected").val() == 'T'){ var adadah = false; @@ -1128,7 +1130,17 @@ let hadbayaransuran = (parseFloat("{{ $gadai['nilaimarhun']}}") * 0.1); var bayar = $('#bayaran').val(); - var bakipinjam = parseFloat("{{ $gadai['bakipjm'] }}") - hadbayaransuran; + var bakipinjam = parseFloat("{{ $gadai['bakipjm'] }}") - hadbayaransuran; + + if(bayar < jumupah){ + $("#terima_transaksi").prop('disabled', false); + Swal.fire( + 'Amaran!', + 'Bayaran tidak boleh kurang dari kos keuntungan semasa', + 'error' + ) + return false; + } if(bayar > bakipinjam){ $("#terima_transaksi").prop('disabled', false); diff --git a/resources/views/print/laporan_penebusan.blade.php b/resources/views/print/laporan_penebusan.blade.php index 22233e7..353d33a 100644 --- a/resources/views/print/laporan_penebusan.blade.php +++ b/resources/views/print/laporan_penebusan.blade.php @@ -207,21 +207,21 @@ Bayaran(RM) Jumlah(RM) - @php $counter = 1; $totalbayaran = 0; $totalpinjaman = 0; $totalupah = 0;@endphp + @php $counter = 1;$totalnm = 0; $totalbayaran = 0; $totalpinjaman = 0; $totalupah = 0;@endphp @foreach($tebus as $index=>$item) - @php $totalbayaran += ($item['jenistebus'] === 'S') ? ($item['pinjaman']+$item['bakiupah']) : $item['bakipjm']; $totalpinjaman += $item['pinjaman']; $totalupah += $item['bakiupah'];@endphp + @php $totalbayaran += ($item['jenistebus'] === 'S') ? ($item['pinjaman']+$item['bakiupah']) : $item['bakipjm']; $totalpinjaman += $item['pinjaman']; $totalupah += $item['bakiupah']; $totalnm += $item['nilaimarhun'];@endphp @if($index > 0) @if($item['teller'] != $tebus[$index - 1]['teller']) Teller : {{ $item['teller'] }} - @php $totalpinjamanteller = 0;$totalupahteller = 0;$totalbayaranteller = 0; @endphp + @php $totalnmteller = 0; $totalpinjamanteller = 0;$totalupahteller = 0;$totalbayaranteller = 0; @endphp @endif @else Teller : {{ $item['teller'] }} - @php $totalpinjamanteller = 0;$totalupahteller = 0;$totalbayaranteller = 0; $totaljumlahteller = 0;@endphp + @php $totalnmteller = 0; $totalpinjamanteller = 0;$totalupahteller = 0;$totalbayaranteller = 0; $totaljumlahteller = 0;@endphp @endif {{ $counter }} @@ -246,13 +246,13 @@ @php if($item['jenistebus'] == 'S'){ $total=($item['pinjaman']+$item['bakiupah']);echo number_format($total,2);} else echo number_format($item['bakipjm'],2); @endphp @php $counter++; @endphp - @php $totalpinjamanteller += $item['pinjaman'];$totalupahteller += $item['bakiupah'];$totalbayaranteller += $item['bakipjm']; @endphp + @php $totalnmteller += $item['nilaimarhun']; $totalpinjamanteller += $item['pinjaman'];$totalupahteller += $item['bakiupah'];$totalbayaranteller += $item['bakipjm']; @endphp @php $totaljumlahteller += ($item['jenistebus'] === 'S') ? ($item['pinjaman']+$item['bakiupah']) : $item['bakipjm']; @endphp @if($index+1 < sizeof($tebus)) @if($item['teller'] != $tebus[$index + 1]['teller']) {{ $counter-1 }} Jumlah Bagi Teller : {{ $item['teller'] }} - + {{ number_format($totalnmteller,2) }} {{ number_format($totalpinjamanteller,2) }} {{ number_format($totalupahteller,2) }} {{ number_format($totalbayaranteller,2) }} @@ -263,7 +263,7 @@ @else {{ $counter-1 }} Jumlah Bagi Teller : {{ $item['teller'] }} - + {{ number_format($totalnmteller,2) }} {{ number_format($totalpinjamanteller,2) }} {{ number_format($totalupahteller,2) }} {{ number_format($totalbayaranteller,2) }} @@ -277,12 +277,14 @@ + + diff --git a/resources/views/print/resit_tuntutbaki.blade.php b/resources/views/print/resit_tuntutbaki.blade.php index 390b21a..c0a5bd7 100644 --- a/resources/views/print/resit_tuntutbaki.blade.php +++ b/resources/views/print/resit_tuntutbaki.blade.php @@ -1,3 +1,15 @@ + + + + + + + - - - - - - - - - - - - @@ -414,7 +432,6 @@ {!! QrCode::size(60)->generate($pembayaran_segera); !!}

SALINAN PELANGGAN

-
Nilai Marhun (RM) Pembiayaan (RM) Upah/Keuntungan (RM) Jumlah (RM)
JUMLAH KESELURUHAN{{ number_format($totalnm,2) }} {{ number_format($totalpinjaman,2) }} {{ number_format($totalupah,2) }} {{ number_format($totalbayaran,2) }}
@@ -424,8 +441,8 @@ - - + + @@ -450,14 +467,26 @@ - - + + @@ -465,11 +494,23 @@ + + + + + +
NAMA {{$customer_detail['nama']}}NO SAG {{$gadai_detail['norujukan']}}NO SAG {{$gadai_detail['norujukan']}}
NO MYKAD @php $poskod = Http::get($api_url . '/api/poskod/'.$customer_detail['poskod'])->json(); + if(empty($poskod)){ + $poskod = array('koddaerah'=>'NIL','kodnegeri' => 'NIL'); + } $daerah = Http::get($api_url . '/api/daerah/'.$poskod['koddaerah'])->json(); + if($daerah){ + $namadaerah = $daerah['namadaerah']; + }else{ + $namadaerah = 'NIL'; + } $negeri = Http::get($api_url . '/api/negeri/'.$poskod['kodnegeri'])->json(); - - echo ($customer_detail['poskod']. ', ' .$daerah['namadaerah'].', '.$negeri['negeri']); + if($negeri){ + $negeri = $negeri['negeri']; + }else{ + $negeri = 'NIL'; + } + echo ($customer_detail['poskod']. ', ' .$namadaerah.', '.$negeri); @endphp NILAI PEMBIAYAANRM {{ number_format($gadai_detail['pinjaman'],2) }} NILAI PEMBIAYAANRM {{ number_format($gadai_detail['pinjaman'],2) }}
NO TELEFONHARGA JUALAN RM {{ number_format($gadai_detail['hargajualan'],2) }}
KOS KEUNTUNGAN SEBULAN + @php + $upah_sbln = ($gadai_detail['kadarupah']/100) * $gadai_detail['pinjaman']; + echo 'RM ' . number_format($upah_sbln,2); + @endphp +
- + + @@ -477,7 +518,7 @@ - + @@ -486,7 +527,7 @@ - +
TRANSAKSI TAWARRUQ TRANSAKSI TAWARRUQSetuju
1 Saya bersetuju dan dengan ini membeli komoditi daripada PKB pada Harga Jualan dengan bayaran tangguh. Komoditi adalah sebagaimana yang dinyatakan di dalam sijil pembekal komoditi mengikut kadar jumlah pembiayaan yang diberikan kepada saya. Setuju
Saya bersetuju untuk menggadaikan Marhun sebagai cagaran kepada harga komoditi. Setuju
@@ -498,33 +539,29 @@ - + - - - - - - - - - - - - + + + + + + + +
MAKLUMAT SIJIL KOMODITI MAKLUMAT SIJIL KOMODITI
1 Nombor Sijil {{ $komuditi['no_sijil'] }}
2Kod Produk / Diskripsi{{ $product['kodproduk'] . ' / ' . $product['description'] }}
3Unit{{ $product['unit'] }}
4 Kuantiti {{ $kuantiti }}
2Kod Produk / Diskripsi{{ $product['kodproduk'] . ' / ' . $product['description'] }} 5 Nilai {{ 'RM ' . number_format($gadai_detail['pinjaman'],2) }}
3Unit{{ $product['unit'] }}
@@ -538,7 +575,7 @@ - - + @@ -651,9 +688,9 @@ - - - + + + @@ -709,7 +746,7 @@ - + @@ -848,7 +885,7 @@ - + @@ -873,10 +910,22 @@ @@ -888,6 +937,17 @@ + + + + + +
TARIKH AKHIR BAYARAN + @php $myDateTime = DateTime::createFromFormat('Y-m-d', $gadai_detail['t_matang']); $formattedweddingdate = $myDateTime->format('d-m-Y'); @@ -555,7 +592,7 @@
JUMLAH KEUNTUNGAN YANG PERLU DIBAYARRM {{ number_format($gadai_detail['bakiupah'],2) }}RM {{ number_format($gadai_detail['bakiupah'],2) }} RM {{ number_format($gadai_detail['bakiupah'],2) }}
TANDATANGAN SAKSI
1. Sesrorang Pelanggan hendaklah mendapat satu salinan Surat Akuan Gadai (SAG).Sekiranya SAG hilang, Pelanggan hendaklah memberitahu Permodalan Kelantan Berhad (PKB) dengan serta-merta dan mendapatkan pengesahan Surat Akuan Sumpah sebelum diberikan salinan SAG baru. Seorang Pelanggan hendaklah mendapat satu salinan Surat Akuan Gadai (SAG).Sekiranya SAG hilang, Pelanggan hendaklah memberitahu Permodalan Kelantan Berhad (PKB) dengan serta-merta dan mendapatkan pengesahan Surat Akuan Sumpah sebelum diberikan salinan SAG baru.
2. NAMA {{$customer_detail['nama']}} NO SAG {{$gadai_detail['norujukan']}}{{$gadai_detail['norujukan']}}
NO MYKAD @php $poskod = Http::get($api_url . '/api/poskod/'.$customer_detail['poskod'])->json(); + if(empty($poskod)){ + $poskod = array('koddaerah'=>'NIL','kodnegeri' => 'NIL'); + } $daerah = Http::get($api_url . '/api/daerah/'.$poskod['koddaerah'])->json(); + if($daerah){ + $namadaerah = $daerah['namadaerah']; + }else{ + $namadaerah = 'NIL'; + } $negeri = Http::get($api_url . '/api/negeri/'.$poskod['kodnegeri'])->json(); - - echo ($customer_detail['poskod']. ', ' .$daerah['namadaerah'].', '.$negeri['negeri']); + if($negeri){ + $negeri = $negeri['negeri']; + }else{ + $negeri = 'NIL'; + } + echo ($customer_detail['poskod']. ', ' .$namadaerah.', '.$negeri); @endphp NILAI PEMBIAYAANHARGA JUALAN RM {{ number_format($gadai_detail['hargajualan'],2) }}
KOS KEUNTUNGAN SEBULAN + @php + $upah_sbln = ($gadai_detail['kadarupah']/100) * $gadai_detail['pinjaman']; + echo 'RM ' . number_format($upah_sbln,2); + @endphp +

@@ -994,9 +1054,9 @@ TANDATANGAN SAKSI - - - + + + @@ -1050,10 +1110,10 @@ @endphp

- +
- + @@ -1077,7 +1137,13 @@ - +
No SAG{{ $gadai_detail['norujukan'] }}{{ $gadai_detail['norujukan'] }}
Nama
Marhun{{ $gadai_detail['marhun'] }} + @php + foreach($marhun_detail as $index=>$marhun_customer){ + echo '1'.$marhun_customer['marhun']. '(' .$marhun_customer['karat'].'),'; + } + @endphp +

@@ -1149,7 +1215,105 @@
-
+
+
+ @php + echo 'barcode'; + @endphp +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
No SAG{{ $gadai_detail['norujukan'] }}
Nama{{ $customer_detail['nama'] }}
No K/P{{ $gadai_detail['nokp'] }}
Nilai MarhunRM {{ number_format($gadai_detail['nilaimarhun'],2) }}
Nilai PembiayaanRM {{ number_format($gadai_detail['pinjaman'],2) }}
Berat (g){{ $gadai_detail['berat'] }}
Marhun + @php + foreach($marhun_detail as $index=>$marhun_customer){ + echo '1'.$marhun_customer['marhun']. '(' .$marhun_customer['karat'].'),'; + } + @endphp +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Ujian
Mutu
Ketumpatan
Peratus (%)
Kunci/Emas
Batu Hitam/Asid
Digital Caliper
Precious Metel Verifier
Magnet
Saya sahkan telah menyemak fizikal saiz, berat dengan teliti mengikut SOP penilai
+ {{ $gadai_detail['teller'] }} + Tandatangan
+
+
@@ -1224,4 +1388,4 @@

(Tandatangan pelanggan)

- \ No newline at end of file + diff --git a/resources/views/user/index.blade.php b/resources/views/user/index.blade.php index 2c82218..f81933b 100644 --- a/resources/views/user/index.blade.php +++ b/resources/views/user/index.blade.php @@ -4,25 +4,30 @@
-

maklumat pengguna

+
-
+
NAMA
-
+
NO TELEFON
-
+
-
+
NO KP
-
+
JAWATAN
-
+
diff --git a/resources/views/user/index_operasi.blade.php b/resources/views/user/index_operasi.blade.php new file mode 100644 index 0000000..cf6d494 --- /dev/null +++ b/resources/views/user/index_operasi.blade.php @@ -0,0 +1,40 @@ +@extends('layouts.app_operasi') + +@section('content') +
+
+
+ +
+
+
+
+
+
+
NAMA
+
+
NO TELEFON
+
+
+
+
+
+
NO KP
+
+
JAWATAN
+
+
+
+
+
+
+
+
+
+
+@endsection \ No newline at end of file diff --git a/routes/web.php b/routes/web.php index bbcada0..8b82ecb 100644 --- a/routes/web.php +++ b/routes/web.php @@ -34,13 +34,6 @@ Route::get('test', function () { return "event test je"; }); -// Route::get('resitbiasa', function () { - - - - -// }); - Route::get('logs', '\Rap2hpoutre\LaravelLogViewer\LogViewerController@index'); Route::get('/welcome',function(){ @@ -244,6 +237,12 @@ Route::get('/operasi/parameter','OperasiController@parameter')->name('parameter' Route::get('/operasi/hargaemas',['as'=>'operasi.hargaemas','uses'=>'OperasiController@hargaemas'])->middleware('auth','operasi'); Route::post('/operasi/hargaemas/update',['as'=>'hargaemas.update','uses'=>'OperasiController@updatehargaemas'])->middleware('auth','operasi'); Route::post('/operasi/hargaemas',['as'=>'hargaemas.create','uses'=>'OperasiController@createhargaemas'])->middleware('auth','operasi'); +Route::get('kakitangan/tukar_taraf',['as'=>'kakitangan.tukartaraf','uses'=>'KakitanganController@tukartaraf'])->middleware('auth','operasi'); +Route::post('kakitangan/tukar_taraf/update',['as'=>'kakitangan.tukartaraf.update','uses'=>'KakitanganController@tukartarafUpdate'])->middleware('auth','operasi'); +Route::get('kakitangan/tukar_cawangan',['as'=>'kakitangan.tukarcawangan','uses'=>'KakitanganController@tukarcawangan'])->middleware('auth','operasi'); +Route::post('kakitangan/tukar_cawangan/update',['as'=>'kakitangan.tukarcawangan.update','uses'=>'KakitanganController@tukarcawanganUpdate'])->middleware('auth','operasi'); + +Route::get('/operasi/margin',['as'=>'operasi.margin','uses'=>'OperasiController@margin'])->middleware('auth','operasi'); Route::get('/komoditi',['as'=>'komuditi','uses'=>'KomuditiController@index']); Route::get('/komoditi/rekod',['as'=>'rekod.komoditi','uses'=>'KomuditiController@rekodKomoditi']); @@ -253,21 +252,12 @@ Route::post('/khazanah/suratakuangadaian',['as'=>'agh.create','uses'=>'KhazanahC Route::post('/khazanah/suratakuangadaianedit',['as'=>'agh.update','uses'=>'KhazanahController@SuratAkuanGadaianUpdate'])->middleware('auth','khazanah'); Route::get('/khazanah/ulangcetakagh/{norujukan}',['as'=>'agh.ulangcetak','uses'=>'KhazanahController@ulangcetakSuratAkuanGadaianHilang'])->middleware('auth','khazanah'); - Route::get('/laporan/stokauditbersih', ['as'=>'laporan.stokauditbersih', 'uses'=>'KhazanahController@stokAuditBersih'])->middleware('auth','khazanah'); Route::post('/laporan/stokauditbersih_cetak',['as' =>'stokauditbersih.cetakstokauditbersih', 'uses'=>'KhazanahController@cetakStok_AuditBersih'])->middleware('auth','khazanah'); - Route::get('/laporan/stokauditdetails', ['as'=>'laporan.stokauditdetails','uses'=>'KhazanahController@stokAuditDetails'])->middleware('auth','khazanah'); Route::post('laporan/stokauditdetails_cetak',['as'=>'stokauditdetails.stokauditdetails_cetak', 'uses'=>'KhazanahController@cetak_stokAuditDetails'])->middleware('auth', 'khazanah'); - - - - - - - Route::get('/laporan/datalejeram',['as' =>'laporan.datalejer_am', 'uses'=>'KhazanahController@data_lejer_am'])->middleware('auth', 'khazanah'); route::post('/cetaklejer_am',['as'=>'cetak.lejer_am', 'uses'=>'KhazanahController@cetak_lejer_am'])->middleware('auth', 'khazanah'); diff --git a/storage/debugbar/.gitignore b/storage/debugbar/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/storage/debugbar/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore