Commit Graph

404 Commits

Author SHA1 Message Date
David Bomba 996355a738 Add system_logs to company gateway transformer 2021-01-07 08:27:59 +11:00
David Bomba c132e9ace8 Fixes for tasks, and migrations 2021-01-06 10:36:20 +11:00
David Bomba f267408029
Merge pull request #4629 from turbo124/v5-develop
update decimal precision
2021-01-05 17:19:41 +11:00
David Bomba 13e9197ae5 Tests for task sorting 2021-01-05 15:41:43 +11:00
David Bomba 0c74a4601f Change decimal resolution 2021-01-05 13:24:32 +11:00
Benjamin Beganović 603f7baa58 apply php-cs-fixeR 2021-01-04 13:38:00 +01:00
David Bomba 934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
= 4129dba08b Test for HTML output for preview controller 2020-12-26 20:26:19 +11:00
= 53ff009d74 fix for company.users.company_user 2020-12-26 19:03:24 +11:00
David Bomba adab53ed97 Handle restoring a deleted invoice 2020-12-18 07:11:31 +11:00
David Bomba feb78a63f2 Add service worker back in 2020-12-17 21:53:20 +11:00
David Bomba 864892a7d2 Migrate white label license 2020-12-15 08:52:14 +11:00
David Bomba 8b808c97fa Fixes for expense currency not setting default 2020-12-14 07:58:18 +11:00
David Bomba c5a4b1fcfd Fixes for version check + schema fixes 2020-12-10 21:48:16 +11:00
David Bomba 7075ec5096 Reorder default includes 2020-12-09 07:12:10 +11:00
David Bomba a8958f4b09 Minor fixes for batch migrations 2020-11-30 18:43:33 +11:00
Benjamin Beganović ae88d5e08e php-cs-fixer format 2020-11-25 15:19:52 +01:00
David Bomba 4b240b05ca Add deleted_at column to paymentables 2020-11-16 08:23:20 +11:00
David Bomba fe5218fd2c Fixes for resolving company_user from user object 2020-11-13 21:42:06 +11:00
David Bomba 3bec5a4044 Refactor login routes 2020-11-13 20:09:20 +11:00
David Bomba d8bb01430f Fixes for renaming company gateway columns 2020-11-12 22:09:31 +11:00
David Bomba 28cbd75fcb Fixes for credit PDF 2020-11-11 11:13:39 +11:00
David Bomba 64b703513d Refactor company gateway schema for required fields 2020-11-04 08:26:28 +11:00
David Bomba bbf240be2d New fields for company gateway 2020-11-04 07:19:59 +11:00
David Bomba aa0b9ed976 Deprecate invoice fields 2020-11-02 21:12:58 +11:00
David Bomba 685b7e25c2 Fixes for queries 2020-11-01 16:18:40 +11:00
= 6479b2fd3e Fix for laravel 8 route file regression + psalm cleanup 2020-11-01 16:09:09 +11:00
David Bomba a283f1dcf7 Working on migration for expenses and tasks 2020-10-30 20:17:29 +11:00
David Bomba dbcfce8bb9 Fixes for missing fields in transformers / fillable for vendors and expenses 2020-10-29 11:17:10 +11:00
David Bomba 1bda0190bb fixes for company transformer 2020-10-29 10:14:09 +11:00
David Bomba 9aeb2d7a5b Psalm cleanup 2020-10-28 21:10:49 +11:00
David Bomba a07f04e1df Refactor Template Engine 2020-10-28 16:50:06 +11:00
David Bomba 0b16b2ac9c Fixes for tests 2020-10-28 10:34:09 +11:00
David Bomba 4561ed41f2 Minor fixes for email template 2020-10-27 08:54:59 +11:00
David Bomba 8f53424017 Fixes 2020-10-27 06:10:04 +11:00
David Bomba 5ffd2b4678 Add sort order to task status 2020-10-26 08:05:33 +11:00
David Bomba b00e0b5a04 Fixes for first_load includes 2020-10-26 07:56:02 +11:00
David Bomba 73b3c11d80 Fixes for update expenses 2020-10-23 08:00:49 +11:00
David Bomba 6c1b952111
Refactor requests to use generics (#41)
* Validation rules for expenses

* Tests

* Tests
2020-10-22 17:46:02 +11:00
David Bomba 3d59717776 Fixes for credit payments 2020-10-21 15:03:22 +11:00
David Bomba 686f12261d Project number 2020-10-20 10:55:14 +11:00
David Bomba f0e4a94bee Task Statuses 2020-10-20 10:01:59 +11:00
David Bomba a3afa8ede9 Remove project name unique constraint 2020-10-19 21:59:58 +11:00
David Bomba 3d40df6264 Fixes for ledger id in transformer 2020-10-16 08:55:24 +11:00
David Bomba 460545882c Additional fields for company model 2020-10-15 08:25:40 +11:00
David Bomba 3dca6ff171 Add projects to all entities - fixes for gateway casts 2020-10-15 07:58:20 +11:00
David Bomba 96750d5fdb Refactor for payments via client portal 2020-10-13 21:32:15 +11:00
David Bomba 5b2a43bd9a Fixes for expense categories 2020-10-13 16:02:12 +11:00
David Bomba 28f140ee37 Expense categories 2020-10-13 15:14:13 +11:00
David Bomba 05caec8aef expense categories 2020-10-13 15:08:56 +11:00
David Bomba 71535c0e41 Add tasks to API 2020-10-13 07:42:02 +11:00
David Bomba 65a1f150d5 Fixes for tests 2020-10-12 20:38:55 +11:00
David Bomba c8a9997a98 fix return type in AddGatewayFee 2020-10-12 10:27:38 +11:00
David Bomba f1c5f37189 Documents for tasks 2020-10-12 08:36:59 +11:00
David Bomba 4c08187bf1 tests for documents 2020-10-12 08:34:02 +11:00
David Bomba 1042bbec7b Update vendor contact schema to match client contact schema 2020-10-12 08:16:39 +11:00
David Bomba 44d31ce326 Move cache clearance to base controller 2020-10-09 17:55:03 +11:00
David Bomba dd4d14d128 Implement Projects API 2020-10-08 09:25:39 +11:00
David Bomba 1264486bb9 Working on recurring migration 2020-10-06 08:46:47 +11:00
David Bomba 8756a89885 Allow login using contact_key or client_hash 2020-09-30 08:42:55 +10:00
David Bomba ab0ec5e2cb Vendor API endpoints 2020-09-23 10:16:19 +10:00
David Bomba 67492c3384 Recurring Invoice Invitations 2020-09-18 07:49:22 +10:00
David Bomba 03e9bf0bc7 Fixes for recurring 2020-09-16 20:08:51 +10:00
David Bomba 69de2fc740 fixes for transformeR 2020-09-15 16:44:58 +10:00
David Bomba bae82b56c1 Add license 2020-09-14 21:11:46 +10:00
David Bomba 14528280d8 Fixes for recurring transformer 2020-09-14 08:21:59 +10:00
David Bomba 5f896de3bd Add auto_bill to recurring invoice transformer 2020-09-13 21:55:06 +10:00
David Bomba 9c7dc24bd2 Recurring Dates 2020-09-13 20:20:11 +10:00
David Bomba 0c015cb4bc Fixes for recurring invoices 2020-09-10 11:05:42 +10:00
David Bomba 605f4d0b0c Fixes for migrations 2020-09-09 07:37:07 +10:00
David Bomba b9c868d3ff Sort recurring / invoices transformers for comparison 2020-09-09 07:33:21 +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 a5248f7a93 Test mode for company gateway 2020-08-28 07:34:15 +10:00
David Bomba 136998d020 Fixes for system logs 2020-08-25 21:40:34 +10:00
David Bomba 4a704651c7 Fixes for types 2020-08-25 21:23:49 +10:00
David Bomba eef91513d0 fix for regression 2020-08-24 15:19:58 +10:00
David Bomba ffdfaefd80 Working on system logs 2020-08-24 12:45:53 +10:00
David Bomba 0d9df1f290 Fixes for incorrect name spacing of validation rules 2020-08-24 08:20:57 +10:00
David Bomba 9215f895c2 Fixes for exchange rate 2020-08-19 13:19:55 +10:00
David Bomba b2d5a8b070 Fixes for bulk emailing quotes 2020-08-19 12:55:58 +10:00
David Bomba 7b2e60a0d5 Add amount column to history table 2020-08-19 12:44:25 +10:00
= 2faff4eb05 Add default includes to transformers 2020-08-15 10:51:26 +10:00
David Bomba 69264b34f3 Fixes for tests 2020-08-14 10:27:48 +10:00
David Bomba 68b1a3634f Add reminders to transformers 2020-08-14 08:10:31 +10:00
David Bomba 3ac9cc5158 Add reminder fields to entities 2020-08-14 08:08:10 +10:00
David Bomba 7bde9d6967 Fixes for tests 2020-08-13 19:59:29 +10:00
David Bomba 7feae1fd45 Add is_deleted to client_gateway_tokens table 2020-08-12 08:17:32 +10:00
David Bomba 1d9c19d218 is deleted on documents 2020-08-06 20:18:26 +10:00
David Bomba c220108168 Add documents as default includes 2020-08-06 13:04:09 +10:00
David Bomba 715fdf5e2d Transformer improvements 2020-08-05 12:27:47 +10:00
David Bomba 13cf06b0cd Test for new shop routes" 2020-08-05 12:21:26 +10:00
David Bomba e183238b8e Add Shop Profile Route 2020-08-05 12:12:38 +10:00
David Bomba 411b4b1582 add enable_shop_api field to company table 2020-07-29 19:25:59 +10:00
David Bomba 8420a4bac1 Remove redundant properties from account table and transformer 2020-07-21 09:00:59 +10:00
David Bomba 3aca9e701b Adjustments for account transformer 2020-07-21 07:51:09 +10:00
David Bomba 708422dd9b Add hashed transformer for company tokens 2020-07-13 12:54:56 +10:00
David Bomba b96e2aa78b Bulk actions for tax rates 2020-07-13 09:29:44 +10:00
David Bomba a476034bd0 Add token_id to activity table 2020-07-08 16:54:16 +10:00
David Bomba 256deea92a Update index file for flutter 2020-07-07 08:35:28 +10:00
David Bomba ec989582ce Add is_large to company transformer 2020-07-07 07:58:26 +10:00
David Bomba 4c321d41c3 Change subscriptions to webhooks 2020-07-06 21:22:36 +10:00
David Bomba 09e1043c13 expose user_id on company token transformer: 2020-07-06 08:21:39 +10:00
David Bomba e4dcb3ef6f Company TOKEN ID 2020-07-05 22:08:28 +10:00
David Bomba d3775fd059 Change PING route response 2020-07-02 20:14:19 +10:00
= e3b8651211 RecurringService 2020-07-01 11:06:40 +10:00
David Bomba 6bf5621cde Client can register 2020-06-28 20:28:35 +10:00
David Bomba 049e9032cb Documents 2020-06-24 20:17:42 +10:00
David Bomba 8ed382a0b7 Change to streaming downloads 2020-06-24 18:59:56 +10:00
David Bomba 889ac65f26 Bulk actions on groups 2020-06-24 09:39:49 +10:00
David Bomba b331ad7ab4 fixes for testS 2020-06-23 08:47:42 +10:00
David Bomba 66fe5aa4ee Add documents to transformers 2020-06-23 07:56:32 +10:00
David Bomba 7af826fa7f Minor fixes for documents 2020-06-22 21:32:10 +10:00
David Bomba 5bd17ba6d1 Fixes for tests 2020-06-22 20:56:31 +10:00
David Bomba 2fadadf5d4 Change document->path to ->url 2020-06-22 15:52:20 +10:00
David Bomba c2211bf2f0 FIxes for tests 2020-06-22 13:07:58 +10:00
David Bomba 2f1ec8a235 Fixes for payment type_id not sticking 2020-06-18 08:55:35 +10:00
David Bomba fc40159d36 Fixes for currency precision 2020-06-15 21:42:46 +10:00
David Bomba d3666b41f5 Add invoice history as an optional include 2020-06-01 21:49:11 +10:00
David Bomba c72d38ca4f
Allow conversion of quotes to invoices (#3760) 2020-05-27 14:46:19 +10:00
David Bomba c339c25d9c
Bulk actions for Payment Terms (#3752)
* Fixes for tests

* payment terms policies and repo

* Bulk actions for payment terms

* Fixes for documentation

* working on payment failure mailer
2020-05-26 18:20:50 +10:00
David Bomba 8129a5b49d
Add payment terms to transformers (#3738) 2020-05-23 13:33:44 +10:00
David Bomba 970c9bb87d
Payment Terms (#3737)
* Fixes for converting a quote to invoice

* Fixes for deleting an invoice

* Payment Terms CRUD

* Payment Terms

* Push PaymentTerms back into the DB

* Payment Terms

* Payment Terms

* Create api docs for payment terms
2020-05-23 13:28:24 +10:00
David Bomba ac0d63b0b2
Fixes for Readme (#3721)
* Skip preview tests

* Fixes for product test

* Fixes for tests

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Fixes for incorrect payment types

* Refactor class nameS

* Entity Notification refactor

* Entity Notifications

* Add oauth_provider to User transformer

* Invoices can only be deleted in the balance in zero
2020-05-19 22:54:22 +10:00
David Bomba a0eecdd755
Fixes for tests (#3701)
* Update Exchange rate Data once a day

* Tests for currency conversions

* Fixes for tests

* Fix for adding blank product keys

* Class for logging emails sent

* Fixes for tests

* Fixes for testS

* Include credits in first_load=true

* Fixes for tests

* fixes for tests

* Fixes for tests:

* Fixes for tests

* Fixes for tests
2020-05-14 19:08:49 +10:00
David Bomba b3eb2ae3b4
Fix companygatewaytransformer (#3677)
* Working on subscriptions

* Implement return type in models

* Subscription implementation

* Improvements to handling importation of large accountS

* Loggin imports

* Activate collector

* Improve memory usage of import script

* Appen Tags into emails - fix companygatewaytransformer
2020-05-06 21:49:42 +10:00
David Bomba aa690578e3
Implement Currency Conversion library. (#3643)
* Fixes for testS

* Fixes for migration

* Fixes for migratin

* Query performance improvements

* Check Data Script

* Currency Conversion API

* Implement currency conversion

* Currency Conversions
2020-04-19 20:29:58 +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
David Bomba ba55cc32e1
v5.0.4 (#3620)
* Version bump

* Refactors for refunds / credits

* Working on Company Ledger

* Company Ledger OpenAPI Documentation

* Version Bump

* Fixes for internal composer update
2020-04-11 21:19:05 +10:00
David Bomba 4c0bba7814
Implement Custom Values (#3619)
* Add report errors to account transformer

* Implement resolving custom values
2020-04-11 11:41:43 +10:00
David Bomba a4c190a920
google analytics key (#3617) 2020-04-10 21:56:02 +10:00
David Bomba 563d41c83a
Email Settings (#3615)
* Working on advanced email settings

* working on document storage

* Email Documents if they exist

* UBL invoices

* UBL Invoices

* Fixes for tests
2020-04-10 15:07:36 +10:00
David Bomba 8154796193
Minor patch until client is fixed (#3613) 2020-04-09 22:39:17 +10:00
David Bomba afee58f746
Google Analytics (#3610)
* Working on google analytics

* google analytics implementation
2020-04-09 22:04:26 +10:00
David Bomba 05443d69ec
Implement CompanyToken and Subscriptions CRUD (#3609)
* Working on Tokens CRUD

* Fixes for company filters

* Working on Token CRUD

* Tests for tokens

* Fixes for OPENApi

* Subscriptions

* Subscriptions
2020-04-09 20:48:04 +10:00
David Bomba 2ed7c557b0
Fixes (#3549)
* Fixes for designs

* minor fixes
2020-03-26 19:25:44 +11:00
David Bomba 24c9121b1b
Template Previews (#3527)
* Fixes for add / archiving / deleting users

* Working on templates

* Fixes for templating

* Fixes for templating

* Add referral code to account creation

* Fixes for development environment
2020-03-25 13:50:08 +11: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
David Bomba 0e12b63c95
Design Changes (#3504)
* Fixes for tests

* Working on PDF tables

* Fixes for null values in designs

* Refactoring entity variables for PDF

* Fixes for pdf variables

* Minor fixes for designs

* Working on variable replacement for tables

* Refactoring designs

* Refactoring designs

* Refactoring design implementation

* Working on refactoring designs

* Serve tailwind locally

* Design changes
2020-03-16 21:12:10 +11:00
David Bomba dc8ecbeeed
Fixes for company_user (#3477)
* Minor fixes for user delete

* Working on notifications

* Refactor for notifications

* Fix for checking settings withe negative integers

* Set payment id to 0

* Move pdf download to client side routes

* fixes for company_user

* Fixes for company_user
2020-03-11 22:05:05 +11:00
Benjamin Beganović 35b2e9b5e1
Remove duplicate 'type_id' from PaymentTransformer.php (#3466) 2020-03-10 22:50:06 +11:00
David Bomba 2501aa3478
V2 (#3459)
* fixes for json

* Fixes for permissions
2020-03-09 21:04:47 +11:00
David Bomba 7d39969a3b
Preview Route (#3456)
* Remove backup column from schema

* Add slack webhooks to company user table

* Preview route

* remove json column from company gateway

* fixes for testS

* Fixes for typos
2020-03-09 20:38:15 +11:00
David Bomba d60c179da7
Fixes for deleting a company. (#3454)
* Fix for typo

* wind back self updater repo

* fixes for client settings

* Add current version to the account transformer

* fixes for deleting a company
2020-03-08 20:06:21 +11:00
David Bomba 37f295d49e
Improve notification performance (#3452)
* Improve notification performance

* Cascade deletes

* Fixes for company deletes

* Fixes for formatting

* todos for company

* Set currency id on payment

* Minor fixes for payment controller
2020-03-08 16:59:06 +11:00
David Bomba a8c15ef1c9
Version checking (#3451)
* Ensure NINJA_ENVIRONMENT variable is present  in .env file

* Implement version checking in app

* Remove password protection from check version route
2020-03-08 09:15:11 +11:00
David Bomba 000ae58fc6
Fixes for payment transformerS (#3437) 2020-03-06 22:21:17 +11:00
David Bomba f0176b6e37
Fixes for quote transformer (#3434)
* remove jobs table

* Working on notifications

* Working on notifications

* Fix for pdf_variables

* Fixes for notification

* Fixes for viewing invoice with NO company custom_fields

* Fixes for company settings object creation

* Working on group settings

* Fixes for storing the correct currency_id on client creation

* Fix for invoicetransformer

* fix for store client

* Update PaymentAppliedValidAmount.php (#38)

* update company schema descriptions

* Update PaymentAppliedValidAmount.php

Co-authored-by: David Bomba <turbo124@gmail.com>

* Cast invoice designs to the Hashes

* Fixes for setting invoice/credit/design_ids to hashed

* Fixes for quote transformer

Co-authored-by: michael-hampton <michaelhamptondesign@yahoo.com>
2020-03-06 22:10:59 +11:00
David Bomba 6d33a1a4c8
broad level fixes for settings / transformers (#3432)
* Fixes for company settings object creation

* Working on group settings

* Fixes for storing the correct currency_id on client creation

* Fix for invoicetransformer
2020-03-06 16:08:44 +11:00
David Bomba ff5a850e8d
Fixes for notifications (#3427)
* Fix for pdf_variables

* Fixes for notification
2020-03-05 19:36:52 +11:00
David Bomba 7acc6ee300
Repeating header and footers on Invoice PDFs (#3424)
* remove jobs table

* Working on notifications

* Working on notifications

* Fixes for setting group level currency id on new client

* Working on repeating headers

* Use CSS to force headers and footers

* recurring headers and footers

* Preview PDF

* Working on PDF Preview
2020-03-05 18:14:57 +11:00