1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 05:32:39 +01:00
Commit Graph

206 Commits

Author SHA1 Message Date
David Bomba
6225db9bd9 Static analysis cleanup 2023-04-26 17:41:30 +10:00
David Bomba
f356ddd845 Refactor for taxes 2023-04-24 11:47:48 +10:00
David Bomba
9ea94b285b Refactor for taxes 2023-04-22 17:07:22 +10:00
David Bomba
78e429d559 Fixes for taxes 2023-04-19 16:51:01 +10:00
David Bomba
99364fab55 Minor fixes for calculate taxes in preview 2023-04-17 20:20:01 +10:00
David Bomba
d742e7b42f
Merge pull request #8368 from LarsK1/v5-develop
Support for XRechnung / ZUGFeRD / e-Factur
2023-04-17 17:50:31 +10:00
David Bomba
47e35fe4d1 Doc blocks for Rules 2023-04-12 14:08:56 +10:00
David Bomba
05b55ca724 Fixes for EU Taxes 2023-04-10 17:33:24 +10:00
David Bomba
1a6d4a611f v5.5.103 2023-04-08 08:32:38 +10:00
Lars Kusch
9b7845d4b5
Merge branch 'v5-develop' into v5-develop 2023-04-05 17:32:43 +02:00
Lars Kusch
d079a02bff Refactoring to use the $invoice->calc() method 2023-04-05 11:22:41 +02:00
David Bomba
6f579ba321 Remove redundant trait 2023-04-05 10:51:14 +10:00
David Bomba
7d34828c08 Remove redundant trait 2023-04-05 08:32:46 +10:00
David Bomba
bd7722f6f0 Refactor for taxes 2023-04-03 07:48:59 +10:00
David Bomba
00c7fd7d37 Tests for calculating invoice taxes 2023-03-29 20:49:40 +11:00
David Bomba
45632721a2 Refactor for tax structure 2023-03-29 14:30:16 +11:00
David Bomba
d471604862 Refactor for tax structure 2023-03-29 14:23:06 +11:00
David Bomba
160ca1c9ad Refactor for taxes 2023-03-27 14:47:01 +11:00
David Bomba
b94743f42d Refactor for taxes 2023-03-27 07:57:29 +11:00
David Bomba
d52d2f1f37 Refactor for taxes 2023-03-27 07:46:26 +11:00
David Bomba
3ed45ad27f Refactor for taxes 2023-03-25 11:02:43 +11:00
David Bomba
680277f062 Fixes for auto calculating taxes 2023-03-24 18:58:59 +11:00
David Bomba
aa51299a10 Working on auto tax calculations 2023-03-24 18:02:34 +11:00
David Bomba
b5a4fc9865 Working on taxes 2023-03-24 13:56:26 +11:00
David Bomba
66772e3897 calculate taxes 2023-03-24 07:40:44 +11:00
David Bomba
c9b9b8326d Create data mapper classes for tax data 2023-03-21 18:14:25 +11:00
David Bomba
4babfbb651 php-cs-fixer 2023-02-16 12:36:09 +11:00
David Bomba
6c86d7151a Update copyright year 2023-01-29 09:21:40 +11:00
David Bomba
62950e7549 Fixes for type hints 2022-12-09 08:36:06 +11:00
David Bomba
b3d53a7cd8 Line item tax amounts 2022-11-10 21:57:55 +11:00
David Bomba
d0178d22ae item tax amounts 2022-11-10 19:16:22 +11:00
David Bomba
071f2ee102 Post Merge v5-develop 2022-07-15 17:41:30 +10:00
David Bomba
44ec3fdd50 Fixes for purchase order to expense 2022-07-07 22:09:39 +10:00
David Bomba
2e37d793ac working on 8.1 support 2022-07-05 16:15:46 +10: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
25b48994d6 Fixes for invoice sum calculations 2022-06-07 21:07:14 +10:00
David Bomba
c0ba8aa822 TDD for purchase order PDFs 2022-06-06 22:27:17 +10:00
David Bomba
720e42e35e Purchase order scaffold 2022-05-31 08:28:32 +10:00
David Bomba
6f491dfb92 Update Copyright text 2022-04-27 13:20:41 +10:00
David Bomba
e4fc7fa55a Fixes for tests 2022-03-29 20:06:35 +11:00
David Bomba
a8a33e9fed Add gross line total to inclusive item sum calcs 2022-03-12 07:52:51 +11:00
David Bomba
9cb26120ec Disable autocomplete on expiry date of wepay credit cards 2022-02-12 07:35:08 +11:00
David Bomba
77034b6083 Fixes for zero percent line item taxes 2022-02-04 12:44:39 +11:00
David Bomba
f6f9bccdb4 Increased precision for unit cost 2022-01-08 20:16:21 +11:00
David Bomba
9f79b4b519 Working on tests for subscriptions 2021-10-21 15:51:36 +11:00
David Bomba
3de5665d94 Subscription calculations test' 2021-10-21 15:08:46 +11:00
David Bomba
dfa773d6b9 ProRata Refunds 2021-10-21 13:03:41 +11:00
David Bomba
bcf34a6e62 Refactor Refunds 2021-10-21 12:40:59 +11:00
David Bomba
dc116013d9 Fixes for observers 2021-10-14 17:54:38 +11:00
David Bomba
fb7f44615d Minor fixes 2021-10-13 15:47:56 +11:00
David Bomba
fe1cf514d6 Fixes for tests 2021-09-15 11:12:36 +10:00
David Bomba
618027dcd8 Add gross line and subtotals 2021-09-15 10:00:29 +10:00
David Bomba
33c05b1ad0 Add exclusive taxes to line items 2021-09-15 09:02:25 +10:00
David Bomba
de32d57b5b Working on testing scenarios 2021-09-06 09:37:35 +10:00
David Bomba
586d86c6bf Removing logging 2021-08-17 20:19:30 +10:00
=
2ab2eef293 Fixes for rounding when applying line item discounts 2021-08-16 22:06:06 +10:00
David Bomba
950e0eca20 SEPA 2021-08-16 15:27:01 +10:00
David Bomba
36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +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
5279888d6d Clean logging out 2021-04-10 10:27:04 +10:00
David Bomba
48f610d43f Fixes for surcharge tax totals 2021-04-10 09:59:19 +10:00
David Bomba
ff2f43d8fc Do no add value from custom_value to invoice total 2021-03-12 07:24:09 +11:00
David Bomba
9a46a886a1 fixes for surcharge tax calculations and also implemented Zero % tax rates 2021-02-21 20:36:34 +11:00
David Bomba
6681b4fbfe Fixes for import / migrartions 2021-02-07 23:35:16 +11:00
=
7c3a6766c0 FIxes for Zero taxes 2021-02-06 11:18:42 +11:00
David Bomba
773e131afc Fixes for negative taxes 2021-02-06 10:39:40 +11:00
David Bomba
59ae0d3219 Fixes for migrations - do not applied cancelled payments to invoices 2021-02-06 09:31:26 +11:00
David Bomba
249c0e8b2b fix for presenting company logo in portal 2021-01-13 12:15:04 +11:00
David Bomba
e42cb6f4d3 display tax rates with no trailing precision 2021-01-07 09:43:08 +11:00
David Bomba
934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
Benjamin Beganović
5a8dfd85eb Apply php-cs-fixer 2020-12-21 11:46:46 +01:00
David Bomba
d8fab379ac Fixes for release 2020-12-20 08:00:02 +11:00
David Bomba
6b02d51080 Invoice Import 2020-12-19 18:28:58 +11:00
David Bomba
76fb186f02 Fix for calculating balance with inclusive taxes 2020-12-04 07:40:00 +11:00
David Bomba
1181f9de62
Merge branch 'v5-develop' into authorize_refactor 2020-11-26 22:43:25 +11:00
David Bomba
5e0bcfbc88 working on authorize 2020-11-26 20:39:35 +11:00
Benjamin Beganović
ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
David Bomba
137231c95e cs-fixer 2020-11-25 21:30:00 +11:00
David Bomba
79e8f096fe Fix for custom_values breaking invoicesum 2020-11-25 20:53:50 +11:00
David Bomba
2f4b46e435 Refactor webhook handler 2020-11-25 11:23:39 +11:00
David Bomba
a1119f9bbe Fix edge cases with cloning invoice 2020-11-15 19:24:57 +11:00
David Bomba
9aeb2d7a5b Psalm cleanup 2020-10-28 21:10:49 +11:00
David Bomba
c1e080acd5 Recurring invoice balance fix 2020-10-20 12:30:55 +11:00
David Bomba
2f948b603b Using Credits for payment 2020-10-15 20:41:59 +11:00
David Bomba
b6bea31646 Working on gateway fee slippage 2020-10-10 21:57:28 +11:00
David Bomba
70a575386c Fixes for designs in migration: 2020-10-07 10:16:57 +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
fc40159d36 Fixes for currency precision 2020-06-15 21:42:46 +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
michael-hampton
01e0c4eb46
Update InvoiceSumInclusive.php (#3368) 2020-02-25 08:12:55 +11:00
David Bomba
9e9cd37b87
Modifications to Designs (#3353)
* Working on Quotes

* Naming refactor for Quotes

* Quote Actions

* Quote Pdfs

* Quote PDFs

* Refunds in Stripe

* Fixes tests

* Company Ledger work
2020-02-20 07:44:12 +11:00
David Bomba
770f0763f4
OpenAPI documentation for Payments. (#3223)
* Working on API docs for payments

* Fixes for OpenAPI documentation

* Fix for conditionals in invoice calculator
2020-01-19 11:19:10 +10: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
75df82a71c
Fixes (#3116)
* Fixes for OpenAPI Documentation + fix support for docs for PHP 7.4

* User update tests

* Add total_taxes to invoice table, implement addition create-test-data fields for item and invoice level taxes
2019-12-04 12:06:14 +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
a78b6aaacd
Set casts on Invoice Line Items (#3049)
* 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
2019-11-08 11:38:22 +11:00
David Bomba
e7a6a8c403
Set defaults and cast invoice items if they are blank (#3030) 2019-10-30 08:42:42 +11:00
David Bomba
aad22f607e
set defaults for line items (#3029) 2019-10-29 22:44:54 +11:00
David Bomba
13e104c1d9
Fixes for line items (#3028) 2019-10-29 22:12:59 +11:00