Commit Graph

173 Commits

Author SHA1 Message Date
David Bomba 6c86d7151a Update copyright year 2023-01-29 09:21:40 +11:00
David Bomba 7dec26f788 minor fixes for subscriptions 2022-12-16 23:37:03 +11:00
David Bomba a6079b0cc1 Fixes for variables in recurring invoices 2022-11-18 07:45:14 +11:00
David Bomba f54f4b9200 Minor fixes for negative invoices 2022-11-13 10:44:01 +11:00
David Bomba 4108868b19 don't link entities when we are in a transaction 2022-10-30 20:48:43 +11:00
David Bomba ce47e30aa2 Merge branch 'v5-develop' into yodlee 2022-10-24 08:43:02 +11:00
David Bomba ab71be42a0 Delete pdf when deleting invoice 2022-10-21 15:00:33 +11:00
David Bomba cc84f9eb2e Fix for placeholder replacements in invoices 2022-10-21 09:05:37 +11:00
David Bomba 0a2cb6f88d Merge branch 'v5-develop' into yodlee 2022-10-06 20:55:44 +11:00
David Bomba 84347eb583 Add logging 2022-09-14 13:08:35 +10:00
David Bomba c0cb157309 Merge branch 'v5-develop' into yodlee 2022-09-07 14:54:50 +10:00
= 59e3ab9993 Working on client credit balance field 2022-08-22 08:48:52 +10:00
David Bomba f6821e9fcc Yodlee init 2022-07-28 14:09:13 +10:00
David Bomba 00eb180afc minor fixes 2022-07-17 15:26:35 +10:00
David Bomba 7157c95ef4 Start recurring invoice on send now 2022-07-12 20:47:17 +10:00
David Bomba 49683e8654 Minor fixes 2022-07-10 15:53:23 +10:00
David Bomba 1ca9459365 Do no alter client balance after an invoice has been marked as paid 2022-07-10 15:07:37 +10:00
David Bomba 6f491dfb92 Update Copyright text 2022-04-27 13:20:41 +10:00
David Bomba f2932c0354 Allow file key for uploads 2022-03-09 20:39:32 +11:00
David Bomba 83692ed618 refactor queries 2022-02-26 18:48:22 +11:00
David Bomba 548510d686 Improvements for credits 2022-01-28 16:30:40 +11:00
David Bomba 55f96e035b Create recurring invoice with invitations for draft 2021-12-15 07:05:12 +11:00
David Bomba d9961bb529 Return early if no client present in the repository 2021-11-21 14:52:48 +11:00
David Bomba e2a6cd65cc Refactor invitation links 2021-11-06 11:46:12 +11:00
David Bomba 7d896e843b Do not mark a 0 draft invoice as paid automatically 2021-10-25 11:49:11 +11:00
David Bomba 5ce87d00d9 Minor refactor 2021-10-18 15:23:34 +11:00
David Bomba 37aac0db03 Fixes for converting quotes to invoices - invitations 2021-10-18 13:31:21 +11:00
David Bomba 68a8715c6d Fixes for tests 2021-10-17 14:21:13 +11:00
David Bomba 59c54b48e4 Fixes for invitations 2021-10-14 17:59:03 +11:00
David Bomba dc116013d9 Fixes for observers 2021-10-14 17:54:38 +11:00
David Bomba 21d08d2d7e Trigger model created event manually after model calculations have been performed 2021-10-10 20:56:05 +11:00
David Bomba 40a90c4ea8 Fixes for invoice observer 2021-10-07 17:34:23 +11:00
David Bomba 491d5e9f89 Additional logging for auto bill 2021-10-05 08:17:41 +11:00
David Bomba 02e8e6e000 Fixes for amounts when formatted with comma's 2021-09-07 13:57:55 +10:00
= 72bbcf2bb2 Prevent duplicate events firing on save 2021-09-05 20:31:08 +10:00
David Bomba 2d6e2e5976 Fixes for tests 2021-08-01 08:44:04 +10:00
David Bomba b91af0dc69 Client Contact password reset links 2021-07-29 12:19:56 +10:00
David Bomba 60452278b5 Minor fixes 2021-07-25 22:42:03 +10:00
David Bomba 172604a1a0 WePay 2021-06-20 22:10:22 +10:00
David Bomba 3911a58d98 WePay JS 2021-06-19 14:05:45 +10:00
David Bomba 36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba b82cdb6b77 Fixes for DB::rollBack 2021-05-26 17:04:29 +10:00
David Bomba 7618666c4b Fixes for tests 2021-05-26 12:37:16 +10:00
David Bomba 7808b4c30d Fixes for created_at dates in migration 2021-05-10 09:52:58 +10:00
David Bomba 85c05f7c30 Fixes for VarEvents 2021-05-07 07:12:07 +10:00
David Bomba 73bcaae3f6 Allow invoice balances to change - but do no allow them to go negative 2021-04-28 11:18:27 +10:00
David Bomba 218aa6de73 Checks for partial/deposit greater than amount/balance 2021-04-15 08:09:36 +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 1b3a9e6398 Fixes for updating products 2021-02-23 09:08:43 +11:00
David Bomba 9a46a886a1 fixes for surcharge tax calculations and also implemented Zero % tax rates 2021-02-21 20:36:34 +11:00
Joshua Dwire e11e71514a Add tests; block sending payment emails during an import. 2021-02-17 22:05:33 -05:00
David Bomba 2e2843c27d Fixes for migrations 2021-02-03 23:29:44 +11:00
David Bomba c173fdcc5b Fixes for ledger 2021-01-21 15:42:30 +11:00
David Bomba 40f336c469 Fixes for defaults 2021-01-19 07:02:32 +11:00
David Bomba 6f95715917 Update model exchange rate if client currency differs from company 2021-01-18 10:01:37 +11:00
David Bomba 12c4cdb4ed Refactor alternateSave() in BaseRepo 2021-01-15 11:59:23 +11:00
David Bomba af1e211abe Fix for recurring invoice tax calculations. 2021-01-15 09:58:21 +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 388c0e8467 Add withTrashed() for queries in migration 2020-11-23 08:25:29 +11:00
David Bomba a1119f9bbe Fix edge cases with cloning invoice 2020-11-15 19:24:57 +11:00
David Bomba 5fe85ca3f0 Working on company settings implmentation 2020-11-04 17:02:15 +11:00
David Bomba 64b703513d Refactor company gateway schema for required fields 2020-11-04 08:26:28 +11:00
David Bomba f98e7d15da fixes for updating products 2020-11-04 00:57:48 +11:00
David Bomba 13a00fc897 Redundant code cleanup 2020-11-04 00:27:41 +11:00
David Bomba 6eb9f0f6a6 Event testing 2020-11-03 21:04:15 +11:00
David Bomba f911d17a6b Fix for migration 2020-11-01 20:41:49 +11:00
David Bomba 503cc6a5a8 Link entities 2020-11-01 19:53:23 +11:00
David Bomba ae44b9c032 Version bump + linking tasks expenses with invoices 2020-11-01 18:53:43 +11:00
David Bomba 9aeb2d7a5b Psalm cleanup 2020-10-28 21:10:49 +11:00
Clément Gayot b7470798d4
Fix BaseRepository
Fix BaseRepository (remove useless ";")
2020-10-17 01:32:53 +02:00
David Bomba 1a0d98ef3d Fixes for base repo 2020-10-08 20:12:44 +11:00
David Bomba 5101e7cce6 Update credit balance 2020-10-08 15:05:38 +11:00
David Bomba d2d6262941 Testing Autobill 2020-10-08 14:31:02 +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 c195f5b8a5 Add middleware to destroy document 2020-08-11 13:21:43 +10:00
David Bomba fb829d2da0 Formatting 2020-07-27 18:22:57 +10:00
David Bomba d36fdb4025 Fixes for refresh query 2020-07-25 09:02:32 +10:00
David Bomba ce3696257f Fixes for base repo invitations 2020-07-23 13:55:11 +10:00
David Bomba 8420a4bac1 Remove redundant properties from account table and transformer 2020-07-21 09:00:59 +10:00
David Bomba fec8e8b520 Fix bug where restoring a credit wouldn't work 2020-07-20 07:54:10 +10:00
David Bomba f3572a5d11 Refactor for events 2020-07-08 22:02:16 +10:00
David Bomba cbeeeef1c4 Code cleanup for baserepo 2020-06-30 15:26:37 +10:00
David Bomba f63323e4e2 Fixes for events 2020-06-30 14:10:40 +10:00
David Bomba e5245c22d4 Fixes tests 2020-06-30 13:50:46 +10:00
David Bomba 263c1c04f0 Fixes for payment rpeo 2020-06-30 13:31:30 +10:00
David Bomba edc59d59c1 Minor fix for contact saving on invitation 2020-06-30 11:37:21 +10:00
David Bomba 245980ce4b Send company with all events 2020-06-30 09:35:17 +10:00
David Bomba 20e95223c1 Fixes for design id 2020-06-29 11:04:09 +10:00
David Bomba 22c8304510 Improve test data 2020-06-29 09:38:37 +10:00
David Bomba 8ddbfa662a Design controller bulk actions 2020-06-22 14:38:24 +10:00
David Bomba 6b7db63e66 Design repository 2020-06-22 08:34:02 +10:00
David Bomba bf6044006d Fix for restoring invoices 2020-06-09 07:43:46 +10:00
David Bomba e163135f1f Fixes for refunding 2020-06-01 08:29:53 +10:00
David Bomba 0803ffda11 Fire invoice pdf creator when an invoice has been updated 2020-05-29 18:27:09 +10:00
Benjamin Beganović d516b1b097
Workflow settings for quotes & invoices (#3655)
* Fix inputs

* Workflow settings: Auto archive

- New InvoiceWorkflowSettings job
- Updated PaymentCreatedActivity to dispatch the job
- New 'Archivable' trait
- New 'archived_at' field

* Workflow settings: Sending e-mail to client with auto_send

* Workflow settings: Quotes

* Fix HTML markup

* Fix archive & sending

* Remove Archivable trait & migration file

* Change order of sending the events
2020-04-28 09:50:54 +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 563d41c83a
Email Settings (#3615)
* Working on advanced email settings

* working on document storage

* Email Documents if they exist

* UBL invoices

* UBL Invoices

* Fixes for tests
2020-04-10 15:07:36 +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 eba0c19824
Fixes for Migration (#3572)
* Remove \Log::, fixes for tests, and fixes for migration

* Debugging migration

* Fixes for Migration
2020-04-01 19:54:22 +11:00