Commit Graph

89 Commits

Author SHA1 Message Date
David Bomba 8e5c825750 fixes for storage paths in self host 2022-10-12 11:27:14 +11:00
Nikola Cirkovic c75b1d303f
Cirkovic/ina 16 fixes (#50)
* Dispatch | PdfCreatorTest | Removed deprecated method

* Dispatch | Remove deprecated dispatchNow() method and use dispatchSync or call handle() on class where return is mandatory.
2022-06-24 21:15:14 +10:00
Shift 6edb82308f
Shift cleanup 2022-06-21 10:03:51 +00:00
Shift 63dc08532c
Convert deprecated `$dates` property to `$casts` 2022-06-21 09:59:53 +00:00
Shift 19080933b6
Apply Laravel coding style
Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions.

You may customize the code style applied by adding a [PHP CS Fixer][1] or [PHP CodeSniffer][2] ruleset to your project root. Feel free to use [Shift's Laravel ruleset][3] to help you get started.

For more information on customizing the code style applied by Shift, [watch this short video][4].

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://github.com/squizlabs/PHP_CodeSniffer
[3]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
[4]: https://laravelshift.com/videos/shift-code-style
2022-06-21 09:57:17 +00:00
David Bomba b127e12778 Quote Items Export 2022-04-28 14:02:59 +10:00
David Bomba 6f491dfb92 Update Copyright text 2022-04-27 13:20:41 +10:00
David Bomba 15b18dfc8f Entity translations 2022-04-06 10:38:01 +10:00
David Bomba ff33cc5fca Fixes for casts 2022-02-27 17:49:49 +11:00
David Bomba 447dfc1f8c Forward user to quote on conversion 2022-02-12 11:17:36 +11:00
David Bomba dd2fba48cd Tests for adding vendors to quotes, credits and invoices 2022-02-08 21:39:59 +11:00
David Bomba 959d45f081 Fixes for client portal quote tables 2022-01-07 15:03:42 +11:00
David Bomba b1f2ab7e8d minor fixes for quote model - uses_inclusive_taxes - fillable property 2021-12-03 15:48:36 +11:00
David Bomba 1835e225c6 Reduce activities on return entity 2021-08-22 16:23:00 +10:00
David Bomba 36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
= afdfddd7e9 Refactor for entity paths 2021-06-12 21:50:01 +10:00
David Bomba f22745d131 Remove delivery not from try/catch block 2021-05-30 06:50:55 +10:00
David Bomba b0d1b7e1a1 Fixes for delivering PDFs over the wire 2021-05-16 16:26:55 +10:00
David Bomba 7bf74e012c Fixes for PDF display latency 2021-05-16 09:41:12 +10:00
David Bomba ae74f5a9d8 Fixes for client portal PDF display 2021-05-15 17:14:31 +10:00
David Bomba c52311bcde Fixes for PDF file paths 2021-05-15 12:19:36 +10:00
= ab0de39c75 Fixes for activities 2021-05-07 21:00:55 +10:00
David Bomba 85c05f7c30 Fixes for VarEvents 2021-05-07 07:12:07 +10:00
David Bomba 7e3a9205b9 Add event listeners for Subscriptions + fix user actioning the event() 2021-04-13 09:52:17 +10:00
David Bomba 47113da4fa Fixes for invoice properties 2021-04-08 20:50:53 +10:00
David Bomba f52fb31ced Remove illegal characters from pdf file names 2021-03-17 22:29:20 +11:00
David Bomba 00eefcd781 Client Subscription scaffolding 2021-03-10 11:08:58 +11:00
David Bomba e668e7fd5a Fixes for Quotes not attaching to emails 2021-02-28 13:12:55 +11:00
= c94c3fa373 Add project relationships across all entities 2021-02-27 08:37:56 +11:00
David Bomba 55b673241b Fixes for fillable properties 2021-02-23 12:17:09 +11:00
Benjamin Beganović 3cb6d07c20 Change default full-screen view for invoices & quotes:
- New $url property for file_path() for invoices & quotes
- "Full screen" mode now returns raw file
- Show default browser viewer for desktop devices
2021-02-18 13:18:41 +01:00
David Bomba f64a798ca5
Merge pull request #4689 from beganovich/v5-0114-hide-drafts-from-quote-tables
(v5) Client portal: Remove drafts from the quotes table
2021-01-15 08:33:01 +11:00
Roman Miniv b20594dc43 Deleted fillable duplicates. 2021-01-14 23:01:31 +02:00
Benjamin Beganović a43d756068 missing break 2021-01-14 14:24:43 +01:00
Benjamin Beganović ab4ed1f2b0 add status converted 2021-01-14 14:22:01 +01:00
David Bomba 97180508e8 Remove stale invoice_type_id properties 2021-01-14 07:35:52 +11:00
David Bomba 934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
Benjamin Beganović ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
= 6479b2fd3e Fix for laravel 8 route file regression + psalm cleanup 2020-11-01 16:09:09 +11:00
David Bomba 9aeb2d7a5b Psalm cleanup 2020-10-28 21:10:49 +11:00
David Bomba 8d508bb1f9 Refactor pdf generation 2020-10-26 15:06:58 +11:00
David Bomba 3dca6ff171 Add projects to all entities - fixes for gateway casts 2020-10-15 07:58:20 +11:00
David Bomba ba75a44eb8
Laravel 7.x Shift (#40)
* Adopt Laravel coding style

The Laravel framework adopts the PSR-2 coding style with some additions.
Laravel apps *should* adopt this coding style as well.

However, Shift allows you to customize the adopted coding style by
adding your own [PHP CS Fixer][1] `.php_cs` config to your project.

You may use [Shift's .php_cs][2] file as a base.

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200

* Shift bindings

PHP 5.5.9+ adds the new static `class` property which provides the fully qualified class name. This is preferred over using class name strings as these references are checked by the parser.

* Shift core files

* Shift to Throwable

* Add laravel/ui dependency

* Unindent vendor mail templates

* Shift config files

* Default config files

In an effort to make upgrading the constantly changing config files
easier, Shift defaulted them so you can review the commit diff for
changes. Moving forward, you should use ENV variables or create a
separate config file to allow the core config files to remain
automatically upgradeable.

* Shift Laravel dependencies

* Shift cleanup

* Upgrade to Laravel 7

Co-authored-by: Laravel Shift <shift@laravelshift.com>
2020-09-06 19:38:10 +10:00
David Bomba 17acab76b4
Merge pull request #3992 from turbo124/v2
Fixes for company Purging
2020-08-16 21:32:35 +10:00
David Bomba da26a1f2f2 Refactor date mutators 2020-08-15 08:03:29 +10:00
Benjamin Beganović edfec84074 Add new properties to models for easier fetching:
Invoice:
- balance_due is now alias to balance
- total is now alias to calc()->getTotal()

Quote:
- valid_until is now alias to due_date
- balance_due is now alias to balance
2020-08-14 14:53:36 +02:00
David Bomba cb24a89d00 Fixes for carbon date handling on entities 2020-08-14 22:50:05 +10:00
David Bomba 7fc54b7fa1 Fixes for date mutators 2020-08-14 22:21:46 +10:00
David Bomba 3ac9cc5158 Add reminder fields to entities 2020-08-14 08:08:10 +10:00
David Bomba 3c38fd2cf6 Fixes for refresh route 2020-07-26 15:12:40 +10:00