54 Commits

Author SHA1 Message Date
David Bomba
7c6e47fbda Fixes for group search 2023-06-03 18:50:53 +10:00
David Bomba
db6349fa15 Add group filter 2023-06-03 09:23:52 +10:00
David Bomba
d884537e20 Fixes for ?with query when using hashed_id 2023-04-27 16:36:58 +10:00
David Bomba
6225db9bd9 Static analysis cleanup 2023-04-26 17:41:30 +10:00
David Bomba
4babfbb651 php-cs-fixer 2023-02-16 12:36:09 +11:00
David Bomba
0995475352 Minor cleanup for filters 2023-01-31 08:24:42 +11:00
paulwer
f380e77f48 fixes 2023-01-30 12:23:37 +01:00
paulwer
64af473b88 fixes 2023-01-30 12:21:17 +01:00
paulwer
f27cca7f09 default value for sort input & fixes for strlen 2023-01-30 12:08:39 +01:00
paulwer
ae5b9c0dd4 code quality + param-name fixes 2023-01-30 11:13:44 +01:00
paulwer
e8d19abf7a sort early returns + type_id/category_id&event_id as strings 2023-01-30 11:04:55 +01:00
paulwer
6e9a420bea unify code + fixes 2023-01-30 10:46:05 +01:00
paulwer
8274aadd05 fixes 2023-01-30 10:36:13 +01:00
paulwer
98d4d62f82 spacing 2023-01-30 07:08:26 +01:00
David Bomba
6c86d7151a Update copyright year 2023-01-29 09:21:40 +11:00
David Bomba
e0170dbecf Show credit payment amounts in the client portal 2023-01-19 14:45:34 +11:00
David Bomba
0c86e828a4 Refactor and code cleanup for filters 2023-01-16 10:05:44 +11:00
David Bomba
afad1245c9 Clean up for Filters 2023-01-12 13:52:06 +11:00
David Bomba
0b5178561b Add finer grained resolution to created_at query 2022-12-21 18:14:22 +11:00
David Bomba
0ce2578b8c Minor fixes for filters 2022-10-14 09:18:28 +11:00
David Bomba
3d0b8c629b Put in checks for client filters 2022-09-22 09:59:40 +10:00
David Bomba
e1edac0da1 Minor fixes for client filter sorted by display name 2022-09-01 08:28:01 +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
171bbd2f95 Minor fixes 2022-04-24 18:51:41 +10:00
David Bomba
7d106f997a Set defaults for client filters' 2022-02-14 08:18:23 +11:00
David Bomba
c60045da58 Fixes for client_id queries on client list 2022-01-21 10:37:39 +11:00
David Bomba
a4aa9bacd4 clean up 2021-09-16 17:40:54 +10:00
David Bomba
c1c8c98fdc Client Filters - number 2021-08-05 16:17:13 +10:00
David Bomba
42de43b574 Fixes for client queries 2021-07-26 20:25:07 +10:00
David Bomba
36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba
934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
David Bomba
300e42278f Client filters by name 2020-12-15 20:44:22 +11:00
David Bomba
6f451b8924 Remove redundant info() Change document download route 2020-12-13 20:46:29 +11: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
1cb7155812 Improve client filters 2020-07-02 21:34:08 +10:00
David Bomba
696699b62c search parameters for clients and invoices 2020-07-02 20:18:52 +10:00
David Bomba
ceb82ad275
Fixes for permissions (#3575) 2020-04-01 23:34:50 +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
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
4bc92a7aa1
Stub GMail Driver (#3099)
* fix for blank client settings

* Force all custom fields to strings

* Fixes for bulk actions

* Fixes for company POST route..

* Change text from Bitcoin to CRYPTO

* Implement default_gateway_type_id in transformer

* use scopes for company filtering

* Implement validation for portal_domain

* Add Google API client

* Add activities to company transformer
2019-11-27 20:47:59 +11:00
David Bomba
9b86780fa3 Update copyright 2019-05-11 13:32:07 +10:00
David Bomba
6c874274b6 doc blocks 2019-03-28 21:20:08 +11:00
David Bomba
d2e5563dbe Filter scope to company 2019-03-28 21:16:41 +11:00
David Bomba
fd8c19d911 implement filterable query models 2019-03-28 21:07:45 +11:00
David Bomba
eddb9adc73
Client Settings (#2668)
* Clean up Client Show

* Working on Show Client menu action

* working on client view permissions

* Finishing up Client Statement View

* Workig on client settings

* add mix manifest

* css for client settings

* Client Settings

* Working on Client Settings

* Implement StartupCheck and static seeders

* Implement cached statics in view composers

* Working on client settings

* Payment Terms

* Working on Payment Terms View Composer

* Payment Terms builder

* Client Settings

* refactor companies table

* Refactor for company settings, move settings to json

* Set object cast on settings column of Company table

* Fixes for refactor of companies and clients table

* Test

* Client Settings Datamapper

* Client Settings

* Default client language

* Client Settings

* Working on client settings options

* Client Settings

* Settings Json serialization/deserialization handling
2019-02-17 21:34:46 +11:00
David Bomba
cf1e65f1c0
ctrans() translator helper (#2621)
* Refactor  pivot table accessors

* Add select2 for client - country selector

* Fixes for client contact update

* implement ctrans() function across application

* Increase custom fields to 4 across the application

* Refactor: remove repos calling other repos, implement 4 custom values across application

* include querying the custom values in the client list

* Fix null custom value labels

* Scaffold for client - show view

* Working on Client Show
2019-01-25 21:47:23 +11:00
David Bomba
0c1fc0d904
List views (#2609)
* Wire up Create Entity Button to create route

* Refactor permissions, we must also ensure the user company id and entity id matches at the Gate::

* Add translations for Status filters

* Bug fix for initial list view not displaying

* Apply actions to menu for list items

* Wire up list view actions, individual

* Place permission filters on datatable lists
2019-01-20 16:00:50 +11:00
David Bomba
cc53d08b4d
Bulk Actions (#2606)
* Wired up Bulk Archive / Delete / Restore button with reactivity on checkbox actions

* Working on POSTing bulk actions

* Working on Filtering by status

* Add Action Entity

* Implement Vuex for state management

* Implement Vuex storage & list view bulk actions

* Clean up console logs

* Configure entity list views server side
2019-01-19 21:35:21 +11:00