1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 23:22:52 +01:00
Commit Graph

524 Commits

Author SHA1 Message Date
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
bfea83c8fd Do not store pending transactions 2023-02-13 08:31:17 +11:00
David Bomba
4a968e739c Fixes for tests 2023-02-01 09:52:12 +11:00
David Bomba
6c86d7151a Update copyright year 2023-01-29 09:21:40 +11:00
David Bomba
a0ac9df5fd Improve rate limiting when using send with gmail 2023-01-25 11:28:23 +11:00
David Bomba
0d767f7d98 update billing_context to use hashed_ids 2023-01-18 16:52:32 +11:00
David Bomba
a746384976 highlight sidebar menu when viewing entity in client portal 2023-01-18 15:13:18 +11:00
David Bomba
396c5ec21b Handle 429s for gmail 2023-01-16 13:31:54 +11:00
David Bomba
f68d9ad37d Remove _ fields if nothing is populates in Swiss QR Codes 2023-01-15 07:58:02 +11:00
Hobby-Student
2a3ef46493
fix SEPA QR Code recurring invoice 2023-01-03 09:41:20 +01:00
David Bomba
62950e7549 Fixes for type hints 2022-12-09 08:36:06 +11:00
David Bomba
dc5d4f0388 Fixes for SEPA EPC QR Codes 2022-11-23 22:21:12 +11:00
David Bomba
896e5f88ac Fixes for blank client address in Swiss QR Codes 2022-11-22 16:23:08 +11:00
David Bomba
64fb9c9a85 Improve account resolution from Yodlee API 2022-11-22 14:27:17 +11:00
David Bomba
cf84f5b24d Set encoding to UTF-8 for EPC QR Codes 2022-11-22 09:13:16 +11:00
David Bomba
79d032fa4b Catch EPC QR failures 2022-11-21 19:12:51 +11:00
David Bomba
aade9c8f0b Try / catch for epc qr codes 2022-11-21 12:14:45 +11:00
David Bomba
319a52cdda
Merge branch 'v5-develop' into #7909-SwissQR-InvoiceNr-ReferenceNr 2022-11-15 13:52:52 +11:00
David Bomba
f1d6283a94 Clean up for logging 2022-11-13 17:28:17 +11:00
David Bomba
bc4bc1a885 Cleanup? 2022-11-13 11:30:43 +11:00
David Bomba
acb6b8e579 SEPA EPC codes 2022-11-13 11:13:27 +11:00
David Bomba
a87b8d1e99 EPC QR Codes WIP 2022-11-11 14:52:50 +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
f7ce4352ba Minor fixes for transactions 2022-11-06 19:03:27 +11:00
David Bomba
fa64337618 Obfuscate account numbers 2022-11-05 09:19:33 +11:00
David Bomba
0fc0ff25bd Minor fixes for Bank Transactions / Integratiosn 2022-11-04 12:55:17 +11:00
David Bomba
f9dd591ecb Improve memory handling 2022-11-01 22:47:41 +11:00
David Bomba
29ceb1f131 Minor fixes for QR Codes 2022-10-31 12:30:17 +11:00
David Bomba
7f056f292f QR Code Fixes 2022-10-31 12:05:16 +11:00
checkitsedo
b2e3ea53d0
Process Invoice Numbers which includes letters
-Using custom Invoice Number Patterns like R-ABC-P224301 breaks the QR Bill Generation
-This solution loops through the Invoice Number and translates letter into ASCII
-Makes sure that the field Additional Information not shows the wrong content
2022-10-30 23:27:16 +01:00
David Bomba
bfcfdf2738 Fixes for Swiss QR 2022-10-29 08:49:46 +11:00
David Bomba
08dbbade14 Pass references instead of full models into auto bill jobs 2022-10-28 12:10:20 +11:00
David Bomba
0a1f41f1f1 Always force a baseType 2022-10-24 19:11:37 +11:00
David Bomba
0a2cb6f88d Merge branch 'v5-develop' into yodlee 2022-10-06 20:55:44 +11:00
Filippo
bd6bf59f83
fix: SwissQr postal code appears twice 2022-10-03 22:55:07 +02:00
David Bomba
6cb3f5c372 Minor fixes for QR Code generation for live previews 2022-09-30 15:34:06 +10:00
David Bomba
8300b01504 Refactor for bank transactions 2022-09-22 15:54:58 +10:00
David Bomba
3865d7193e Refactor for bank transactions 2022-09-21 17:00:49 +10:00
David Bomba
d14df7ef2d Refactor for bank transactions 2022-09-21 15:43:35 +10:00
David Bomba
f4a12660ad Refactor for bank transactions 2022-09-21 15:30:57 +10:00
David Bomba
d93efb434d Expense categories 2022-09-15 16:15:57 +10:00
David Bomba
c57c40aa27 Remove logging 2022-09-14 13:37:39 +10:00
David Bomba
895bb8deef Fixes for QR Ibans with no payment references 2022-09-14 11:33:54 +10:00
David Bomba
9d1df2aa97 Add in a switch for the dev url for fasttrack 2022-09-05 20:14:03 +10:00
David Bomba
45d658cf47 Tests for bank transaction matching 2022-08-18 09:27:28 +10:00
David Bomba
c9f50608f2 Parsing bank transactions 2022-08-17 16:37:05 +10:00
David Bomba
2d6888a6ec Parsing bank transactions 2022-08-17 11:52:16 +10:00
David Bomba
1bfafbe24c refactor test mode 2022-08-16 06:03:12 +10:00
David Bomba
3b1d0e07e2 Automating data pulls 2022-08-12 13:41:55 +10:00
David Bomba
6f9baa1c37 Refresh and remove accounts 2022-08-11 14:19:35 +10:00
David Bomba
f7eb506e0d Refresh accounts 2022-08-11 12:39:43 +10:00
David Bomba
5a2a2cce4a Bank integration 2022-08-11 11:49:39 +10:00
David Bomba
d80ec520f9 Fast link provisioning 2022-08-10 11:56:46 +10:00
David Bomba
357cb17ebf Working on bank integration 2022-08-08 17:56:21 +10:00
David Bomba
38704c6ce5 Transaction transformers 2022-08-08 12:46:41 +10:00
David Bomba
b7fbfe6531 Transform accounts 2022-08-08 09:15:31 +10:00
David Bomba
090f8f5dab Refactor for Yodlee API' 2022-08-08 08:26:27 +10:00
David Bomba
edfbcb9514 Working on Fastlink 2022-08-06 16:58:48 +10:00
David Bomba
1be1a80437 Stubs for bank integration 2022-08-05 14:25:06 +10:00
David Bomba
6dd9f7302d Income / Expense TransformeR 2022-08-05 13:45:53 +10:00
David Bomba
d1530c4477 Merge v5 2022-08-05 13:04:02 +10:00
David Bomba
8810596511 Merge v5 2022-08-05 12:58:45 +10:00
David Bomba
e41503a5f5 Test yodlee endpoints 2022-08-05 11:37:31 +10:00
David Bomba
effd1678a5 Merge branch 'v5-stable' into yodlee 2022-08-05 11:27:52 +10:00
David Bomba
6ca955164e fixes for bccs 2022-08-03 12:35:38 +10:00
David Bomba
48c36d0004 Fixes for mailers 2022-07-31 19:11:32 +10:00
David Bomba
a2b89d1476 Transactions 2022-07-30 12:10:42 +10:00
David Bomba
3e84dbc357 fixes for authorizatoin 2022-07-30 11:43:24 +10:00
David Bomba
15b53ca617 Stubs for yodlee 2022-07-28 17:33:47 +10:00
David Bomba
b44e1a02ca Auth tokens 2022-07-28 16:29:42 +10:00
David Bomba
d98fd30add Auth tokens 2022-07-28 15:07:35 +10:00
David Bomba
f6821e9fcc Yodlee init 2022-07-28 14:09:13 +10:00
David Bomba
071f2ee102 Post Merge v5-develop 2022-07-15 17:41:30 +10:00
David Bomba
deecf38b10 Fixes for sending via graph 2022-07-15 17:03:51 +10:00
David Bomba
164b8c41aa Fixes for sending via graph 2022-07-15 17:03:32 +10:00
David Bomba
a626858752 Implement Microsoft Graph email 2022-07-15 16:55:10 +10:00
David Bomba
68d5ed1d12 Transforming office365 mailer 2022-07-11 21:48:23 +10:00
David Bomba
7c66de28df Remove redundant package 2022-07-11 21:40:54 +10:00
David Bomba
9dd1941bc7 Remove redundant package 2022-07-11 21:40:23 +10:00
David Bomba
05e42a3f99 Working on send with Microsoft 2022-07-11 12:48:59 +10:00
David Bomba
44ec3fdd50 Fixes for purchase order to expense 2022-07-07 22:09:39 +10:00
David Bomba
3f42bf9bff working on mailers 2022-07-06 10:08:09 +10:00
David Bomba
2e37d793ac working on 8.1 support 2022-07-05 16:15:46 +10:00
David Bomba
716561e22b Add filters for swiss QR Codes 2022-06-30 20:12:23 +10:00
David Bomba
f0c7f4588c Swiss QR Codes 2022-06-30 16:09:06 +10:00
David Bomba
da66fa6271 Qr Swiss 2022-06-30 14:37:08 +10:00
David Bomba
94ca620b27 Fixes for gmailer 2022-06-25 07:02:59 +10:00
David Bomba
dee3ff7042 Fixes for gmailer 2022-06-25 00:36:59 +10:00
David Bomba
488b90f0e4 Fixes for mailers 2022-06-25 00:27:29 +10:00
David Bomba
04cabac085 Migration table for failed jobs 2022-06-25 00:11:10 +10:00
David Bomba
b1ff9f0305 Mailers for Laravel 2022-06-24 23:49:22 +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
dac15b02d7 Minor fixes for Office 365 transport 2022-06-17 20:13:16 +10:00
David Bomba
213a51ad62 Update column for refresh tokens 2022-06-17 18:28:31 +10:00
David Bomba
3d7a65fea0 OAuth o365 permissions 2022-06-17 15:42:14 +10: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
ac0efe9ead Improves for interacting with gmail API 2022-01-23 23:18:09 +11:00
David Bomba
f6f9bccdb4 Increased precision for unit cost 2022-01-08 20:16:21 +11:00
theworstcomrade
2532ec7e76 Document - fix stored xss
https://huntr.dev/bounties/99c4ed09-b66f-474a-bd74-eeccf9339fde/
2021-11-19 23:39:35 +01:00
David Bomba
2db0ea41fc Slow down hosted attachments 2021-11-15 08:52:04 +11:00
Benjamin Beganović
74b5afba96 Licence update 2021-11-09 19:59:44 +01:00
Benjamin Beganović
9b383b525b Filter images 2021-11-09 17:30:17 +01:00
David Bomba
e02dace9cc minor cleanup 2021-10-21 18:19:40 +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
123a044e17 minor fixes 2021-08-11 08:06:43 +10:00
David Bomba
6af9f40f9e Pipe hosted logs to gelf instead of text files 2021-08-08 11:14:31 +10:00
David Bomba
dbfb4069f7 Fixes for Gmail BCC 2021-06-23 15:13:33 +10:00
David Bomba
4eea13334e Code cleanup 2021-06-23 13:03:47 +10:00
David Bomba
6af1ac9373 Fixes for Gmail BCC 2021-06-23 08:50:02 +10:00
David Bomba
9efc561fc8 Working on gmail BCC 2021-06-17 23:13:49 +10:00
David Bomba
36f6cbbcc9 Update license in codebase 2021-06-16 16:58:16 +10:00
David Bomba
0fb7f58851 code cleanup 2021-06-13 09:58:23 +10:00
David Bomba
edf2dfcc80 Minor fixes 2021-06-12 19:40:28 +10:00
Benjamin Beganović
42f2065f8a Update mobile sidebar to white 2021-05-19 13:28:06 +02:00
David Bomba
16c5665cc6 Recurring Invoice history / activities 2021-05-10 20:20:52 +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
c3f157717f Fixes for multi-mailer gmail implementation 2021-02-17 13:21:47 +11:00
David Bomba
76f57387dc Fixes for multi-mailer gmail implementation 2021-02-17 13:20:25 +11:00
David Bomba
aa9970326c Fixes for multi mailer - gmail 2021-02-17 11:25:30 +11:00
David Bomba
a056f95e13 Fixes for EmailEntity 2021-02-16 23:56:12 +11:00
David Bomba
6e4979f2a1 Fixes for switching mailers are runtime when using queues 2021-02-16 23:24:36 +11:00
David Bomba
da8fe555a7 Add back 2021-02-16 22:47:30 +11:00
David Bomba
68b000efe9 Register mail provider after initing variables 2021-02-16 22:46:05 +11:00
David Bomba
58a1e2812d Wire up settings in mailer job 2021-02-16 22:19:07 +11:00
David Bomba
324a79023c Prevent mailables from being queueable"
git push
2021-02-11 23:35:46 +11:00
David Bomba
c2527c56b5 Gmail 2021-02-11 22:37:58 +11:00
David Bomba
e11592e172 Fixes for gmail attachments 2021-02-11 18:58:37 +11:00
=
64351e0f0a Fixes for attachments with gmail 2021-02-11 18:32:49 +11:00
David Bomba
5f3efdc5ff Working on swift attachments 2021-02-11 16:48:13 +11:00
David Bomba
a36cfb99b8 GMail attachments 2021-02-11 14:43:48 +11:00
David Bomba
22fdb082b0 Tuning mime types for attachments 2021-02-11 10:55:08 +11:00
David Bomba
5a29b3ef02 Working on GMail 2021-02-11 10:38:42 +11:00
=
c9d58d7af7 Temporarily disable attachments from gmail emails 2021-02-10 23:03:58 +11:00
=
dcf3d40709 Add Mail Manager 2021-02-10 22:34:39 +11:00
=
2b48477785 Register Gmail Mail Transport 2021-02-10 22:06:10 +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
65ee07b8ec Remove Spatie Ray - poor error handling 2021-01-30 12:13:32 +11:00
David Bomba
92e5465679 Entity mail failure email 2021-01-20 12:59:39 +11:00
David Bomba
6857393ff6 Fixes for logging 2021-01-15 10:50:27 +11:00
David Bomba
1ff29a2d55 Fix for usercreated event 2021-01-14 20:31:27 +11:00
David Bomba
249c0e8b2b fix for presenting company logo in portal 2021-01-13 12:15:04 +11:00
David Bomba
6b5da010a9 Add Ray as dev dependency, handle third party document attachments 2021-01-09 15:10:48 +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
=
7a058c9ae6 Move logging to nlog 2020-12-30 08:10:03 +11:00
Benjamin Beganović
0bbd910490 apply php-cs-fixer 2020-12-25 12:29:42 +01:00
Benjamin Beganović
f0dbf2ba71 nlog() 2020-12-24 17:01:34 +01: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
277eec508a Clean up TODOs 2020-11-10 15:07:25 +11:00
David Bomba
efb40f1777 Custom translations 2020-11-10 14:27:25 +11:00
David Bomba
7977b2a1e7 Remove stale classes 2020-11-10 08:04:57 +11:00
David Bomba
9aeb2d7a5b Psalm cleanup 2020-10-28 21:10:49 +11:00
David Bomba
d7930e4c14 Remove redundant classes 2020-10-28 17:27:10 +11:00
David Bomba
f6435ab030 Working on emails 2020-10-27 22:57:12 +11:00
David Bomba
dceff35f9a Working on refactoring emails 2020-10-27 15:53:59 +11:00
David Bomba
1de7a693cc Refactor Phantom JS building HTML 2020-10-27 14:09:13 +11:00
David Bomba
e17f5438ee Working on generic entity emailer 2020-10-27 11:05:42 +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
Benjamin Beganović
487c695b68 Replace blue color with $primary_color:
- Change ClientPortal helper to return 'bg-primary-darken' instead of 'active-page'
- Buttons & input fields don't have SASS color now
- bg-blue-600/900 replaced with primary/primary-darken
- Production build of assets
2020-09-30 13:30:27 +02: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
e8b3390c4b Remove JSON backups from activities 2020-08-11 11:33:43 +10:00
David Bomba
ab5dc13662 Inject custom translations when needed 2020-08-11 11:03:49 +10:00
David Bomba
d05c6ec975 Inject custom translations 2020-08-11 10:48:05 +10:00
David Bomba
cab6f313fe Fix for paid invoice emails 2020-07-15 17:03:35 +10:00
David Bomba
fc40159d36 Fixes for currency precision 2020-06-15 21:42:46 +10:00
David Bomba
8ab0238f3f
Attachments with GMail transport (#3726)
* Refactor mailers

* Fixes for mailer

* Fixes for approving a quote

* Refactor emailer

* Refactor emailer

* Attach files with GMail transport

* Attach files to GMail transport
2020-05-20 16:59:29 +10:00
David Bomba
1e323a5770
Working on OAuth. (#3688)
* Working on OAuth

* Fixes for gmail transport

* Working on oauth
2020-05-13 14:51:16 +10:00
David Bomba
c503d58505
Adjust email quotas - Hosted plan. (#3663)
* Fixes for invitations not being created in RandomDataSeeder

* Resend failed/quota exceeded emails

* Queue email tests

* Refund a client for a ninja account

* Adjust email quotas - hosted plan
2020-04-30 21:45:47 +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
e5a230e0c7
Performance improvements (#3634)
* Adjustments for tests

* Implement handling of temp downloading resources

* Refactor paths

* Refactors for file paths

* Refactor paths

* Add in S3 adapter

* Refactor company Documment URL

* Refactor for entity pdf performance

* Refactors for invoice generation

* Enhancements for emails invoices

* Emails

* Fixes for client portal queries
2020-04-16 18:41:25 +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
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
8cffccb3bc
Fixes for composer 2 (#3593)
* Add privacy link to setup page

* Italics

* Tests for invoice actions

* Fixes for autoloading
2020-04-06 22:32:27 +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
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
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
6d5d1da472
Fixes for pdf_variables validation (#3419)
* Client and System Notifications

* Fix for group settings currency not applying correctly.

* Split head out of design in order to reuse headers and footers

* export the designs

* Fixes for pdf_variables
2020-03-04 22:09:43 +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
michael-hampton
2be8d89b98
Update QuoteEmail.php (#3345) 2020-02-18 07:15:12 +11:00
David Bomba
f57339f185
Fixes and Refactors for Invoice Emails. (#3339)
* Working on emailing invoices

* Working on emailing and displaying email

* Working on emailing and displaying email

* Email invoices

* Fixes for html emails

* Ensure valid client prior to store

* Ensure client exists when storing an entity

* Update variable name send -> send_email for client_contacts

* Mailable download files

* Extend timeouts of password protected routes when a protected route is hit

* Add default portal design to company settings

* Minor fixes

* Fixes for Tests

* Fixes for invoicing emails

* Refactors for InvoiceEmail

* Implement abstractservice

* Refactors for services

* Refactors for emails

* Fixes for Invoice Emails
2020-02-17 20:37:44 +11:00
David Bomba
1e0111d519
Minor refactors for emails (#3333) 2020-02-15 22:49:31 +11:00
michael-hampton
f7650d0692
Ft email (#3326)
* Emails

* change to user service

* refactor emails

* refactor emails

* refactor emails

* refactor emails

* emails

* emails

* emails

* emails

* emails

* emails

* emails

* emails

* emails

* emails

* Update EmailPayment.php

* Update SendEmail.php

* Update SendEmail.php

* Update SendEmail.php

* Update and rename BuildEmail.php to EmailBuilder.php

* Create InvoiceEmail

* Create QuoteEmail.php

* Rename InvoiceEmail to InvoiceEmail.php

* Create PaymentEmail.php

* Update SendEmail.php

* Update SendEmail.php

* Update SendEmail.php

* Update SendEmail.php

* Update InvoiceEmail.php

* Update EmailInvoice.php

* Update SendEmail.php

* Update TemplateEmail.php

* Update EmailBuilder.php

* Update InvoiceEmail.php

* Update QuoteEmail.php

* Update PaymentEmail.php

* Update InvoiceEmail.php

* Update QuoteEmail.php

* Update QuoteInvitation.php

* Update EmailQuote.php

* Update SendEmail.php

* Update SendEmail.php

* Update PaymentService.php

* Update PaymentEmail.php

* Update PaymentEmail.php

* Update PaymentEmail.php

* Update EmailBuilder.php

* Update PaymentEmail.php

* Update EmailPayment.php

* Update SendEmail.php

* Update InvoiceService.php

* Update SendEmail.php

* Update PaymentService.php

* Update SendEmail.php

* Update QuoteService.php

* Update EmailPayment.php

Co-authored-by: David Bomba <turbo124@gmail.com>
2020-02-15 20:01:15 +11:00
Benjamin Beganović
69fa60b91c
Added generateUrl method for getting assets (#3258)
* Added generateUrl method for getting assets

* Fix return types
2020-01-29 13:31:34 +11:00
David Bomba
a72e1faa84
Improve tests with smaller sample files. (#3250)
* Reduce migration file size to improve test velocity

* minor fixes

* remove xhprof ext

* Tests for templates
2020-01-27 18:49:04 +11:00