├── public ├── favicon.ico ├── robots.txt ├── assets │ ├── css │ │ ├── paper-auth.css │ │ └── themify-icons.css │ ├── fonts │ │ ├── themify.eot │ │ ├── themify.ttf │ │ └── themify.woff │ └── js │ │ ├── paper-dashboard.js │ │ └── bootstrap.min.js ├── .htaccess ├── web.config └── index.php ├── app ├── Listeners │ └── .gitkeep ├── Policies │ └── .gitkeep ├── Events │ └── Event.php ├── Http │ ├── Requests │ │ ├── Request.php │ │ ├── Projects │ │ │ ├── ProjectStore.php │ │ │ └── ProjectUpdate.php │ │ └── Clients │ │ │ ├── ClientStore.php │ │ │ └── ClientUpdate.php │ ├── Controllers │ │ ├── HomeController.php │ │ ├── Controller.php │ │ ├── Auth │ │ │ ├── PasswordController.php │ │ │ └── AuthController.php │ │ ├── InvoiceController.php │ │ ├── PaymentController.php │ │ ├── ClientController.php │ │ └── ProjectController.php │ ├── Routes │ │ ├── Auth.php │ │ ├── ClientRoutes.php │ │ ├── ProjectRoutes.php │ │ └── InvoiceRoutes.php │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── VerifyCsrfToken.php │ │ ├── RedirectIfAuthenticated.php │ │ └── Authenticate.php │ ├── routes.php │ └── Kernel.php ├── Traits │ └── CurrencyTrait.php ├── Models │ ├── Client.php │ ├── Project.php │ ├── Invoice.php │ └── Payment.php ├── Providers │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── EventServiceProvider.php │ └── RouteServiceProvider.php ├── User.php ├── Jobs │ └── Job.php ├── Console │ ├── Commands │ │ └── Inspire.php │ └── Kernel.php └── Exceptions │ └── Handler.php ├── database ├── seeds │ ├── .gitkeep │ ├── ClientSeeder.php │ ├── DatabaseSeeder.php │ └── UserSeeder.php ├── .gitignore ├── migrations │ ├── .gitkeep │ ├── 2014_10_12_100000_create_password_resets_table.php │ ├── 2016_10_29_044924_create_payments_table.php │ ├── 2014_10_12_000000_create_users_table.php │ ├── 2016_08_27_041544_create_projects_table.php │ ├── 2016_07_30_204226_create_clients_table.php │ └── 2016_10_29_044913_create_invoices_table.php └── factories │ └── ModelFactory.php ├── resources ├── views │ ├── vendor │ │ └── .gitkeep │ ├── welcome.blade.php │ ├── invoices │ │ ├── forms │ │ │ ├── payment.blade.php │ │ │ └── invoice.blade.php │ │ ├── create.blade.php │ │ ├── payments │ │ │ ├── create.blade.php │ │ │ ├── edit.blade.php │ │ │ └── listing.blade.php │ │ └── index.blade.php │ ├── layout │ │ ├── partials │ │ │ ├── footer.blade.php │ │ │ ├── messages.blade.php │ │ │ ├── topbar.blade.php │ │ │ └── sidebar.blade.php │ │ ├── auth.blade.php │ │ └── app.blade.php │ ├── errors │ │ └── 503.blade.php │ ├── auth │ │ └── login.blade.php │ ├── client │ │ ├── create.blade.php │ │ ├── edit.blade.php │ │ └── index.blade.php │ └── project │ │ ├── create.blade.php │ │ ├── edit.blade.php │ │ └── index.blade.php ├── assets │ └── sass │ │ └── app.scss └── lang │ └── en │ ├── pagination.php │ ├── auth.php │ ├── passwords.php │ └── validation.php ├── bootstrap ├── cache │ └── .gitignore ├── autoload.php └── app.php ├── storage ├── logs │ └── .gitignore ├── app │ ├── public │ │ └── .gitignore │ └── .gitignore └── framework │ ├── cache │ └── .gitignore │ ├── views │ └── .gitignore │ ├── sessions │ └── .gitignore │ └── .gitignore ├── .gitattributes ├── .gitignore ├── package.json ├── tests ├── ExampleTest.php └── TestCase.php ├── .env.example ├── gulpfile.js ├── server.php ├── config ├── compile.php ├── services.php ├── view.php ├── broadcasting.php ├── filesystems.php ├── cache.php ├── queue.php ├── auth.php ├── mail.php ├── database.php ├── session.php └── app.php ├── phpunit.xml ├── composer.json ├── artisan └── README.md /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/Listeners/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/Policies/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /database/seeds/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | -------------------------------------------------------------------------------- /database/migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /resources/views/vendor/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /resources/views/welcome.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layout.app') -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | -------------------------------------------------------------------------------- /public/assets/css/paper-auth.css: -------------------------------------------------------------------------------- 1 | body { 2 | background-color: #f4f3ef; 3 | padding-top: 50px; 4 | } -------------------------------------------------------------------------------- /resources/assets/sass/app.scss: -------------------------------------------------------------------------------- 1 | // @import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap"; 2 | 3 | -------------------------------------------------------------------------------- /app/Events/Event.php: -------------------------------------------------------------------------------- 1 | 'auth/', 'namespace' => 'Auth'], function() { 4 | Route::get('login', 'AuthController@getLogin')->name('auth.login'); 5 | Route::post('login', 'AuthController@postLogin')->name('auth.login'); 6 | 7 | Route::get('logout', 'AuthController@logout')->name('auth.logout'); 8 | }); -------------------------------------------------------------------------------- /resources/views/invoices/forms/payment.blade.php: -------------------------------------------------------------------------------- 1 |
Please fill in the fields below
11 |Fill in the fields to add a new payment
11 |Please correct any changes on the payment and click save
11 |Fill in the fields to create a new client
11 |Fill in the fields to edit the client
11 |Fill in the fields to create a new project
11 |Fill in the fields to update the project
11 |All of your projects are shown below in the list
19 || 26 | Name 27 | | 28 |29 | Client 30 | | 31 |32 | |
|---|---|---|
| 38 | {{ $project->name }} 39 | | 40 |41 | {{ $project->client->name }} 42 | | 43 |44 | 45 | Edit 46 | 47 | 48 | Remove 49 | 50 | | 51 |
| 20 | Amount 21 | | 22 |23 | Created At 24 | | 25 |26 | Actions 27 | | 28 |
|---|---|---|
32 | 33 | 34 | ${{ $payment->getCurrencyFormat($payment->amount) }} 35 | 36 |37 | |
38 |
39 | 40 | {{ $payment->created_at->format('F d, Y') }} 41 |42 | |
43 |
44 |
45 | Remove Payment
46 | Edit Payment
47 |
48 | |
49 |
All of your current and past clients are shown below in the list
19 || 26 | Name 27 | | 28 |29 | Overdue 30 | | 31 |32 | Outstanding 33 | | 34 |35 | Paid 36 | | 37 |38 | |
|---|---|---|---|---|
| 44 | {{ $client->name }} 45 | | 46 |
47 | 48 | 0 49 |50 | |
51 |
52 | 53 | 0 54 |55 | |
56 |
57 | 58 | 0 59 |60 | |
61 | 62 | 63 | Edit 64 | 65 | 66 | Remove 67 | 68 | | 69 |
All of your invoices are shown below in the list
18 || 25 | Project 26 | | 27 |28 | Due 29 | | 30 |31 | Paid 32 | | 33 |34 | Total 35 | | 36 |37 | Owing 38 | | 39 |40 | Last Payment 41 | | 42 |43 | Action 44 | | 45 |
|---|---|---|---|---|---|---|
| 51 | {{ $invoice->project->name }} 52 | | 53 |54 | @if($invoice->due_at->timestamp > 0) 55 | {{ $invoice->due_at->format('F d, Y') }} 56 | @else 57 | No Due Date 58 | @endif 59 | | 60 |61 | @if($invoice->isPaid()) 62 | 63 | @else 64 | 65 | @endif 66 | | 67 |68 | 69 | ${{ $invoice->getCurrencyFormat($invoice->amount) }} 70 | 71 | | 72 |73 | ${{ $invoice->getCurrencyFormat($invoice->amountOwing()) }} 74 | | 75 |76 | @if($invoice->payments()->count() > 0) 77 | {{ $invoice->payments()->orderBy('created_at', 'desc')->first()->created_at->format('F d, Y') }} 78 | @else 79 | No Payment Recorded 80 | @endif 81 | | 82 |83 | 84 | Payment 85 | 86 | 87 | Edit 88 | 89 | 90 | Remove 91 | 92 | | 93 |