Commit Graph

102 Commits

Author SHA1 Message Date
David Bomba 0d96e989f5 Refactor for document / file validation 2025-04-26 10:15:23 +10:00
David Bomba 780dda4957 Updated copyright doc blocks 2025-02-17 11:11:38 +11:00
David Bomba 2c4229fa09 Fixes for invoice query 2025-01-17 08:47:33 +11:00
David Bomba 8bd2213fc5 Refactor for invoice deleted 2025-01-15 15:08:34 +11:00
David Bomba 552d596eae Style fixes 2024-11-20 11:15:49 +11:00
David Bomba 036aca49a4 Rollback for new payment flow 2024-08-22 16:45:06 +10:00
David Bomba 6f5daf6f2a Rate limit invoice deletion 2024-06-24 17:37:08 +10:00
David Bomba f65567a637 Update copyright 2024-04-12 14:15:41 +10:00
David Bomba 40086db271 cs fixer 2024-01-14 15:05:00 +11:00
David Bomba 33585c65c4 php cs fixes 2023-10-26 13:57:44 +11:00
David Bomba 68ce3be42b Updates for static analysis 2023-08-06 17:35:19 +10:00
David Bomba 8515b350be Adjustments for restoring a deleted invoice with a deleted payment 2023-07-16 17:42:34 +10:00
David Bomba 77bbb8d9e6 move e_invoice config into company settings 2023-04-28 11:39:41 +10:00
David Bomba 5a42b89d55 cs fixer 2023-03-18 18:24:56 +11:00
David Bomba c213e8705d Update payment display screen in Client Portal. 2023-03-16 16:45:40 +11:00
David Bomba 6c86d7151a Update copyright year 2023-01-29 09:21:40 +11:00
David Bomba 20f398d49b Add redundancy checks when creating task numbers 2022-09-13 19:32:53 +10: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 6f491dfb92 Update Copyright text 2022-04-27 13:20:41 +10:00
David Bomba 83692ed618 refactor queries 2022-02-26 18:48:22 +11:00
David Bomba 36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba 934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
Benjamin Beganović 1f2c3f2823 update pagination links & apply php-cs-fixer 2020-12-05 14:24:21 +01:00
David Bomba fceaab9e40 Working on invoice delete restore refactor 2020-12-03 21:46:36 +11:00
David Bomba d30ef031a2 refactor invoice deletion 2020-12-03 15:30:32 +11:00
David Bomba f96bde6fca Refactor invoice delete/restore 2020-12-03 15:20:39 +11:00
David Bomba 73c9474912 Working on invoice delete refactor 2020-12-03 14:56:00 +11:00
Benjamin Beganović ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
David Bomba bbf240be2d New fields for company gateway 2020-11-04 07:19:59 +11:00
David Bomba d762c5e842 Psalm code cleanup 2020-11-04 00:34:24 +11:00
David Bomba 13a00fc897 Redundant code cleanup 2020-11-04 00:27:41 +11:00
David Bomba 9aeb2d7a5b Psalm cleanup 2020-10-28 21:10:49 +11:00
David Bomba a43688fd30 Append DELETED to invoice number on delete action 2020-09-23 20:52:54 +10: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 fb829d2da0 Formatting 2020-07-27 18:22:57 +10:00
David Bomba 5eb9791c37 fix for bug on bulk route of invoice repo 2020-07-17 07:15:30 +10:00
David Bomba 0fd97f3a03 Fixes for checkdata 2020-07-07 20:35:54 +10:00
David Bomba 245980ce4b Send company with all events 2020-06-30 09:35:17 +10:00
David Bomba 74a6c4f2ee
Reminders (#3630)
* Performance improvements moving from str_replace to strtr

* Remove legacy docs

* Clean up credit transformer

* Working on invoice emails

* Clean up for invoice designs

* Tests for light and dark theme emails

* Working on reminder scheduling

* Reminder Job Class

* Fixes for github actions

* PHP CS

* Test for reminders

* Test for reminders
2020-04-15 10:30:52 +10:00
David Bomba 9349eb0414
Repeating headers and footers for PDF (#3622)
* Subclass Notification class

* Subclass Notification class

* Working on invoice design

* Working on page headers and footers

* Fixes for headers and footers

* Fixes for invoices
2020-04-12 21:51:27 +10:00
David Bomba 2fd3229efd
Implementation of Invoice Reversal (#3602)
* Version bump 0.0.2

* code cleanup

* Working on reversing an invoice

* Working on reversing an invoice

* Working on refunding invoice

* Reversing invoices

* Test for invoice reversals

* Invoice Reversal
2020-04-08 20:48:31 +10:00
David Bomba 8cffccb3bc
Fixes for composer 2 (#3593)
* Add privacy link to setup page

* Italics

* Tests for invoice actions

* Fixes for autoloading
2020-04-06 22:32:27 +10:00
David Bomba 6d7b7ca9a3
Invoice Deletion - Ledger (#3590)
* Fixes when implementing

* php_cs

* Clean up

* Clean up

* Working on adjusting ledger when an invoice is deleted
2020-04-04 21:32:42 +11:00
David Bomba 43e57d0117
Fixes for self-update (#3514)
* minor fix for payment notifications

* styleci

* Limit Self updating to self hosters only
:

* Fixes for designs

* Minor fixes for self-update
2020-03-21 16:37:30 +11:00
David Bomba db88d6a50d
Fixes for V2 (#3408)
* Refactor for user

* payment notifications

* Fixes for contact request

* Fix validation for contacts

* Fixes for base repo

* Fixes for Invoice Repo

* hide password field on clientcontact
2020-03-02 21:22:37 +11:00
Benjamin Beganović 200b26d809
Refactor save() method to apply DRY for invoices, Quotes & Credits (#3387)
* Refactor save() method to apply DRY

* Update BaseRepository.php
2020-02-27 08:21:12 +11:00
David Bomba 0f050ae236
uses_inclusive_taxes (#3377) 2020-02-26 16:18:38 +11:00
David Bomba 1ac2a73b2a
Update CORS fields (#3371)
* Working on invoice invitations

* Credit invitations

* Update CORS
2020-02-25 19:33:53 +11:00
David Bomba 08b4c4f4e1
Fixes for invoice invitation creation (#3370)
* Working on invoice invitations

* Fixes for invitation creation
2020-02-25 09:00:28 +11:00
David Bomba 3d31f810c0
Set Invitations as a default include for invoices (#3362)
* Working on importing company gateways

* Fix for companyuser settings object

* Migrate client_gateway_tokens

* Working on Notificaitons

* Working on notifications

* Failsafe for user-company

* unlink files

* Set DB for jobs

* Always have a fallback for company_id

* Fixes for user model

* Formatting for MultiDB

* Working on Company Ledger Tests

* Fixes for contact request

* Set Invitations as a default include for invoices
2020-02-24 21:15:30 +11:00