1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-16 16:13:20 +01:00
Commit Graph

56 Commits

Author SHA1 Message Date
David Bomba
1033d78a24 Static analysis cleanup 2023-06-17 15:14:51 +10:00
David Bomba
df49ab9aec Fixes for static analysis 2023-04-26 19:25:33 +10:00
David Bomba
20dcfffb34 Override precisiong for jpy currency 2023-04-04 21:15:02 +10:00
David Bomba
5a42b89d55 cs fixer 2023-03-18 18:24:56 +11:00
David Bomba
7d871edd4e Updates for number rounding with negative numbers 2023-03-06 11:37:53 +11:00
David Bomba
63bf30252d Minor fixes for displaying negative numbers 2023-03-06 11:03:19 +11:00
David Bomba
be88aa356a Fixes for displaying negative numbers 2023-03-01 16:32:47 +11:00
David Bomba
e28b75e83f phpcs 2023-02-18 08:36:51 +11:00
David Bomba
681fc47a68 Fixes for displaying negative currencies 2023-02-17 17:19:33 +11:00
David Bomba
4babfbb651 php-cs-fixer 2023-02-16 12:36:09 +11:00
David Bomba
16b1ec6286 Improve resolution of decimals 2023-02-08 11:27:38 +11:00
David Bomba
6c86d7151a Update copyright year 2023-01-29 09:21:40 +11:00
David Bomba
dddfd32757 Improve memory handling 2022-11-01 21:20:28 +11:00
David Bomba
b72222c3c7 Fixes for formatting of quantity column 2022-10-19 09:17:32 +11:00
=
77d489211e Fixes for task requests 2022-08-22 07:53:15 +10:00
David Bomba
93c782fcc5 Merge branch 'v5-develop' into l9 2022-07-21 14:22:45 +10:00
David Bomba
cd86b690cd Fixes for custom surcharges on invoice and purchase order tax currency 2022-07-21 09:05:08 +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
6f491dfb92 Update Copyright text 2022-04-27 13:20:41 +10:00
David Bomba
980fcb789f Improve quantity resolution 2022-02-26 14:04:05 +11:00
David Bomba
e558edb795 Reversion for unit cost precision 2022-02-20 18:07:05 +11:00
David Bomba
1b2a5fa09a Fixes for payment methods 2022-02-20 15:49:31 +11:00
David Bomba
68f735d43b Fixes for trailing zeros in quantity column 2022-02-13 18:54:33 +11:00
David Bomba
4769204a3f Fixes for rounding display on line items 2022-01-30 13:51:30 +11:00
David Bomba
f6f9bccdb4 Increased precision for unit cost 2022-01-08 20:16:21 +11:00
David Bomba
7bc23e68b1 FIxes for parsing string floats 2021-09-24 20:55:21 +10:00
David Bomba
93e3a34181 Fixes for float parsing when the number is less than 1 2021-09-23 21:13:10 +10:00
David Bomba
36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
Benjamin Beganović
127c6cb3cd wip 2021-03-17 16:12:25 +01:00
David Bomba
934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
Benjamin Beganović
75902c6d3f Fixes for client number formatting 2020-12-21 09:08:12 +01:00
David Bomba
c1edc905db Importing invoices 2020-12-20 20:02:10 +11:00
Benjamin Beganović
23a64562c9 fix issue with setup & apply php-cs-fixer 2020-12-09 13:38:22 +01:00
David Bomba
dc2e5706c6 Fixes for how to display CHF currency 2020-12-09 07:35:26 +11:00
Benjamin Beganović
ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
David Bomba
9aeb2d7a5b Psalm cleanup 2020-10-28 21:10:49 +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
79e0fa56e2 Convert currency string to float 2020-08-26 10:47:50 +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
3fe3c04091
Fixes for Number class. (#3020)
* Implement transformer for ClientGatewayTokens

* Add company_gateway_id to client gateway token transformer

* Fixes for client model

* Fixes for Number class
2019-10-25 20:49:38 +11:00
David Bomba
2ddc87ba6e
Fixes for invoice controlleR (#3019) 2019-10-25 13:26:16 +11:00
David Bomba
8e3e5a2cb2
Fixes for saving invoice. (#3015)
* update company settings and OpenAPI definitions

* Fixes for tests

* Add extra variables to company settings

* Track signup platform when new account signup processed

* Fixes for invoice save
2019-10-24 20:23:37 +11:00
David Bomba
a60613aa26
Track signup platform (#3014)
* update company settings and OpenAPI definitions

* Fixes for tests

* Add extra variables to company settings

* Track signup platform when new account signup processed
2019-10-24 15:46:24 +11:00
David Bomba
adfced11d6
Add design_id to invoice and quote table (#3013)
* Add conditional checks in client portal

* Add ability to cancel recurring invoices from client portal

* Fixes for types

* Add fields to invoice and quote table
2019-10-24 07:37:20 +11:00
David Bomba
b6d6d3928b
Eager loading (#2995)
* Fixes for tests

* Eager load payment types
2019-10-16 21:24:33 +11:00
David Bomba
8d14c6b2bd Switch currency_id back to settings object 2019-10-10 21:43:50 +11:00
David Bomba
fda6ec33fd Company Settings OpenAPI 2019-10-07 21:21:02 +11:00
David Bomba
c46ebb2778 Fixes for tets 2019-10-07 20:39:22 +11:00
David Bomba
03d0babd26 Remove show_currency_symbol 2019-10-07 17:37:46 +11:00