Commit Graph

39 Commits

Author SHA1 Message Date
David Bomba 16ee6d0f6e Minor fixes for tests 2021-07-03 13:47:15 +10:00
David Bomba 7556b68b1f Constrain recurring / reminders if the client is archived / deleted 2021-07-02 19:40:44 +10:00
David Bomba 6605dd9e83 Do no remind for archived invoices 2021-06-26 10:32:38 +10:00
David Bomba f59807d063 Do no first archived recurring invoices 2021-06-25 10:14:45 +10:00
David Bomba 756543f132 Change query parameter when querying datetimes 2021-06-22 18:46:46 +10:00
David Bomba 12d040e163 Fixes for query 2021-06-22 11:13:01 +10:00
David Bomba 36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba 95e27fd5ac Fixes for import 2021-05-26 20:01:06 +10:00
David Bomba 65ccf75375 Fixes for import 2021-05-26 19:51:04 +10:00
David Bomba fb17dd7e0b Force stripe amount to int 2021-05-26 16:04:38 +10:00
David Bomba 93ace021c0 do not repeat recurring crons even on failure 2021-04-30 12:51:38 +10:00
David Bomba c1b6e2043e Fixes for subscriptions 2021-04-07 21:05:09 +10:00
David Bomba 3a3ddc031c Working on subscriptions 2021-04-07 18:06:50 +10:00
David Bomba 498d8e4efc Subscription Crons 2021-04-07 13:35:16 +10:00
David Bomba 878f00b375 add additional query filter for recurring invoices 2021-03-30 09:30:41 +11:00
David Bomba abd3a89bc9
Subscriptions (#5248)
* Fixes for converting quote to invoice

* Fixes for naming PDFs

* Refresh entity prior to sending

* Fixes for subscriptions

* Add in required use

* Fixes for notifications

* Fixes for notifications

* Add with trasheD

* Rename BillingSubscriptions to Subscriptions

* Refactoring subscriptions
2021-03-25 21:55:59 +11:00
David Bomba 839a5c49d3 Fixes for billing subs cron 2021-03-10 11:14:05 +11:00
= 93493116ed Scaffolds for billing_subscriptions 2021-03-06 17:19:57 +11:00
= 097d9ac1b8 Padding out functionality 2021-03-06 11:47:05 +11:00
David Bomba 1599711dee Observers and policy scaffold 2021-03-05 21:18:28 +11:00
David Bomba fb847dba69 Fixes for recurring cron 2021-01-11 08:06:32 +11:00
Benjamin Beganović 603f7baa58 apply php-cs-fixeR 2021-01-04 13:38:00 +01:00
David Bomba 934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
= 7a058c9ae6 Move logging to nlog 2020-12-30 08:10:03 +11:00
Benjamin Beganović ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
David Bomba f6b53d27e6 is_disabled for recurring invoices 2020-11-01 21:29:34 +11:00
David Bomba 685b7e25c2 Fixes for queries 2020-11-01 16:18:40 +11:00
David Bomba bc2b0f4aae Fix for recurring number collisions - use dispatchNow() 2020-10-20 11:53:54 +11:00
David Bomba 5c0776cf14 Working on Delete user bug 2020-09-28 12:56:11 +10:00
David Bomba 3c4bc4a516 Fixes for recurring scheduling 2020-09-26 09:48:42 +10:00
David Bomba c67fee3fff Fixes for base driver 2020-09-09 20:05:10 +10:00
David Bomba f8f8da830e Working on recurring invoices + reminders 2020-09-08 21:01:55 +10:00
David Bomba f5eecf0eb6 Working on recurring 2020-09-08 20:34:14 +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 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
David Bomba 957ac9f5d8
Fix for password protected authorization (#3198)
* Remove unnecessary save() on invoice

* Update copyright

* Working on Credit Repository

* Implement credits as a paymentable entity

* Add credit_id to transformer

* fix rules for update payment

* Fix random deleted_at keys in transformers

* Fix for password_protect check
2020-01-07 11:13:47 +11:00
David Bomba f712b789ca
Fixes for tests (#3184)
* fix typo

* php-cs traits

* CS fixer pass

* Password protect User routes

* Implement checks to prevent editing a deleted record

* Clean up payment flows

* Fixes for tests
2019-12-31 08:59:12 +11:00
David Bomba 9f56e5f99e Bug Fixes 2019-05-24 08:37:47 +10:00
David Bomba 2549da4e6f Working on Sending Recurring invoices 2019-05-23 15:08:31 +10:00