David Bomba
8f53424017
Fixes
2020-10-27 06:10:04 +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
Benjamin Beganović
4f26a868a7
Add findOrFail()
2020-10-09 12:44:57 +02:00
Benjamin Beganović
a210790a57
Fix overpayments
2020-09-29 14:16:01 +02:00
Benjamin Beganović
0216286efc
Support for over & under payments
2020-09-24 11:29:47 +02:00
=
88eb05786e
Fixes for updateinvoicepayment
2020-09-19 11:20: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
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
David Bomba
2d2a5c0812
working on authorize.net token payments
2020-06-16 22:41:56 +10:00
David Bomba
7468813cd8
Working on Authorize payment flow
2020-06-16 10:21:40 +10:00
David Bomba
fc40159d36
Fixes for currency precision
2020-06-15 21:42:46 +10:00
Benjamin Beganović
b6ad39b8e2
Stripe: Alipay implementation
2020-06-09 16:56:08 +02:00
Benjamin Beganović
e78ae5d9c4
Stripe: ACH implementation
2020-06-09 14:40:55 +02:00
Benjamin Beganović
1965dbf041
Stripe: SOFORT implementation
2020-06-09 13:17:05 +02:00
Benjamin Beganović
06190362ee
extract purchase response
2020-06-01 16:19:03 +02:00
Benjamin Beganović
b589814d7b
Extract paymentView
2020-06-01 14:29:41 +02:00
Benjamin Beganović
6319c208df
injecting signature and sending it to backend
2020-05-28 15:59:45 +02:00
Benjamin Beganović
ea8a585771
wip
2020-05-18 14:06:13 +02:00
Benjamin Beganović
a613cfed7c
Payment refunds ( #3687 )
...
* Fix whereClientId when starting payment
* Refunding using Paypal
* Refunding engine
* Cleanup and making refund method work
* Remove "refund" method from BasePaymentController
* Add "refund" to PaypalExpressPaymentDriver
* Extract refunding into own classes
* Apply php-cs-fixer to PaypalExpress
* Refunding with stripe
2020-05-14 11:04:23 +10:00
Benjamin Beganović
2704bf2f82
Client portal improvements & bug fixes ( #3678 )
...
* fix turbolink 404
* fix checkbox when adding card using stripe
* Fix hashed_ids problem when using PayPal
* php-cs-fixer
* Bump tailwind & purgecss
* fix auth scope
* scope to auth contact company
2020-05-09 08:20:37 +10:00
Benjamin Beganović
ab8b05dd56
Client portal improvements ( #3652 )
...
* Install livewire/livewire
* Table improvements
- Cleanup of InvoiceController
- Added Livewire package
- New Livewire component (InvoicesTable)
- New WithSorting trait
- Removed rendering invoices from index.blade.php
- Removed Yaryabox/Datatables references in InvoiceController
* Refactor: Recurring invoices
* payments table & sorting improvements
* payment methods table
* quotes table
* credits table
* Add turbolinks
2020-04-23 08:49:23 +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
Benjamin Beganović
8f4fa5e80d
Client portal improvements ( #3607 )
...
* Remove Html\Builder dependency from controllers
* Remove: yajra/laravel-datatables-html
- yajra/laravel-datatables-oracle as main non-dev dependency
* Added sorting to tables
2020-04-09 12:18:07 +10:00
David Bomba
bfc434071f
Fixes for self-installer ( #3604 )
...
* Fixes for self updater
* Fixes for self updater
* Fixes for self updater
* Fixes for self-updater
2020-04-08 22:19:07 +10:00
David Bomba
6a7079b0be
Implement Github actions ( #3547 )
...
* Update phpunit.yml
* Update phpunit.yml
* Update .env.ci
* Update phpunit.yml
* Update .env.ci
* Update phpunit.yml
* Update phpunit.yml
* Update phpunit.yml
* Update phpunit.yml
* Update .env.ci
* Update phpunit.yml
* Update phpunit.yml
* Update phpunit.yml
* Update phpunit.yml
* Force /setup if system requirements are not met
* Update .env.ci
* Update phpunit.yml
* Minor changes for github actions"
* Fixes for github actions
* Fixes for github actions
* Fixes for github actions
* Fixes for github actions
* Fixes for github actions
* Fixes for github actions
* Fixes for github actions
* Fixes for github actions
* cs-fixer
* cs-fixer
* Fixes for github actions
* db ports github actions
* Refactor the template engine
2020-03-26 14:23:57 +11:00
David Bomba
cd36f64423
Fixes for Users ( #3526 )
2020-03-25 10:20:42 +11:00
Benjamin Beganović
2b85feedc0
Fixes for "Pay now" with invoices ( #3523 )
...
* Fixes for invoice payments
- Changed the input from $hashed_ids to invoices[] as an array
- Fixes for payment.js
* Fix redirect back
2020-03-25 09:13:47 +11:00
Benjamin Beganović
ac5525c9ac
[V2] Client portal rework ( #3516 )
...
* Client login, reset and update password page
* Client dashboard, sidebar, PortalComposer.php
* wip
* Personal page & update for details
* Invoices, paying & pagination.blade.php
* Invoices, recurring invoice & buttons
* Payments, link component
* Payment methods
* Breadcrums, clean up & wrap up
* Remove format_date() method to formatDate on object
* Payments
- $this->render is now proxy for render()
- Removed logic from Controller.php to ClientPortal.php
- Added MakesDates to ClientGatewayToken.php
- StripePaymentDriver.php now returns correct views
- Refactor of adding new payment method
- Ignoring all local builds for public/js/clients/*
* Signature, wip
* Fix "Pay now" on single invoice
* Payments:
- Added ProcessInvoicesInBulk request class
- Refactor InvoiceController::bulk()
- Displaying terms & payments
- New signature.blade.php
- Removed comment from webpack.mix.js
* Quotes:
- Refactor ProcessInvoicesInBulk.php to ProcessInvoicesInBulkRequest.php
- Add new 'Quotes' field inside of PortalComposer.php
- Added MakesDates to Quote.php
- Added Quote::badgeForStatus()
- Cleanup payment.blade.php
- Quote showing and approving
- New resource 'quotes' in client.php
- New image for quotes, align-left.svg
* Credits:
- New 'credits' resource in client.php
- Fixes for client.php typo
* Breadcrumbs:
- Quotes
- Credits
* Placeholder for translations.
* Restore whereIn & client scope
Co-authored-by: David Bomba <turbo124@gmail.com>
2020-03-24 04:10:42 +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