├── public ├── favicon.ico ├── robots.txt ├── fonts │ ├── dropify.eot │ ├── dropify.ttf │ ├── dropify.woff │ └── dropify.svg ├── img │ ├── background.jpg │ └── 404.svg ├── mix-manifest.json ├── .htaccess ├── js │ ├── dropify-uploads.js │ └── main.js ├── web.config ├── index.php └── css │ └── app.css ├── resources ├── css │ └── app.css ├── js │ ├── app.js │ └── bootstrap.js ├── sass │ ├── app.scss │ └── _variables.scss ├── lang │ └── en │ │ ├── pagination.php │ │ ├── auth.php │ │ ├── passwords.php │ │ └── validation.php └── views │ ├── 404.blade.php │ ├── auth │ ├── verify.blade.php │ ├── passwords │ │ ├── email.blade.php │ │ ├── confirm.blade.php │ │ └── reset.blade.php │ ├── login.blade.php │ └── register.blade.php │ ├── adminHome.blade.php │ ├── showCustomers.blade.php │ ├── viewCustomer.blade.php │ ├── welcome.blade.php │ ├── editUser.blade.php │ ├── showTrades.blade.php │ ├── layouts │ └── app.blade.php │ ├── addCustomer.blade.php │ └── home.blade.php ├── bootstrap ├── cache │ └── .gitignore └── app.php ├── storage ├── logs │ └── .gitignore ├── app │ ├── public │ │ └── .gitignore │ └── .gitignore └── framework │ ├── testing │ └── .gitignore │ ├── views │ └── .gitignore │ ├── cache │ ├── data │ │ └── .gitignore │ └── .gitignore │ ├── sessions │ └── .gitignore │ └── .gitignore ├── database ├── .gitignore ├── seeders │ ├── DatabaseSeeder.php │ └── CreateUsersSeeder.php ├── migrations │ ├── 2014_10_12_100000_create_password_resets_table.php │ ├── 2019_08_19_000000_create_failed_jobs_table.php │ └── 2021_03_24_000000_create_users_table.php └── factories │ └── UserFactory.php ├── .gitattributes ├── tests ├── TestCase.php ├── Unit │ └── ExampleTest.php ├── Feature │ └── ExampleTest.php └── CreatesApplication.php ├── .styleci.yml ├── .gitignore ├── .editorconfig ├── app ├── Http │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── VerifyCsrfToken.php │ │ ├── TrustHosts.php │ │ ├── PreventRequestsDuringMaintenance.php │ │ ├── TrimStrings.php │ │ ├── Authenticate.php │ │ ├── IsAdmin.php │ │ ├── TrustProxies.php │ │ └── RedirectIfAuthenticated.php │ ├── Controllers │ │ ├── Controller.php │ │ ├── Auth │ │ │ ├── ForgotPasswordController.php │ │ │ ├── ResetPasswordController.php │ │ │ ├── ConfirmPasswordController.php │ │ │ ├── VerificationController.php │ │ │ ├── LoginController.php │ │ │ └── RegisterController.php │ │ ├── HomeController.php │ │ ├── AdminController.php │ │ └── UserController.php │ └── Kernel.php ├── Providers │ ├── BroadcastServiceProvider.php │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php ├── Exceptions │ └── Handler.php ├── Console │ └── Kernel.php └── Models │ └── User.php ├── webpack.mix.js ├── routes ├── channels.php ├── api.php ├── console.php └── web.php ├── server.php ├── SECURITY.md ├── package.json ├── .github └── workflows │ ├── dependency-review.yml │ ├── codeql.yml │ └── apisec-scan.yml ├── config ├── cors.php ├── services.php ├── view.php ├── hashing.php ├── broadcasting.php ├── filesystems.php ├── queue.php ├── logging.php ├── cache.php ├── mail.php ├── auth.php ├── database.php └── session.php ├── phpunit.xml ├── README.md ├── artisan ├── composer.json └── db.sql /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/css/app.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /resources/js/app.js: -------------------------------------------------------------------------------- 1 | require('./bootstrap'); 2 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | *.sqlite-journal 3 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/data/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !data/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /public/fonts/dropify.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superstar1205/LoanSystem/HEAD/public/fonts/dropify.eot -------------------------------------------------------------------------------- /public/fonts/dropify.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superstar1205/LoanSystem/HEAD/public/fonts/dropify.ttf -------------------------------------------------------------------------------- /public/fonts/dropify.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superstar1205/LoanSystem/HEAD/public/fonts/dropify.woff -------------------------------------------------------------------------------- /public/img/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superstar1205/LoanSystem/HEAD/public/img/background.jpg -------------------------------------------------------------------------------- /public/mix-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "/js/app.js": "/js/app.js", 3 | "/css/app.css": "/css/app.css" 4 | } 5 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | *.js linguist-vendored 5 | CHANGELOG.md export-ignore 6 | -------------------------------------------------------------------------------- /storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | compiled.php 2 | config.php 3 | down 4 | events.scanned.php 5 | maintenance.php 6 | routes.php 7 | routes.scanned.php 8 | schedule-* 9 | services.json 10 | -------------------------------------------------------------------------------- /resources/sass/app.scss: -------------------------------------------------------------------------------- 1 | // Fonts 2 | @import url('https://fonts.googleapis.com/css?family=Nunito'); 3 | 4 | // Variables 5 | @import 'variables'; 6 | 7 | // Bootstrap 8 | @import '~bootstrap/scss/bootstrap'; 9 | -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- 1 | assertTrue(true); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /database/seeders/DatabaseSeeder.php: -------------------------------------------------------------------------------- 1 | create(); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/Http/Middleware/EncryptCookies.php: -------------------------------------------------------------------------------- 1 | get('/'); 18 | 19 | $response->assertStatus(200); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /app/Http/Middleware/TrustHosts.php: -------------------------------------------------------------------------------- 1 | allSubdomainsOfApplicationUrl(), 18 | ]; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /app/Http/Middleware/PreventRequestsDuringMaintenance.php: -------------------------------------------------------------------------------- 1 | make(Kernel::class)->bootstrap(); 19 | 20 | return $app; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /app/Providers/BroadcastServiceProvider.php: -------------------------------------------------------------------------------- 1 | expectsJson()) { 18 | return route('login'); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /webpack.mix.js: -------------------------------------------------------------------------------- 1 | const mix = require('laravel-mix'); 2 | 3 | /* 4 | |-------------------------------------------------------------------------- 5 | | Mix Asset Management 6 | |-------------------------------------------------------------------------- 7 | | 8 | | Mix provides a clean, fluent API for defining some Webpack build steps 9 | | for your Laravel application. By default, we are compiling the Sass 10 | | file for the application as well as bundling up all the JS files. 11 | | 12 | */ 13 | 14 | mix.js('resources/js/app.js', 'public/js') 15 | .sass('resources/sass/app.scss', 'public/css') 16 | .sourceMaps(); 17 | -------------------------------------------------------------------------------- /app/Http/Middleware/IsAdmin.php: -------------------------------------------------------------------------------- 1 | user()->is_admin == 1){ 20 | return $next($request); 21 | } 22 | 23 | return redirect(‘home’)->with(‘error’,"You don't have admin access."); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /resources/lang/en/pagination.php: -------------------------------------------------------------------------------- 1 | '« Previous', 17 | 'next' => 'Next »', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /routes/channels.php: -------------------------------------------------------------------------------- 1 | id === (int) $id; 18 | }); 19 | -------------------------------------------------------------------------------- /routes/api.php: -------------------------------------------------------------------------------- 1 | get('/user', function (Request $request) { 18 | return $request->user(); 19 | }); 20 | -------------------------------------------------------------------------------- /server.php: -------------------------------------------------------------------------------- 1 | 8 | */ 9 | 10 | $uri = urldecode( 11 | parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) 12 | ); 13 | 14 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the 15 | // built-in PHP web server. This provides a convenient way to test a Laravel 16 | // application without having installed a "real" web server software here. 17 | if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { 18 | return false; 19 | } 20 | 21 | require_once __DIR__.'/public/index.php'; 22 | -------------------------------------------------------------------------------- /routes/console.php: -------------------------------------------------------------------------------- 1 | comment(Inspiring::quote()); 19 | })->purpose('Display an inspiring quote'); 20 | -------------------------------------------------------------------------------- /resources/views/404.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('content') 4 |
| No | 14 |ID | 15 |Nombre | 16 |Refer ID | 17 |Role | 19 |status | 20 ||
|---|---|---|---|---|---|---|
| {{$i+1}} | 26 |{{$data->id}} | 27 |{{$data->name}} | 28 |{{$data->referal_id}} | 29 |{{$data->email}} | 30 |{{$data->is_admin}} | 31 |{{$data->status}} | 32 |
| First nmae : | 21 |{{ $data->first_name}} | 22 |
| Last nmae : | 25 |{{$data->last_name}} | 26 |
| Address : | 29 |{{$data->address}} | 30 |
| Phone : | 33 |{{$data->phone}} | 34 |
| ID Number : | 37 |{{$data->idnum}} | 38 |
| Gender : | 41 |@if($data->gender == 1) 42 | {{'Man'}} 43 | @else 44 | {{'women'}} 45 | @endif | 46 |
| Created At : | 49 |{{$data->created_at}} | 50 |
| Updated At : | 53 |{{$data->updated_at}} | 54 |
83 | | # | 14 |name | 15 |Amount | 16 |Fee | 17 |Method | 18 |Paydate | 19 |Time | 20 |Total | 21 |Quota | 22 |Status | 23 |
|---|---|---|---|---|---|---|---|---|---|
|
30 | |
32 | {{$data->first_name}} {{$data->last_name}} | 33 |{{$data->amount}}$ | 34 |{{$data->interest}}% | 35 |36 | @if($data->paymethod == 1) 37 | {{'Diary'}} 38 | @elseif($data->paymethod == 2) 39 | {{'Inter Diary'}} 40 | @elseif($data->paymethod == 7) 41 | {{'Weekly'}} 42 | @elseif($data->paymethod == 15) 43 | {{'Fortnightly'}} 44 | @else 45 | {{'Monthly'}} 46 | @endif 47 | | 48 |{{$data->next_date}} | 49 |{{$data->day}}day | 50 |{{$data->payamount}}$ | 51 |{{$data->quota}}$ | 52 |
53 | @if($data->ongoing==null)
54 | {{'0%'}}
55 | @elseif($data->ongoing <= 1)
56 | {{$data->ongoing}} %
57 | @elseif($data->ongoing <= 10)
58 | {{$data->ongoing}} %
59 | @elseif($data->ongoing <= 20)
60 | {{$data->ongoing}} %
61 | @elseif($data->ongoing <= 50)
62 | {{$data->ongoing}} %
63 | @elseif($data->ongoing <= 70)
64 | {{$data->ongoing}} %
65 | @elseif($data->ongoing <= 90)
66 | {{$data->ongoing}} %
67 | @endif
68 | |
69 |
| # | 14 |Nombre | 15 |Monto | 16 |Pagar | 17 |Interesar | 18 |Quota | 19 | 20 |
|---|---|---|---|---|---|
|
27 | |
29 | {{$data->first_name}} {{$data->last_name}} | 30 |{{$data->amount}} | 31 |32 | @if($data->paymethod == 1) 33 | {{'Diary'}} 34 | @elseif($data->paymethod == 2) 35 | {{'Inter Diary'}} 36 | @elseif($data->paymethod == 7) 37 | {{'Weekly'}} 38 | @elseif($data->paymethod == 15) 39 | {{'Fortnightly'}} 40 | @else 41 | {{'Monthly'}} 42 | @endif 43 | | 44 |{{$data->interest}} | 45 |{{$data->quota}} | 46 |
| # | 59 |Nombre | 60 |Recibió | 61 |Pagar | 62 |Interesar | 63 |Mota | 64 |Alquiler fecha | 65 |
|---|---|---|---|---|---|---|
|
72 | |
74 | {{$data1->first_name}} {{$data1->last_name}} | 75 |{{$data1->payamt}} | 76 |77 | @if($data1->paymethod == 1) 78 | {{'Diary'}} 79 | @elseif($data1->paymethod == 2) 80 | {{'Inter Diary'}} 81 | @elseif($data1->paymethod == 7) 82 | {{'Weekly'}} 83 | @elseif($data1->paymethod == 15) 84 | {{'Fortnightly'}} 85 | @else 86 | {{'Monthly'}} 87 | @endif 88 | | 89 |{{$data1->interest}} | 90 |{{$data1->amount}} | 91 |{{$data1->rent_date}} | 92 |
Referral link: {{ Auth::user()->referral_link }}
146 |