1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-06 03:02:34 +01:00
Commit Graph

1744 Commits

Author SHA1 Message Date
=
2faff4eb05 Add default includes to transformers 2020-08-15 10:51:26 +10:00
=
74994364ec Fixes for tests 2020-08-15 10:40:56 +10:00
David Bomba
da26a1f2f2 Refactor date mutators 2020-08-15 08:03:29 +10:00
Benjamin Beganović
4eb5490984 Enable downloads for the client 2020-08-14 17:29:26 +02:00
Benjamin Beganović
f42c76d8a8 Update templates with new check for entity variables 2020-08-14 14:54:06 +02:00
Benjamin Beganović
da3a86381e Add logic for checking empty entity variables 2020-08-14 14:53:55 +02:00
Benjamin Beganović
edfec84074 Add new properties to models for easier fetching:
Invoice:
- balance_due is now alias to balance
- total is now alias to calc()->getTotal()

Quote:
- valid_until is now alias to due_date
- balance_due is now alias to balance
2020-08-14 14:53:36 +02:00
David Bomba
cb24a89d00 Fixes for carbon date handling on entities 2020-08-14 22:50:05 +10:00
David Bomba
7fc54b7fa1 Fixes for date mutators 2020-08-14 22:21:46 +10:00
David Bomba
5daeab3895 allow total columns to be customized in PDF 2020-08-14 13:59:14 +10:00
David Bomba
07e8ded6a7 Fixes for credit/quote update request 2020-08-14 13:35:58 +10:00
David Bomba
dffb9be189 Fixes for purge company and preserve settings 2020-08-14 10:40:59 +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
fd38a964e7 Fixes for company purging 2020-08-14 07:15:15 +10:00
David Bomba
5bfcdc80b2
Merge pull request #3972 from beganovich/v2-0708-pdfmaker-integration
(wip) End-to-end PDF Maker integration
2020-08-14 06:53:00 +10:00
Benjamin Beganović
4769aeac67 Reduce logo size & update balance due string for invoices 2020-08-13 13:46:53 +02:00
Benjamin Beganović
a29e3b83ae Variables improvements:
- Update $balance_due
- Update $total
2020-08-13 13:10:59 +02:00
David Bomba
7bde9d6967 Fixes for tests 2020-08-13 19:59:29 +10:00
David Bomba
1415434d34 tests 2020-08-13 16:15:46 +10:00
David Bomba
f86a57c632 validation for payment number for store/update routes 2020-08-13 14:26:36 +10:00
David Bomba
5cba3315bd Fixes for authorize.net 2020-08-13 12:33:40 +10:00
David Bomba
181c343594 Minor fixes for authorize.net 2020-08-13 12:30:45 +10:00
David Bomba
d11cc1784d Fixes for tests 2020-08-13 11:55:58 +10:00
David Bomba
e21e70bdcd Fixes for tests 2020-08-13 10:57:06 +10:00
Benjamin Beganović
0ba6a4351e Integrate new PdfMaker for CreateQuotePdf 2020-08-12 19:21:29 +02:00
Benjamin Beganović
a302891bec Change $pdf_variables scope 2020-08-12 19:14:14 +02:00
David Bomba
b113859690 Work on validation for unique invoice numbers 2020-08-12 20:11:13 +10:00
David Bomba
2ee7c429bd Minor change to checking valid invoice number rule 2020-08-12 13:52:21 +10:00
David Bomba
e347c5ad51 Document permissions 2020-08-12 13:13:39 +10:00
David Bomba
de24d00315 Error handling for emails 2020-08-12 12:16:44 +10:00
David Bomba
941e790a95 More activities 2020-08-12 12:02:21 +10:00
David Bomba
152e9b88f6 Activity for paid invoice 2020-08-12 11:45:40 +10:00
David Bomba
bcd69dadc8 Change invoice -> entity 2020-08-12 10:41:26 +10:00
David Bomba
ee0aa891bb Fixes for activity backups"
git push
2020-08-12 10:13:34 +10:00
David Bomba
928a9d46af Download historical invoice 2020-08-12 10:01:27 +10:00
David Bomba
cb508e1daa Add client gateways to first-load array 2020-08-12 09:04:39 +10:00
David Bomba
3514491300 Changing error structure, regression fixes for shop/client route 2020-08-12 08:59:28 +10:00
David Bomba
7feae1fd45 Add is_deleted to client_gateway_tokens table 2020-08-12 08:17:32 +10:00
Benjamin Beganović
caa704af96 wip - CreateInvoicePdf 2020-08-11 18:50:24 +02:00
Benjamin Beganović
2de19a4bb1 Fix design 'hidden' properties 2020-08-11 18:50:00 +02:00
Benjamin Beganović
5ebe60c78e Update DesignUpdate with new namespace 2020-08-11 18:36:56 +02:00
Benjamin Beganović
1d7e4fd6c9 Implement footer signature & white-label logo 2020-08-11 17:57:35 +02:00
Benjamin Beganović
9c1cfd2e86 Shared footer elements 2020-08-11 17:53:11 +02:00
Benjamin Beganović
e99bd59aa0 Implement getting raw HTML out of sections 2020-08-11 17:19:52 +02:00
David Bomba
71449392de Fix for regression 2020-08-11 20:57:45 +10:00
David Bomba
c195f5b8a5 Add middleware to destroy document 2020-08-11 13:21:43 +10:00
David Bomba
e8b3390c4b Remove JSON backups from activities 2020-08-11 11:33:43 +10:00
David Bomba
c29c6ba480 Cleanup for Custom Translations 2020-08-11 11:13:49 +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
Benjamin Beganović
347ec1d441 Check if $entity is App\Models\Quote to make sure right variables are passed 2020-08-10 17:31:23 +02:00
Benjamin Beganović
5eb2ad0e77 Fixes for invoice/quote settings on company level 2020-08-10 17:21:56 +02:00
Benjamin Beganović
950d6d3693 Rename TableHelpers to DesignHelpers 2020-08-10 17:07:30 +02:00
Benjamin Beganović
3d477b2ed1 Conditionally show footer items 2020-08-10 17:04:51 +02:00
Benjamin Beganović
d00bbc7a37 Alias $outstanding as $balance_due 2020-08-10 17:04:42 +02:00
Benjamin Beganović
20591bc251 Added rule for "hidden" field 2020-08-10 16:43:25 +02:00
Benjamin Beganović
2f40804568 Update designs so they reference Invoice or Quote 2020-08-10 13:18:05 +02:00
Benjamin Beganović
84e618d1b6 Remove string requirement from toggleHiddenProperty 2020-08-10 12:57:53 +02:00
David Bomba
2e663447b8 Tests for container manipulation 2020-08-10 14:55:44 +10:00
David Bomba
6840e3e471 Fixes for mailers 2020-08-08 14:38:02 +10:00
=
731001baf5 Refactor refresh route resolution of company_user 2020-08-08 10:32:47 +10:00
=
1be45a4e38 Wind back changes to login route 2020-08-08 09:58:10 +10:00
=
6751654216 Refactor login route 2020-08-08 09:50:32 +10:00
=
e6afbb3bcf Implement a mail router which can centralise mail jobs 2020-08-08 09:28:36 +10:00
David Bomba
651fdeabdb Fix for incorrect country displaying 2020-08-08 07:44:49 +10:00
Benjamin Beganović
085d08bbcb (wip) Conditionally display tfoot items 2020-08-07 18:30:04 +02:00
Benjamin Beganović
f7408e1fb3 Added new labels & update designs 2020-08-07 17:47:17 +02:00
Benjamin Beganović
8381d37431 Update entity type:
- Default entity type is 'product'
- Added type check
- Fixed double slash in design path
2020-08-07 16:11:10 +02:00
Benjamin Beganović
a531019e3e Update remaining colspans on design files 2020-08-07 16:02:37 +02:00
Benjamin Beganović
7870985aa8 Logic for calculating remaning spaces for colspans 2020-08-07 15:58:05 +02:00
Benjamin Beganović
007ec3a85a Plain:
- Extract table footer into tableFooter()
- Add all footer elements
2020-08-07 14:30:56 +02:00
Benjamin Beganović
00fcb1dd32 Modern:
- Extract table footer into tableFooter()
- Add all footer elements
2020-08-07 14:28:36 +02:00
Benjamin Beganović
80b6512df4 Hipster:
- Extract table footer into tableFooter()
- Add all footer elements
2020-08-07 14:25:43 +02:00
Benjamin Beganović
fe1cef3d62 Elegant:
- Extract table footer into tableFooter()
- Add all footer elements
2020-08-07 14:22:18 +02:00
Benjamin Beganović
6cdcf0d914 Creative:
- Extract table footer into tableFooter()
- Add all footer elements
2020-08-07 14:17:55 +02:00
Benjamin Beganović
9ee8a1658e Clean:
- Extract table footer into tableFooter()
- Add all footer elements
2020-08-07 14:05:40 +02:00
Benjamin Beganović
0597b01847 Business:
- Extract table footer into tableFooter()
- Add all footer elements
2020-08-07 14:03:25 +02:00
Benjamin Beganović
da74ecba6e Bold:
- Extract table footer into tableFooter()
- Add all footer elements
2020-08-07 14:00:23 +02:00
Benjamin Beganović
b438309736 Playful:
- Extract table footer into tableFooter()
- Add all footer elements
2020-08-07 13:55:02 +02:00
David Bomba
2c93efface Softdelete/restore invitations on clientcontact delete/restore 2020-08-07 08:13:15 +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
eb4af3150a
Merge pull request #3967 from turbo124/v2
Customize bulk templates
2020-08-06 08:48:37 +10:00
David Bomba
f773356f70
Merge pull request #3951 from beganovich/v2-pdfmaker-integration
Designs integration with new PDF Maker
2020-08-06 07:57:56 +10:00
Benjamin Beganović
6676cab698 Playful 2020-08-05 15:40:57 +02:00
Benjamin Beganović
4f69a874cf Modern design 2020-08-05 15:17:45 +02:00
Benjamin Beganović
7a9c8ca9a0 Hipster design 2020-08-05 15:02:32 +02:00
Benjamin Beganović
66ff55cddf Elegant 2020-08-05 14:43:51 +02:00
Benjamin Beganović
b1b42f5919 Creative 2020-08-05 14:34:22 +02:00
Benjamin Beganović
1876b228ed Clean 2020-08-05 14:24:10 +02:00
David Bomba
2fdf351be3 Customize bulk templates 2020-08-05 22:18:29 +10:00
David Bomba
a5d2ac2cb9 Fixes for fees and settings object 2020-08-05 21:48:53 +10:00
Benjamin Beganović
2333a78775 Business design 2020-08-05 12:35:38 +02:00
Benjamin Beganović
d63678435f Bold design 2020-08-05 12:13:48 +02:00
Benjamin Beganović
438054744e refactor invoice to entity 2020-08-05 11:52:01 +02:00
Benjamin Beganović
17858dae45 Implement base design class & remove design interface 2020-08-05 11:47:32 +02: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
8c72321c09 Refactor company gateway queries to ensure their order is respected 2020-08-05 11:41:32 +10:00
David Bomba
c245125be4 Force remove stale contacts 2020-08-05 10:12:47 +10:00
Benjamin Beganović
ad2ff79336 Complete Plain.php 2020-08-04 17:32:28 +02:00
Benjamin Beganović
e5defd870b implement design interface 2020-08-04 16:56:17 +02:00
Benjamin Beganović
7c4d2cf96f change from isset to in_array 2020-08-04 16:41:18 +02:00
David Bomba
b89ee61bba return appropriate response from within catch 2020-08-04 23:53:33 +10:00
David Bomba
a094c23937 Add PhantomJS tests on setup screen 2020-08-04 23:30:27 +10:00
Benjamin Beganović
96fdf787de add comments 2020-08-04 13:37:51 +02:00
Benjamin Beganović
ee6da44a94 Extract helpers for tax calculations into another file 2020-08-04 13:33:38 +02:00
David Bomba
8b9c83da1e Polish for Phantom JS implementation 2020-08-04 21:29:22 +10:00
David Bomba
d7dbde3789 Implement PhantomJS 2020-08-04 21:00:19 +10:00
David Bomba
374fd90df1 Fixes for Invoice Preview route 2020-08-04 18:37:28 +10:00
David Bomba
161f162856 Fixes for group settings 2020-08-04 18:21:14 +10:00
David Bomba
f544f7ac23 fix for archiving tax rates 2020-08-04 18:17:12 +10:00
David Bomba
5b59efa437 Fixes for payments with credits 2020-08-04 15:09:07 +10:00
Benjamin Beganović
efd698c9c5 wip with table body 2020-08-03 13:29:57 +02:00
David Bomba
334c7e6111 Demo company_key 2020-08-03 20:01:27 +10:00
David Bomba
cc79511dc3 fixes for email template 2020-08-02 20:24:38 +10:00
David Bomba
81a34f3446 Fixes for email templates not displaying css correctly 2020-08-02 19:59:32 +10:00
David Bomba
b780be3995 Ensure group settings can be archived + tests! 2020-08-02 16:31:55 +10:00
Benjamin Beganović
184f60785f wip with table bodies & footer 2020-07-30 17:47:40 +02:00
Benjamin Beganović
70ee476193 wip 2020-07-30 16:43:57 +02:00
David Bomba
694ad96111 -1 for fees_and_limits = enable gateway 2020-07-30 14:49:12 +10:00
David Bomba
7318eb19d8 OPENAPI docs 2020-07-30 13:27:00 +10:00
David Bomba
1db8b53128 OPENApi documentation 2020-07-30 12:50:45 +10:00
David Bomba
a6967892ea system health route 2020-07-30 10:30:49 +10:00
David Bomba
68e2e2c8f4 Merge branch 'v2' of https://github.com/turbo124/invoiceninja into v2 2020-07-30 07:48:33 +10:00
Benjamin Beganović
cb4efc8c61 wip 2020-07-29 14:53:58 +02:00
Benjamin Beganović
2e3179d83e Extract variables from the HtmlEngine 2020-07-29 13:37:05 +02:00
David Bomba
411b4b1582 add enable_shop_api field to company table 2020-07-29 19:25:59 +10:00
David Bomba
8e0942688d fixes for tests 2020-07-29 15:14:55 +10:00
David Bomba
6510536234 Fixes for view_link in emails 2020-07-29 12:13:12 +10:00
David Bomba
ce3ce8a54b Change invoice_number filtering to number filtering 2020-07-29 08:23:35 +10:00
David Bomba
b457cbfe15 Fix is_manual when marking an invoice as paid 2020-07-29 08:20:40 +10:00
David Bomba
2739e643fe Fixes for invoicewasvieweD 2020-07-28 23:47:41 +10:00
David Bomba
8f59515950 Fixes for shop post routes 2020-07-28 23:41:56 +10:00
David Bomba
fd97aff3f1 Fixes for routes"
git push
2020-07-28 23:24:01 +10:00
David Bomba
fb34f2654a Allow additional headers 2020-07-28 22:55:40 +10:00
David Bomba
44894edb17 Enable shop api on demo account 2020-07-28 22:47:44 +10:00
David Bomba
b20c0a5ff0
Merge pull request #3941 from beganovich/v2-undo-setup-changes
Undo setup changes
2020-07-28 22:44:35 +10:00
Benjamin Beganović
b28a48b1d9 undo 2020-07-28 14:42:53 +02:00
David Bomba
d91459b48f Set demo for company_key on demo account 2020-07-28 22:41:24 +10:00
Benjamin Beganović
ffe73b77af Undo setup changes 2020-07-28 14:41:10 +02:00
David Bomba
52065fb963 check shop is enabled 2020-07-28 22:12:33 +10:00
David Bomba
2b9610ea02 clean up for basecontroller 2020-07-28 22:06:47 +10:00
David Bomba
de78ea1506 Shop 2020-07-28 22:05:17 +10:00
David Bomba
caad3661d5 Refactor to user company_key instead of company_token 2020-07-28 21:58:15 +10:00
David Bomba
a8a0c7695c Shop routes 2020-07-28 21:30:11 +10:00
David Bomba
d5b777206e Shop routes 2020-07-28 21:19:51 +10:00
David Bomba
f28a604d84 Fixes for invoicewasviewed 2020-07-28 19:49:09 +10:00
David Bomba
502bd4ad2d Fixes for test/demo data 2020-07-28 18:37:13 +10:00
David Bomba
46bb38a20c Adjust client factories to allow contacts to be created by default 2020-07-28 18:28:29 +10:00
David Bomba
872ce3a3bc Fixes for event failure when viewing an invoice in the portal 2020-07-28 18:07:40 +10:00
David Bomba
9ed31be17e remove legacy setting option 2020-07-28 14:29:56 +10:00
David Bomba
0c81210bc1
Merge pull request #3936 from beganovich/v2-2707-setup-page-fixes
Setup page improvements
2020-07-28 07:46:07 +10:00
Benjamin Beganović
deb6a18e79 Don't show setup page if node or npm are missing 2020-07-27 16:55:26 +02:00
David Bomba
fb829d2da0 Formatting 2020-07-27 18:22:57 +10:00
David Bomba
04ed1d4fe3 formatting 2020-07-26 20:21:55 +10:00
David Bomba
0a93e6ea5c Fixes for refresh route 2020-07-26 18:30:55 +10:00
David Bomba
3c38fd2cf6 Fixes for refresh route 2020-07-26 15:12:40 +10:00
David Bomba
34575554af Working on handling refresh route 2020-07-26 08:27:49 +10:00
David Bomba
d36fdb4025 Fixes for refresh query 2020-07-25 09:02:32 +10:00
David Bomba
339795b555 make sure app url always has a trailing slash 2020-07-25 07:46:56 +10:00
David Bomba
643f709248 Fixes for refresh route 2020-07-24 19:39:43 +10:00
David Bomba
40b8ecf7c5 Fixes for refresh route 2020-07-24 19:05:52 +10:00
David Bomba
d5a666f496 Enabled modules values 2020-07-24 08:00:28 +10:00
David Bomba
c6e4889d6d fix for gateway refresh route 2020-07-23 21:39:03 +10:00
David Bomba
8e02662fd0 Fix for refresh route 2020-07-23 21:36:50 +10:00
David Bomba
2f07a36d76 Fixes for unique invoice number rule 2020-07-23 21:30:51 +10:00
David Bomba
41fdbd7978 Add client ids to activities 2020-07-23 21:20:05 +10:00
David Bomba
6ca56d3cb0
Merge pull request #3926 from beganovich/v2-2207-hide-drafts-from-clients
Fixes for invoices & drafts
2020-07-23 20:56:50 +10:00
David Bomba
5349fc012c
Merge pull request #3927 from turbo124/v2
Fixes for base repo invitations
2020-07-23 20:56:38 +10:00
Benjamin Beganović
183a51b27c Update quotes page with right terminology 2020-07-23 12:20:19 +02:00
Benjamin Beganović
f744820565 Hide draft from clients 2020-07-23 12:17:09 +02:00
David Bomba
e67c7995d9 fixes for invitations 2020-07-23 16:13:12 +10:00
David Bomba
ce3696257f Fixes for base repo invitations 2020-07-23 13:55:11 +10:00
David Bomba
3f1d877273
Merge pull request #3925 from beganovich/v2-2207-pdfmaker-changes
Moving PdfMaker out of tests folder
2020-07-23 07:41:11 +10:00
Benjamin Beganović
3b2e4c68e9 Update static html design paths 2020-07-22 14:43:07 +02:00
Benjamin Beganović
60a73fada3 Move PdfMaker to Services/ folder & update namespaces 2020-07-22 14:30:55 +02:00
David Bomba
68f26d680c Working on Credit payments 2020-07-22 22:16:02 +10:00
David Bomba
059f1a3fea Working on credit payments 2020-07-22 21:35:44 +10:00
David Bomba
62f084b2aa Events 2020-07-22 17:53:14 +10:00
David Bomba
e620438186 Fixes for user email change job 2020-07-22 17:26:54 +10:00
=
a367c64278 Send change of email to both old and new email address 2020-07-22 13:03:33 +10:00
David Bomba
9d276ffa70 Working on user notifications when an email changes 2020-07-22 12:25:58 +10:00
David Bomba
8186b98e3c Clean up for lock invoices 2020-07-22 09:58:41 +10:00
David Bomba
8688625931 Validation for locked invoices 2020-07-22 09:54:39 +10:00
David Bomba
0c11e93b7b
Merge pull request #3921 from turbo124/v2
Force migrations in productions after Self-Update runs
2020-07-22 07:36:13 +10:00
David Bomba
bcb8f44948
Merge pull request #3907 from beganovich/v2-pdfmaker-designs
Design updates to new PDF system
2020-07-22 07:35:21 +10:00
David Bomba
e5dca1deb9 Force migrations 2020-07-21 22:00:24 +10:00
David Bomba
02646640aa update self updater 2020-07-21 21:51:47 +10:00
David Bomba
91c40b0517 Update enabled_modules value 2020-07-21 21:26:58 +10:00
David Bomba
0d8d793a4c Fix for including ALL relations on the refresh route if updated_at is provided 2020-07-21 21:19:21 +10:00
David Bomba
4bee89263a Fixes for credit payments 2020-07-21 20:35:43 +10:00
David Bomba
07244bd83b Run check data script daily 2020-07-21 16:02:15 +10:00
David Bomba
9075cf989a Flip what is_system means for company tokens 2020-07-21 15:03:04 +10:00
David Bomba
3a77f62b9d Configure releases in sentry, and add assigned_user_id to demo data 2020-07-21 11:54:49 +10:00
David Bomba
b797c82249 NPM and Node status 2020-07-21 11:43:59 +10:00
David Bomba
24e64fa911 Check for node and npm in setup 2020-07-21 11:11:35 +10:00