1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00
Commit Graph

769 Commits

Author SHA1 Message Date
David Bomba
c7a82d25b8 inclusive tax implementation 2019-10-17 09:51:05 +11:00
Benjamin Beganović
b35bff3cde Forward support messages to contact@invoiceninja.com with system-level info (#2993)
* Sending support messages via API

* Sending log files only if self-hosted

* Remove legacy code
2019-10-17 07:12:38 +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
7eb0f8d44b
Invoice calculations (#2994)
* Add traits for invoice calculations

* V2 of invoice calculator

* Tests for invoice item calculator

* Test for Invoice Item Calculations

* Invoice Calculation Tests

* fix for tests

* Fixes for invoice calculations
2019-10-16 20:28:52 +11:00
David Bomba
b90122443f
Fixes for incorrect payment gateway meta data. (#2992)
* Fixes for staging

* Fixes for gateway fields

* fix for null design
2019-10-16 08:35:32 +11:00
David Bomba
c43eb96333
Fixes for staging (#2990) 2019-10-15 21:36:51 +11:00
David Bomba
1c21b6dc7c
Invoice Calculations (#2985)
* Fixes for invoice item line totals

* Refactoring invoice calculations

* Update api-docs

* Fixes for invoice calculations

* remove tests

* fixes for config files
2019-10-13 21:59:55 +11:00
David Bomba
01d6b854fa
Fixes for invoice calculations (#2981) 2019-10-11 17:08:41 +11:00
David Bomba
dde3f1192a
Change company_logo_url to company_logo (#2980) 2019-10-11 15:30:26 +11:00
David Bomba
778b655aa3
Clean up todos (#2979) 2019-10-11 13:20:04 +11:00
David Bomba
3cbe60abda
clean up (#2978) 2019-10-11 11:54:53 +11:00
David Bomba
6698609512 Fixes for tests 2019-10-11 11:26:35 +11:00
David Bomba
9cc31195f7 fixes for storing invoice 2019-10-11 09:11:36 +11:00
David Bomba
87d5e50557 fixes 2019-10-10 22:08:02 +11:00
David Bomba
8d14c6b2bd Switch currency_id back to settings object 2019-10-10 21:43:50 +11:00
David Bomba
84edb28652 Move custom labels into single column on DB custom_fields 2019-10-10 13:52:57 +11:00
David Bomba
fb150cc1b0 Documentation for SettingsSaver trait 2019-10-10 13:24:19 +11:00
David Bomba
cb466e4d34 Company Settings Tests 2019-10-10 12:55:21 +11:00
David Bomba
60020734d5 Custom validations for settings 2019-10-10 12:18:00 +11:00
David Bomba
3123547e55 Implement validation rule for settings 2019-10-10 12:01:38 +11:00
David Bomba
7a4decdd3d working on type casting 2019-10-10 10:15:35 +11:00
David Bomba
859efb9445 Tests for types 2019-10-10 09:20:38 +11:00
David Bomba
e56aac5e73 Implement type checking for settings objects 2019-10-10 08:36:50 +11:00
David Bomba
056b2cbdb7 Tests for company settings 2019-10-09 23:21:21 +11:00
David Bomba
0e9ca5c1ce Company Settings 2019-10-09 16:57:32 +11:00
David Bomba
0469de7466 fix for returning token on company creation 2019-10-09 16:47:12 +11:00
David Bomba
710732a1fb company settings 2019-10-09 15:28:58 +11:00
David Bomba
534b515849 Abstract settings save to separate trait 2019-10-09 10:53:33 +11:00
David Bomba
ebf439adcf fixes for client number incrementation 2019-10-08 22:17:05 +11:00
David Bomba
faa5a05ac1 Validation rules for update client 2019-10-08 22:14:23 +11:00
David Bomba
2e4cd7459a Add pay now button to each row in table 2019-10-08 16:09:59 +11:00
David Bomba
fb513ebe69 Customise column width for datatable 2019-10-08 14:04:35 +10:00
David Bomba
75b089fa19 Multi payment invoices with filtering of already paid invoices 2019-10-08 13:06:27 +10:00
David Bomba
accbbcf67b Flash message 2019-10-08 12:03:40 +10:00
David Bomba
091673a7ac Payment edge cases 2019-10-08 09:05:41 +10:00
David Bomba
9a60e72a56 Fixes for display unpaid invoices with overdue invoices 2019-10-08 08:28:09 +10:00
David Bomba
60e58abab5 Company Logo upload to groups 2019-10-08 08:07:43 +10:00
David Bomba
7a78702a1f Fixes for tests 2019-10-08 07:43:25 +10:00
David Bomba
cc85746af0 Upload company logo to group settings 2019-10-08 07:17:55 +10:00
David Bomba
db3ccaf4bc validation fixes 2019-10-08 06:49:16 +10:00
David Bomba
d35a90cb94 change logo_url to company_logo_url 2019-10-07 22:06:23 +11:00
David Bomba
b8515e26b0 Upload company logo to client settings 2019-10-07 22:05:06 +11:00
David Bomba
2a7f62b579 Fixes for tests 2019-10-07 21:36:30 +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
264d6662e3 set blank object for client settings 2019-10-07 17:43:19 +11:00
David Bomba
03d0babd26 Remove show_currency_symbol 2019-10-07 17:37:46 +11:00
David Bomba
5bbc274a48 Fixes for api-headeR 2019-10-07 17:31:26 +11:00
David Bomba
6ae11ce039 group settings on client transformer 2019-10-07 17:16:41 +11:00
David Bomba
a54b6c3055 Finalized OpenAPI 2019-10-07 15:57:14 +11:00
David Bomba
0cad2c1c90 Users OpenAPI 2019-10-07 15:34:57 +11:00
David Bomba
ad1f8dc928 Recurring Quote OpenAPI 2019-10-07 15:32:29 +11:00
David Bomba
eacc1fe66a Recurring Invoice OpenAPI 2019-10-07 15:29:16 +11:00
David Bomba
19caaac912 Payments OpenAPI 2019-10-07 15:19:25 +11:00
David Bomba
d999212a34 GroupSettings OpenAPI 2019-10-07 15:13:50 +11:00
David Bomba
2f7c403992 company_gateway OpenAPI 2019-10-07 15:09:04 +11:00
David Bomba
e784705aaf Clients and Companies OpenAPI 2019-10-07 15:03:01 +11:00
David Bomba
24714dc9f4 Clients OpenAPI 2019-10-07 10:32:36 +11:00
David Bomba
6d81f981f8 Invoices OpenAPI 2019-10-07 09:00:02 +11:00
David Bomba
6ea2140578 Remove json validation 2019-10-07 08:13:16 +11:00
David Bomba
165182266a OpenAPI 2019-10-06 23:24:15 +11:00
David Bomba
febe32b7d8 OpenAPI 2019-10-06 23:18:22 +11:00
David Bomba
65757f4b71 OpenAPI 2019-10-06 23:09:56 +11:00
David Bomba
b7a90a4cae add custom values to settings object 2019-10-06 22:58:11 +11:00
David Bomba
ac96a01c03 OpenAPI 2019-10-06 22:51:33 +11:00
David Bomba
daa402c778 OpenAPI Docs 2019-10-06 22:27:56 +11:00
David Bomba
897e4855c1 OpenAPI 2019-10-06 22:24:54 +11:00
David Bomba
cf67589f23 Open API 2019-10-06 19:44:00 +11:00
David Bomba
59abbd04f9 Integrating OpenAPI documentation 2019-10-06 17:05:46 +11:00
David Bomba
95be70a7b5 Group Settings 2019-10-06 08:24:46 +11:00
David Bomba
d05e7fb845 Force all avatars to be PNG 2019-10-05 13:55:25 +10:00
David Bomba
5e553b36e9 logo uploads 2019-10-05 13:18:52 +10:00
David Bomba
eca7452de3 Add additional tax rate 3 into the system 2019-10-05 12:28:23 +10:00
David Bomba
d39d837895 Fixes for tests 2019-10-05 11:58:33 +10:00
David Bomba
305eea7fc8 Tests for client presenter using new settings object for company meta data 2019-10-05 11:48:00 +10:00
David Bomba
70fe64ed96 Fixes for tests 2019-10-05 10:11:04 +10:00
David Bomba
2f657aaac8 Stubs for group settings controller 2019-10-05 08:58:51 +10:00
David Bomba
7c69de5ebb validate json fields 2019-10-05 08:15:57 +10:00
David Bomba
24075072df refactor for pushing company meta data into settings 2019-10-04 22:37:40 +10:00
David Bomba
2c25f20a25 Force at least 1 product quantity 2019-10-04 21:57:33 +10:00
David Bomba
1f1ffd3240 transform datetimes to timestamps 2019-10-04 21:54:03 +10:00
David Bomba
187fb67275 remove work_ prefix 2019-10-04 21:01:52 +10:00
David Bomba
a83099dad8 Refactor payment events 2019-10-04 16:22:22 +10:00
David Bomba
3900529e83 Format dates for client 2019-10-04 08:06:38 +10:00
David Bomba
ae02953a8f Client portal client screen 2019-10-04 07:51:54 +10:00
David Bomba
5adc88d01e Docs 2019-10-03 22:17:48 +10:00
David Bomba
87d61262ca Move atomic operations to Jobs instead of listeners 2019-10-03 22:02:31 +10:00
David Bomba
724cccacfc Fixes for tests 2019-10-03 21:50:50 +10:00
David Bomba
3af84f7de7 Company Gateway endpoint and tests 2019-10-03 21:18:12 +10:00
David Bomba
16cd98980b Company Gateway Tests 2019-10-03 20:59:19 +10:00
David Bomba
3b6fa39d43 Fixes for transformers 2019-10-03 15:42:58 +10:00
David Bomba
9afcc28549 Fixes for company logo output 2019-10-03 15:17:57 +10:00
David Bomba
3e3cde2e1e pdate 2019-10-03 13:23:00 +10:00
David Bomba
fd58aeb856 Company Gateway API 2019-10-03 13:21:24 +10:00
David Bomba
b41966d41e working on company gateway API endpoint 2019-10-03 11:13:25 +10:00
David Bomba
4e51256b51 Company Logo upload test 2019-10-03 10:17:29 +10:00
David Bomba
db40a4ab71 handle logo upload for company 2019-10-03 07:59:27 +10:00
David Bomba
70d2531ab4 validation rules 2019-10-03 07:53:59 +10:00
David Bomba
0c5202ea8c API Tests for clients 2019-10-02 20:22:10 +10:00
David Bomba
7a32986cf0 fixes 2019-10-02 19:44:11 +10:00
David Bomba
34f05df288 fixes 2019-10-02 19:41:38 +10:00
David Bomba
f19d28a70a fixes 2019-10-02 19:40:32 +10:00
David Bomba
72afe5912c fixes 2019-10-02 19:34:39 +10:00
David Bomba
63ec6d6fcf contact key 2019-10-02 19:07:35 +10:00
David Bomba
a6579e43df Transformer fixes 2019-10-02 19:04:27 +10:00
David Bomba
bd1952df3a Fixes for payment terms 2019-10-02 18:59:47 +10:00
David Bomba
ba8638d965 Fixes 2019-10-02 18:50:54 +10:00
David Bomba
1248407101 transformer fixes 2019-10-02 18:38:33 +10:00
David Bomba
f5d4ec951e fixes for client creation 2019-10-02 17:52:38 +10:00
David Bomba
98362e0347 fixes for product transformer 2019-10-02 17:41:22 +10:00
David Bomba
60ee687401 fixes for contact saves 2019-10-02 17:40:10 +10:00
David Bomba
b243ce4643 Log system events 2019-10-02 13:00:51 +10:00
David Bomba
833f986b43 Company Ledger updates 2019-10-02 11:16:51 +10:00
David Bomba
a57de08178 Working on partial invoice payments 2019-10-02 08:44:13 +10:00
David Bomba
78ae24df46 Balances with company ledger 2019-10-01 19:59:32 +10:00
David Bomba
37ec6afdad Working on payment events 2019-10-01 16:03:57 +10:00
David Bomba
f2a8e5f4df fixes for tests 2019-10-01 15:54:21 +10:00
David Bomba
4bccdae01e using events to fire updates for invoices and company ledger 2019-10-01 14:27:04 +10:00
David Bomba
2d5d9b816b Payment Events 2019-10-01 11:56:48 +10:00
David Bomba
3721e2b7f1 paypal 2019-10-01 07:16:46 +10:00
David Bomba
62949b2fad Paypal response 2019-09-30 16:54:24 +10:00
David Bomba
c4f777b20e Working on paypal response 2019-09-30 15:27:05 +10:00
David Bomba
0b7054b315 Complete paypal response 2019-09-30 11:15:57 +10:00
David Bomba
e89d7cebaa Working on Paypal Driver 2019-09-30 09:26:37 +10:00
David Bomba
b8aaa8c082 Payment hooks 2019-09-30 07:49:43 +10:00
David Bomba
85de581fac Fix for company filtering 2019-09-29 18:46:53 +10:00
David Bomba
441d52523d Add activities to API 2019-09-27 14:31:13 +10:00
David Bomba
1e025dcbe1 enforce blank strings in transformers 2019-09-27 08:14:02 +10:00
David Bomba
58a01b7296 remove defaults from DB 2019-09-27 07:54:03 +10:00
David Bomba
487f93933b Laravel V6 2019-09-26 23:00:51 +10:00
David Bomba
515b32fd87 Bump to Laravel 6 2019-09-26 20:49:52 +10:00
David Bomba
49b97038f7 Working on Paypal 2019-09-26 15:47:37 +10:00
David Bomba
bbe5049a2d add padding to tables 2019-09-26 15:14:07 +10:00
David Bomba
e21d425093 Expose product price in API 2019-09-26 09:47:33 +10:00
David Bomba
1778e63421 cast created_at/updated_at/deleted_at to timestamps 2019-09-26 08:27:26 +10:00
David Bomba
2c05f5a47e Refresh route 2019-09-25 21:49:43 +10:00
David Bomba
2df455c21d update invoice status 2019-09-25 16:55:09 +10:00
David Bomba
0687817ae8 Create payment after payment and mark invitations as paid 2019-09-25 16:23:51 +10:00
David Bomba
362f197fbb Store payment after invoice is confirmed paid 2019-09-25 15:55:52 +10:00
David Bomba
5090c963d3 Payment responses and saving card details 2019-09-25 14:03:28 +10:00
David Bomba
46602a21c5 Stripe payments 2019-09-25 12:07:33 +10:00
David Bomba
8027e72217 Laravel standard error pages 2019-09-25 07:18:41 +10:00
David Bomba
6bff6d6fac refactor gateway fields 2019-09-24 22:54:23 +10:00
David Bomba
7dfc783c4a Change json output of gateway_fields 2019-09-24 22:03:08 +10:00
David Bomba
d7f307feab Implement gateway fields in statics 2019-09-24 21:48:25 +10:00
David Bomba
f59b74b01b Refactors for gateways - using keys instead of Pkeys 2019-09-24 21:22:41 +10:00
David Bomba
d34b129474 fix error formatting 2019-09-24 08:37:38 +10:00
David Bomba
176ba8dac5 fixes 2019-09-23 22:42:02 +10:00
David Bomba
6e12c3e2d3 Fixes 2019-09-23 22:38:34 +10:00
David Bomba
bbabe4836b Fix DB search 2019-09-23 22:19:37 +10:00
David Bomba
3ad0a3ff9a Sort response in alphabetical order by key 2019-09-23 21:29:30 +10:00
David Bomba
1e1be26980 Invitation routing 2019-09-23 15:59:01 +10:00
David Bomba
d5ec342764 Nuances of client contact invitations 2019-09-23 13:22:24 +10:00
David Bomba
308406c0fb Create or Update invitations on invoice save / creation 2019-09-23 13:10:51 +10:00
David Bomba
3860e770f6 Add reset link to API 2019-09-23 08:24:25 +10:00
David Bomba
a9f4a5feaf add group settings to company transformer: 2019-09-22 20:41:43 +10:00
David Bomba
7382ff0b84 fixes for datetime formats 2019-09-22 20:25:05 +10:00
David Bomba
50d52c5323 Add DateFormats to model 2019-09-22 19:30:03 +10:00
David Bomba
b6a0350952 Logic for modal display 2019-09-21 14:18:08 +10:00
David Bomba
4aa781fb03 Working on settings - safe guards to updating the settings object 2019-09-21 14:09:25 +10:00
David Bomba
04b4f224fa Working on terms and signature authorization 2019-09-21 12:17:27 +10:00
David Bomba
4fd41dbe1d Client payment flow 2019-09-20 15:13:58 +10:00
David Bomba
6037e30887 fixes for travis 2019-09-19 21:43:59 +10:00
David Bomba
bc2feba3fb Clean up 2019-09-19 21:40:05 +10:00
David Bomba
85c645fbeb Set default payment method when inserting first record 2019-09-19 21:31:49 +10:00
David Bomba
a926c48f21 Payment methods list view 2019-09-19 20:16:41 +10:00
David Bomba
cc7ee120d5 Fixes for test
s
2019-09-19 16:22:32 +10:00
David Bomba
86a099587d Refactor for settings to force types 2019-09-19 15:50:05 +10:00
David Bomba
ff0406d564 Fixes 2019-09-18 22:49:26 +10:00
David Bomba
89cc4170d6 Fixes 2019-09-18 22:43:37 +10:00
David Bomba
d5d1d7d9a3 Refactor for API 2019-09-18 16:02:05 +10:00
David Bomba
a331368383 List view for payment methods 2019-09-18 12:39:53 +10:00
David Bomba
905aaf7c98 fixes for DB constraints. nest company users 2019-09-18 07:51:40 +10:00
David Bomba
23acdb6394 Add Credit card to client portal 2019-09-17 21:57:59 +10:00
David Bomba
0f9f418e7e Add Credit card to client portal 2019-09-17 21:54:14 +10:00
David Bomba
70d146333b Casts 2019-09-17 20:27:48 +10:00
David Bomba
5211434d49 Working on multiple payment methods per gateway 2019-09-17 15:59:09 +10:00
David Bomba
c79211c4f4 Mitigate nulls in database 2019-09-17 15:42:10 +10:00
David Bomba
bacf1f74a0 Fixes for signup route 2019-09-17 07:42:08 +10:00
David Bomba
3ff6dd4472 Working on credit card auth response 2019-09-16 21:16:20 +10:00
David Bomba
662aa3aed1 Working on credit card auth response 2019-09-16 21:03:25 +10:00
David Bomba
0331575197 Working on card authorisation for Stripe 2019-09-16 14:59:59 +10:00
David Bomba
6b8cbe4e7c Working on preauth credit card stripe 2019-09-16 12:05:30 +10:00
David Bomba
8944727d6b Working on client payment methods 2019-09-15 21:40:46 +10:00
David Bomba
cbb1ca7660 Working on updating credit card 2019-09-14 22:34:05 +10:00
David Bomba
7cfe0c22fb Add Payment Method - client side 2019-09-13 15:52:01 +10:00
David Bomba
b1836224e2 Working on contact payment page 2019-09-13 08:33:48 +10:00
David Bomba
2f164d6a76 Add account to login response 2019-09-12 22:02:25 +10:00
David Bomba
da0c0080a5 Fixes for login api 2019-09-12 21:46:09 +10:00
David Bomba
9431abb300 Working on payment flow - client side 2019-09-12 16:10:21 +10:00
David Bomba
6368ab10f7 Doc Blocks for settings 2019-09-12 13:23:44 +10:00
David Bomba
b7920a072a Set all ID's to strings for consistency 2019-09-12 11:28:41 +10:00
David Bomba
6544ca2977 Dusk UI tests 2019-09-11 21:04:03 +10:00
David Bomba
4536bc0566 API fixes 2019-09-11 20:15:44 +10:00
David Bomba
de3c724f48 Bug Fixes 2019-09-11 16:35:31 +10:00
David Bomba
0d4d1041f5 Refactor of client settings and cascading settings Client > Group > Company finished 2019-09-11 16:00:23 +10:00
David Bomba
ac19a4bb12 Working on cascading settings 2019-09-11 15:32:47 +10:00
David Bomba
af28b02fae Fixes for tests 2019-09-11 13:46:23 +10:00
David Bomba
e329c24879 Fixes for tests 2019-09-11 12:01:49 +10:00
David Bomba
42e54d0bd5 include statics with login response 2019-09-11 10:37:53 +10:00