Commit Graph

303 Commits

Author SHA1 Message Date
David Bomba a5290e067e Fix for suming amounts payable 2021-01-08 14:25:54 +11:00
David Bomba 2e499adea6 Fix for task status null color value 2021-01-08 09:03:29 +11:00
= 56bcaf0785 Fix for custom payment driver label 2021-01-07 21:09:24 +11:00
David Bomba 5d302ad450 Fixes for multi payments 2021-01-07 18:21:49 +11:00
David Bomba 31dd8b2d77
Merge pull request #4643 from turbo124/v5-develop
Fixes for tax precision
2021-01-07 17:09:08 +11:00
David Bomba 2cd5d2d68a Minor fixes for credit_payments in CP 2021-01-07 10:18:57 +11:00
Benjamin Beganović e1df465883 Show the message if invoice is unpayable 2021-01-06 14:22:48 +01:00
David Bomba 04d8bcccb1 Fix for error handling in PayPal driver 2021-01-06 20:28:48 +11:00
David Bomba 65afd70b38 Always ensure the client has a currency set 2021-01-06 19:50:13 +11:00
David Bomba 47f42b804d Fixes for partial credit payments" 2021-01-06 16:54:04 +11:00
David Bomba 3ee3f67c8c Fixes for over payments 2021-01-06 16:14:20 +11:00
David Bomba 934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
David Bomba e791741efa Fixes for displaying recurring invoices in the client portal 2021-01-03 18:56:42 +11:00
Benjamin Beganović 8df80ddab0 fixes for paypal redirecting to stripe 2020-12-30 12:02:04 +01:00
Benjamin Beganović 20c010448a apply php-cs-fixer 2020-12-16 12:52:40 +01:00
David Bomba 05f4572454
Merge branch 'v5-develop' into v5-develop 2020-12-14 21:44:01 +11:00
Benjamin Beganović 79570b6118
Merge pull request #4453 from beganovich/v5-custom-payment-driver
(v5) Custom payment driver
2020-12-14 10:12:56 +01:00
David Bomba 6f451b8924 Remove redundant info() Change document download route 2020-12-13 20:46:29 +11:00
David Bomba aa1a788d6e Public document download route 2020-12-12 19:46:28 +11:00
Benjamin Beganović d45571d7f9 wip 2020-12-09 15:17:48 +01:00
David Bomba 634e5cadcc remove redundant code 2020-12-08 21:49:23 +11:00
Benjamin Beganović 0aff363f5d php-cs-fixer 2020-11-27 12:08:42 +01:00
David Bomba 9f4979095b Temp routes" 2020-11-27 20:21:18 +11:00
David Bomba 5a3c93bb3c Temp routes" 2020-11-27 20:14:01 +11:00
David Bomba b3cdb19b4d
Merge pull request #4362 from beganovich/v5-gateways-required-fields
(v5) Support for pre-checking gateway requirements
2020-11-26 06:57:48 +11:00
Benjamin Beganović ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
Benjamin Beganović 169e5ba93e support for checking requirements based on gateway 2020-11-25 14:38:49 +01:00
Benjamin Beganović d64308fdd1 production builds 2020-11-17 16:57:42 +01:00
Benjamin Beganović 501f3c9b0e injecting signatures into entity invitations 2020-11-17 16:57:34 +01:00
David Bomba 28cbd75fcb Fixes for credit PDF 2020-11-11 11:13:39 +11:00
Benjamin Beganović 4dc3443d16 fix quotes not approving 2020-11-09 16:37:53 +01:00
David Bomba 552ac4ee8f
Merge pull request #4257 from turbo124/v5-develop
Event Tests
2020-11-03 23:45:04 +11:00
David Bomba 14fd4a5af4 Event Tests 2020-11-03 23:35:05 +11:00
Benjamin Beganović 0942169d4f Handle Alipay payments
- Refactored main Alipay class
- Added new N/A translation
- Fixed issue with alipay.js
2020-11-02 16:20:38 +01:00
Benjamin Beganović 7f3c4ada5a Merge remote-tracking branch 'upstream/v5-develop' into v2-frontend-refactor 2020-11-01 19:26:43 +01:00
Benjamin Beganović 1ae2649be6 Stripe ACH authorization & verification 2020-11-01 18:47:48 +01:00
David Bomba de48512908 Activity record when quote is approved 2020-10-30 08:43:23 +11:00
David Bomba 9aeb2d7a5b Psalm cleanup 2020-10-28 21:10:49 +11:00
David Bomba 97db2ad3b6
Merge pull request #4202 from beganovich/v2-checkout-refactor
(v5) Checkout.com refactor
2020-10-27 23:18:42 +11:00
Benjamin Beganović 223ae4cb5b - Extract $payment_hash property onto BaseDriver
- Handle internally failed payments inside BaseDriver
- Add SYSTEM_LOG_TYPE property on CheckoutComPaymentDriver
- Remove resolving of $payment_hash inside of payment methods
2020-10-27 12:53:35 +01:00
David Bomba 8f53424017 Fixes 2020-10-27 06:10:04 +11:00
Benjamin Beganović dcb48297fb wip refactor 2020-10-22 15:24:18 +02:00
David Bomba 07cbb6a71a Fixes for showing recurring invoices in the client portal 2020-10-16 07:35:15 +11:00
David Bomba 901f7c4117 Working on credit payments 2020-10-15 14:35:35 +11:00
David Bomba 0d17b299a0 Refactor payments for credits 2020-10-15 11:37:16 +11:00
David Bomba a5555cc434 Working on credit payments" 2020-10-14 10:53:20 +11:00
David Bomba 080c82770e Working on credit payments 2020-10-13 23:28:30 +11:00
David Bomba 96750d5fdb Refactor for payments via client portal 2020-10-13 21:32:15 +11:00
David Bomba 57faf6eeb5 Use credits for payments in client portal 2020-10-13 14:25:51 +11:00
David Bomba 1eadbde544 working on refactor of company gateway fees 2020-10-12 22:02:02 +11:00
David Bomba 65a1f150d5 Fixes for tests 2020-10-12 20:38:55 +11:00
David Bomba 8b48f26c79 Fixes for calcuting gateway fees and for removing unpaid gateway fees appropriately 2020-10-11 08:31:50 +11:00
David Bomba 61646ec55c
Merge pull request #4151 from turbo124/v2
Console commands for small test data batches
2020-10-10 14:32:49 +11:00
David Bomba 407304d3c6 Console commands for small test data batches 2020-10-10 14:32:10 +11:00
Benjamin Beganović f33e6768c0 Use invoice 'balance' when comparing with over & under payments. 2020-10-09 16:08:12 +02:00
David Bomba 5cd1acd484
Merge pull request #4143 from turbo124/v2
Gateway fixes
2020-10-09 22:13:58 +11:00
Benjamin Beganović 4f26a868a7 Add findOrFail() 2020-10-09 12:44:57 +02:00
David Bomba cf7ee6338e Working on templates 2020-10-09 12:59:59 +11:00
Benjamin Beganović a210790a57 Fix overpayments 2020-09-29 14:16:01 +02:00
Benjamin Beganović 4e9bc0552d Rename "Downloads" to "Documents":
- Remove Livewire auto-publish from composer.json
- Replace old DocumentController with DownloadsController
- Rename DownloadsTable & downloads-table to DocumentsTable & documents-table
- New ShowDocumentRequest for displaying documents
- Change authorize() with DownloadMultipleDocumentsRequest
- Change route in PortalComposer
- Update Livewire assets
- Remove old documents routes
2020-09-28 12:04:34 +02:00
David Bomba 7e85ee0be3
Merge branch 'v2' into v2 2020-09-24 21:37:17 +10:00
Benjamin Beganović 0216286efc Support for over & under payments 2020-09-24 11:29:47 +02:00
David Bomba 0e5199e052 Working on contact auth using contact key 2020-09-23 11:45:07 +10:00
= 88eb05786e Fixes for updateinvoicepayment 2020-09-19 11:20:14 +10:00
Benjamin Beganović a1e11cf161 invoices-table fix for balance due 2020-09-18 14:47:36 +02:00
Benjamin Beganović 020005d20d Update PaymentMethodController:destroy() with generic gateway detach 2020-09-18 09:48:39 +02:00
David Bomba 18282acbd7 Allow circumvention of client portal passwords using designated hash 2020-09-07 14:49:57 +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 bb4aac1aeb
Merge pull request #4025 from turbo124/v2
Gateway fees implementation
2020-08-31 17:58:43 +10:00
David Bomba 1bd3deca4f Invoice payments with gateway fees 2020-08-31 14:27:47 +10:00
David Bomba eb867522df Working on invoice payments with gateway fees 2020-08-31 12:00:43 +10:00
David Bomba ac08a146a1 Working on gateway fees 2020-08-30 22:00:19 +10:00
David Bomba 1bc71fb5d8 Working on gateway fees 2020-08-30 08:00:57 +10:00
David Bomba 1a7d0d3cbd Working on gateway fees across multiple invoices 2020-08-27 22:12:39 +10:00
David Bomba ff5d8ad871 Fixes for gateway fees 2020-08-26 11:14:15 +10:00
David Bomba d57f0f9236 Refactoring client payments 2020-08-26 10:53:11 +10:00
David Bomba 79e0fa56e2 Convert currency string to float 2020-08-26 10:47:50 +10:00
David Bomba 37c5a7adb5 Test for gateway fees appending to invoice 2020-08-26 08:10:49 +10:00
David Bomba 1c55b529a0 Refactor payments 2020-08-25 23:18:17 +10:00
David Bomba 979916adb5 Refactor payments 2020-08-25 23:06:38 +10:00
Benjamin Beganović 5a03d81112 Fix blank page when downloading invoices 2020-08-25 08:55:55 +02:00
Benjamin Beganović 0530204b08 Update copyright 2020-08-20 03:17:29 +02:00
Benjamin Beganović f4698c0108 Support multiple downloads 2020-08-20 03:10:04 +02:00
Benjamin Beganović 9b524f22e6 Download files with original name 2020-08-19 18:06:26 +02:00
David Bomba ba3f3e6989
Merge branch 'v2' into v2 2020-08-19 07:59:19 +10:00
Benjamin Beganović 0a493c275e Enable is_public for document uploads 2020-08-18 16:12:46 +02:00
Benjamin Beganović 4eb376e830 Enabe client uploads 2020-08-18 16:01:25 +02:00
Benjamin Beganović acdd9c936c Fix route model binding 2020-08-18 14:38:46 +02:00
Benjamin Beganović d55cfc42cf Separate page for download 2020-08-17 16:18:49 +02:00
David Bomba d6e169a891 Working on tests for fees and limits 2020-08-17 13:03:21 +10:00
Benjamin Beganović 4eb5490984 Enable downloads for the client 2020-08-14 17:29:26 +02:00
David Bomba e347c5ad51 Document permissions 2020-08-12 13:13:39 +10:00
David Bomba 941e790a95 More activities 2020-08-12 12:02:21 +10:00
David Bomba f28a604d84 Fixes for invoicewasviewed 2020-07-28 19:49:09 +10:00
David Bomba 62f084b2aa Events 2020-07-22 17:53:14 +10:00
David Bomba da88319418 Event listener for invoice viewed 2020-07-17 11:18:40 +10:00
David Bomba 0ff8b68fbe
Merge pull request #3906 from turbo124/v2
Stripe - Autobilling
2020-07-15 15:05:42 +10:00
Benjamin Beganović 556e1280d0 Fixes for quote page 2020-07-14 13:00:28 +02:00
David Bomba 00a3d36fcd Bug with viewed_date populating erroneously 2020-07-14 15:37:49 +10:00
David Bomba 1d7ba6d1e6 Fixes for event parameters 2020-07-14 08:06:28 +10:00