Commit Graph

56 Commits

Author SHA1 Message Date
David Bomba cf13a87f47 Update recurring invoices to ensure dates are configured in the correct timezone 2024-11-16 10:05:48 +11:00
David Bomba 244d121365 Fixes for tests 2024-10-18 09:02:58 +11:00
David Bomba 934a68b58d Add Bulk Updates 2024-10-04 17:11:15 +10:00
David Bomba 1a438ecd64 Remove annotations from tests 2024-09-16 21:13:55 +10:00
David Bomba 8160af4ef4 PHP CS Fixer 2024-08-22 16:57:52 +10:00
David Bomba 0a8cf53be0 Validations for recurring invoice start dates 2024-01-26 08:09:06 +11:00
David Bomba 077d64bbf6 Add translations 2024-01-13 18:04:03 +11:00
David Bomba f7340d6114 PHP CS Fixer 2023-11-26 18:41:42 +11:00
David Bomba 0d6b8140a0 Minor adjustments for bank transaction rules permissions? 2023-08-05 09:22:02 +10:00
David Bomba 3229ae871a Fixes for recurring invoices 2023-07-27 09:02:13 +10:00
David Bomba a17c24f950 Fixes for tests 2023-04-22 09:38:54 +10:00
Gary Turner 611828ccb5 feat: Recurring Invoice filter for next_send_date and frequency 2023-04-18 08:08:41 +01:00
Gary Turner 35251cd572 feat: Recurring Invoices product_key filter 2023-04-17 13:27:29 +01:00
David Bomba f0e0fb68a6 Updates for tests 2023-03-30 16:49:32 +11:00
David Bomba f5cdf07d78 Tests for calculating recurring next send dates 2023-03-29 17:53:49 +11:00
David Bomba ab13a8de78 Increase recurring prices 2023-03-15 17:01:55 +11:00
David Bomba 27ebce048e Recurring invoice price modifications 2023-03-15 16:21:40 +11:00
David Bomba e809fa156d Recurring invoice update / upgrade pricing 2023-03-15 16:17:24 +11:00
David Bomba 4babfbb651 php-cs-fixer 2023-02-16 12:36:09 +11:00
David Bomba df8b383b31 Set timezone when testing date ranges 2023-01-27 12:12:01 +11:00
Gary Turner fda7004f3a fix: processReservedKeywords should be aware of recurring invoice date 2023-01-23 12:45:45 +00:00
David Bomba 0caa8ea8ce Back fill test for filters 2023-01-19 11:52:07 +11:00
David Bomba a6079b0cc1 Fixes for variables in recurring invoices 2022-11-18 07:45:14 +11:00
David Bomba fd3d9aa931 Tests for recurring invoice variables 2022-11-17 19:11:05 +11:00
David Bomba 1f0a6725f7 Fixes for tests 2022-10-19 09:54:35 +11:00
Shift 4f7a8f9752
Set return type of base TestCase methods
From the [PHPUnit 8 release notes][1], the `TestCase` methods below now declare a `void` return type:

- `setUpBeforeClass()`
- `setUp()`
- `assertPreConditions()`
- `assertPostConditions()`
- `tearDown()`
- `tearDownAfterClass()`
- `onNotSuccessfulTest()`

[1]: https://phpunit.de/announcements/phpunit-8.html
2022-06-21 10:00:57 +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 e153a0a06a Update license 2022-06-08 14:25:44 +10:00
David Bomba 16070affa8 Fixes for tests 2022-06-02 14:15:03 +10:00
David Bomba 3bf56af37f Fixes for timezone issues with recurring entities 2022-06-02 13:49:29 +10:00
David Bomba 4a4b324af5 Improve test coverage for triggered actions 2022-03-30 14:12:53 +11:00
David Bomba a93baadd1a Minor fixeS 2021-09-22 18:50:19 +10:00
David Bomba 6a771de80c Fixes for recurring invoice subscription ID passing 2021-07-15 11:31:11 +10:00
= b74062b1ca Number tests for quotes and recurring invoices 2021-03-20 11:21:50 +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
David Bomba 3fa336946f Fixes for Laravel 8 2020-10-01 21:34:05 +10:00
David Bomba bae82b56c1 Add license 2020-09-14 21:11:46 +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 e216def2ff Use separate repo's for migrations 2020-07-01 14:37:05 +10:00
David Bomba 659af63b5c
Add Quotes to RandomDataSeeder (#3714)
* Skip preview tests

* Fixes for product test

* Fixes for tests

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Fixes for incorrect payment types

* Refactor class nameS

* Entity Notification refactor

* Entity Notifications

* Add Quotes to randomdataseederr
2020-05-19 08:22:18 +10: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 0061da2600
Update Company User Route (#3398)
* Working on CompanyUser route

* CompanyUser update route

* tests for updating a company user
2020-02-28 23:11:56 +11:00
David Bomba 384a3b4603
Fixes for transforming and saving company settings. (#3058)
* Cleanup for settings remove from entities

* Fixes for saving and transforming company settings
2019-11-13 08:26:40 +11:00
David Bomba 37a826374b
Remove settings from invoice table (#3051)
* Implement client/group/company level counters clientCounter, groupCounter and counter

* Implement functionalityfor customising the timing of invoice_number creation

* Add Jobs

* adjustments

* clean line items at the request layer

* Clean line items at the request layer

* minor formatting for notification

* Schema Fixes

* schema changes, cast country_id to stirng

* Fixes for tests

* force line item ids to string

* Map company gateway fees and limits

* Schema changes

* Remove id from invoice item stdClass

* Remove settings object from invoice table
2019-11-10 23:06:30 +11:00
David Bomba b7d3f4e7aa
Client Portal conditionals (#3039)
* Fixes for tests

* add additional fields for company settings

* fixes for travis

* update company settings schema

* Disable client portal

* Client Portal middleware

* Working on client portal

* hide portal

* Implement notification channgels for User and ClientContact models

* Push notifications onto queue

* Force authentication if client portal is password protected
2019-11-04 11:22:59 +11:00
David Bomba 89cc4170d6 Fixes 2019-09-18 22:43:37 +10:00
David Bomba bacf1f74a0 Fixes for signup route 2019-09-17 07:42:08 +10:00
David Bomba 6368ab10f7 Doc Blocks for settings 2019-09-12 13:23:44 +10:00
David Bomba 83f6a88cb3 fixes for tests 2019-07-05 08:36:40 +10:00