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

3128 Commits

Author SHA1 Message Date
David Bomba
e4ae78cd41 Fix for auth.net autobill 2021-01-26 20:11:29 +11:00
David Bomba
61ea7e3897 Change thrown exception when adding payment method - auth.net 2021-01-26 16:37:45 +11:00
Benjamin Beganović
64e6dad248
Merge branch 'v5-develop' into v5-2001-gateways-and-new-tokens 2021-01-25 16:47:58 +01:00
Benjamin Beganović
fb66bfbe71 wip 2021-01-25 16:46:40 +01:00
Benjamin Beganović
f5f257292c wip 2021-01-25 16:12:21 +01:00
David Bomba
af523a6346 detach payment method from authorize gateway 2021-01-25 23:16:43 +11:00
David Bomba
64dfe1d6c3 Minor fix for authorize.net 2021-01-25 22:48:12 +11:00
David Bomba
337afe5220
Merge pull request #4758 from turbo124/v5-develop
Fix for updating quote
2021-01-25 22:23:35 +11:00
David Bomba
f950f84b61 Fix for 500 on updating quote by removing contacts 2021-01-25 21:54:36 +11:00
David Bomba
6540a25531 Refactor client numbering 2021-01-25 21:34:12 +11:00
Benjamin Beganović
324fcc287c wip 2021-01-25 10:07:42 +01:00
Benjamin Beganović
3c4e779585 add mount to requiredfields 2021-01-25 10:07:12 +01:00
David Bomba
269f83f317 Translations 2021-01-25 11:57:49 +11:00
David Bomba
af19afedb5 Translations 2021-01-25 10:04:50 +11:00
David Bomba
a0d0c77630 translations 2021-01-25 09:24:13 +11:00
David Bomba
8e06644fac Track payment ID with Activity 54 2021-01-25 07:55:04 +11:00
David Bomba
45cc39a3f1 Add alias for public_notes 2021-01-25 07:50:40 +11:00
David Bomba
b54c3a5b22 Fixes for demo 2021-01-25 07:46:53 +11:00
=
04d1a43dfe Remove strings and replace with translations 2021-01-24 22:48:09 +11:00
=
36d7ee5d6a Small fix for CSV Imports 2021-01-24 21:51:46 +11:00
David Bomba
3fa8158bc3 Fixes for refunds 2021-01-24 20:53:45 +11:00
David Bomba
cecee6cbfe Fixes for tests 2021-01-24 20:28:18 +11:00
David Bomba
0f8ee2d101 Tests for paid_to_date 2021-01-24 20:08:57 +11:00
David Bomba
6170dfae12 Fixes for tests 2021-01-24 20:00:45 +11:00
David Bomba
24dfbe48dc working on paid_to_date fields and calculations 2021-01-24 17:44:14 +11:00
=
e39759c35b Place additional checks in the scheduler to ensure the config is optimized appropriately 2021-01-23 16:09:58 +11:00
=
ad40434686 Additional checks that the scheduler has been configured and is working 2021-01-23 15:52:54 +11:00
=
27c7572821 Do not update or create a product if Invoice generated from a task/expense 2021-01-23 15:42:27 +11:00
David Bomba
272a089c38 Fixes for task and task status order 2021-01-22 21:55:03 +11:00
David Bomba
4b87df07b7 Check that a company gateway always has at least one fee and limits object 2021-01-22 08:36:25 +11:00
David Bomba
3d468e5f40 Company Gateway cleanup 2021-01-22 07:45:00 +11:00
Benjamin Beganović
713a95d3b2 ACH (Stripe):
- Pass instance of $gateway to authorize page for fields  verification
- Support for multiple tokens
2021-01-21 15:53:37 +01:00
Benjamin Beganović
056bee1c47 Credit card (Stripe):
- Wrapped Stripe card widget into div
- Default intent option is setup_future_use now
- Support for token billing
2021-01-21 14:03:38 +01:00
David Bomba
e9e4c39f17 Add support for QR code variables 2021-01-21 23:34:21 +11:00
David Bomba
c173fdcc5b Fixes for ledger 2021-01-21 15:42:30 +11:00
David Bomba
05ea7f092a Fixes for ledger adjustments 2021-01-21 15:05:05 +11:00
David Bomba
ff4f2f3953 Checks on Company Ledger sanity 2021-01-21 12:33:39 +11:00
David Bomba
f06fc9f720 Minor fix for payment validations' 2021-01-21 10:58:54 +11:00
David Bomba
db9e8ff830 Add rules preventing overpayment on invoices 2021-01-21 10:53:02 +11:00
David Bomba
79723759eb Reduce test data size for large account 2021-01-21 10:05:23 +11:00
David Bomba
7d5b679214 Fix for failed() method returning an error instead of exception 2021-01-21 10:02:39 +11:00
David Bomba
62bc55cf0b Fixes for client authentication to client portal 2021-01-21 10:01:13 +11:00
David Bomba
cb959fd3a3
Merge branch 'v5-develop' into v5-develop 2021-01-21 07:58:58 +11:00
Benjamin Beganović
2fccfe2df1 - Rewrite of checkout-credit-card.js
- Fixed bug with detach() on driver class
- Changed the way token checking works from frontend
- Support for multiple payment methods on payment page
- Changed save card label to "Save payment method details"
- Updated relevant Javascript assets
2021-01-20 16:19:01 +01:00
Benjamin Beganović
e5c7fc4416 E-mail improvements:
- Removed injection of Tailwind CSS in the TemplateEngine.php
- Removed tailwindcss@1.4.6.css & tailwind-1.2.0.css
- Updated master template of e-mails for greeting, signature & footer sections
- Updated generic template for emails
- Updated footer (clean up)
- Fixed EntitySentObject.php class name
- Removed css-inliner.php config file
- Updated button component for e-mails
2021-01-20 13:18:17 +01:00
David Bomba
e054894ffa Working on payments 2021-01-20 21:59:24 +11:00
David Bomba
a021bd83d9 Clean up emails 2021-01-20 14:49:22 +11:00
David Bomba
92e5465679 Entity mail failure email 2021-01-20 12:59:39 +11:00
David Bomba
656d7941cb
Merge pull request #4727 from turbo124/v5-develop
Fixes for Migration
2021-01-20 09:41:53 +11:00
David Bomba
612df00a2f Fixes for migration 2021-01-20 09:35:52 +11:00
David Bomba
5ce2a035da Fixes for approve / convert quotes 2021-01-20 08:30:04 +11:00
David Bomba
cfc144b6ec Group Document defaults 2021-01-20 07:22:14 +11:00
Benjamin Beganović
4413580b39 Add authorize view for SOFORT 2021-01-19 16:07:58 +01:00
Benjamin Beganović
617cc54de9 - Pass instance of AuthorizePaymentDriver.php as $gateway instead of CompanyGateway record
- Define required fields for AuthorizePaymentDriver.php
- Update references to $gateway (CompanyGateway)
- Pass $countries to required-client-info.blade.php
- Handle country submission for required-client-info.blade.php
- Only show non-filled fields in RequiredClientInfo.php
2021-01-19 14:36:07 +01:00
Benjamin Beganović
8ed701519b Change views to authorize.blade & pay.blade
Change structure to use the new one
Add $data to pay now button
2021-01-19 14:03:18 +01:00
Benjamin Beganović
6295a2647d refactor authorize.blade.php 2021-01-19 13:43:03 +01:00
Benjamin Beganović
924af2a981 Remove <br/> from template defaults 2021-01-19 11:15:54 +01:00
Benjamin Beganović
5dd38421e7
Merge pull request #4709 from beganovich/v5-1801-refactor-email-templates
(v5) Refactor email templates
2021-01-19 11:07:39 +01:00
David Bomba
cfbf6e8f4e Working on email failure notifications 2021-01-19 20:16:29 +11:00
David Bomba
7907eae103 raw subject and raw body 2021-01-19 11:46:00 +11:00
Benjamin Beganović
9471305021 Add class button to view links 2021-01-18 23:29:20 +01:00
David Bomba
4a34c6b903 Add is_docker variable to account transformeR 2021-01-19 07:40:54 +11:00
David Bomba
f20db94b62 Fixes for how we auth a client contact 2021-01-19 07:29:36 +11:00
David Bomba
63eae6000a fixes for service methods 2021-01-19 07:04:13 +11:00
David Bomba
40f336c469 Fixes for defaults 2021-01-19 07:02:32 +11:00
David Bomba
1a4b5ed51d Add public notes to invoices 2021-01-18 22:08:18 +11:00
David Bomba
81da8e169d Add documents to groups 2021-01-18 22:06:26 +11:00
David Bomba
d4bfca46bc Fixes for reminder job 2021-01-18 21:59:24 +11:00
David Bomba
cbd6f212b5 deprecate old getPaymentMethods() 2021-01-18 13:59:06 +11:00
David Bomba
69bc2f0183 Fixes for getPaymentMethods 2021-01-18 13:12:48 +11:00
David Bomba
bd5defe455 Refactor getPaymentMethods() 2021-01-18 12:36:13 +11:00
David Bomba
6f95715917 Update model exchange rate if client currency differs from company 2021-01-18 10:01:37 +11:00
David Bomba
a33c781919 Payment notifications for online payments to the client 2021-01-18 08:31:49 +11:00
David Bomba
13be9c5ad6 Fixes for autobill 2021-01-17 21:33:05 +11:00
David Bomba
af86d1e69f Fix for import 2021-01-17 20:35:01 +11:00
David Bomba
7e908ef776 Fire notification when sending recurring invoice 2021-01-17 20:14:56 +11:00
David Bomba
ebd9a2c328 Try / catch for webhooks 2021-01-17 15:37:55 +11:00
David Bomba
c4bfb33dbf Add destroy() methods in all controllers 2021-01-17 15:28:03 +11:00
David Bomba
8c8509ca40
Merge pull request #4703 from turbo124/v5-develop
Refactor alternateSave() in BaseRepo
2021-01-16 08:45:37 +11:00
Benjamin Beganović
3970ee3450 only require email in settings 2021-01-15 14:07:33 +01:00
Benjamin Beganović
72b509dfe2 only require postal_code for billing address 2021-01-15 13:27:46 +01:00
Benjamin Beganović
c7226f7fa6 update designs 2021-01-15 13:08:09 +01:00
Benjamin Beganović
8df374c9db add data-refs to taxes 2021-01-15 12:56:05 +01:00
Benjamin Beganović
d43daeaddb hide terms label if terms are empty 2021-01-15 12:44:37 +01:00
David Bomba
cbce8c8a46 minor fixes for client portal 2021-01-15 22:19:34 +11:00
David Bomba
2b77951ea0 Deprecate task fields 2021-01-15 22:01:44 +11:00
Benjamin Beganović
bc584c387c merge upstream/v5-develop 2021-01-15 11:03:40 +01:00
David Bomba
1b551796c5 Recurring PDF Dependencies 2021-01-15 14:10:35 +11:00
David Bomba
2f58096872 Fixes for displaying Recurring Invoice PDF 2021-01-15 13:02:55 +11:00
David Bomba
12c4cdb4ed Refactor alternateSave() in BaseRepo 2021-01-15 11:59:23 +11:00
David Bomba
6857393ff6 Fixes for logging 2021-01-15 10:50:27 +11:00
David Bomba
1f97744083
Merge pull request #4695 from turbo124/v5-develop
Fix for recurring invoice tax calculations.
2021-01-15 09:58:44 +11:00
David Bomba
af1e211abe Fix for recurring invoice tax calculations. 2021-01-15 09:58:21 +11:00
David Bomba
fc6384f051
Merge pull request #4690 from beganovich/v5-0114-design-improvements
(v5) Invoices/quotes design improvements
2021-01-15 08:34:03 +11:00
David Bomba
7b1f7b7bbd
Merge pull request #4687 from beganovich/v5-0114-change-default-pdf-viewer
(v5) Show quotes/invoices in full-screen by default
2021-01-15 08:33:14 +11:00
David Bomba
b72a4567db
Merge pull request #4688 from beganovich/v5-0114-remove-url-in-settings
(v5) Client portal: Remove URL validation from the website
2021-01-15 08:33:09 +11:00
David Bomba
f64a798ca5
Merge pull request #4689 from beganovich/v5-0114-hide-drafts-from-quote-tables
(v5) Client portal: Remove drafts from the quotes table
2021-01-15 08:33:01 +11:00
David Bomba
af1a458b1e
Merge pull request #4691 from beganovich/v5-0114-show-terms
(v5) Support for entity terms
2021-01-15 08:32:54 +11:00
David Bomba
6a8f3d6b1c
Merge pull request #4692 from beganovich/v5-show-partial-due
(v5) Show partial due at invoice totals
2021-01-15 08:32:26 +11:00
Roman Miniv
b20594dc43 Deleted fillable duplicates. 2021-01-14 23:01:31 +02:00
Benjamin Beganović
3bcc9a2d74 show partial due 2021-01-14 16:49:24 +01:00
Benjamin Beganović
c92ae4d86f Support for invoice terms 2021-01-14 16:38:40 +01:00
Benjamin Beganović
1c5c7250ee Unified margin across designs 2021-01-14 15:57:14 +01:00
Benjamin Beganović
a43d756068 missing break 2021-01-14 14:24:43 +01:00
Benjamin Beganović
ab4ed1f2b0 add status converted 2021-01-14 14:22:01 +01:00
Benjamin Beganović
f8e57f57a5 Remove drafts from the quotes-table 2021-01-14 14:17:39 +01:00
Benjamin Beganović
6f9bedd7f1 remove url validation from settings/website 2021-01-14 14:15:09 +01:00
Benjamin Beganović
2a193c97ea Show quotes/invoices in full-screen by default 2021-01-14 13:29:46 +01:00
David Bomba
1ff29a2d55 Fix for usercreated event 2021-01-14 20:31:27 +11:00
Benjamin Beganović
c70eb17c16 fix jpg issues in the documents-table 2021-01-14 10:25:39 +01:00
David Bomba
8b22fa5a47 Fixes for user events 2021-01-14 15:31:45 +11:00
David Bomba
29038a16fa Fixes for tests 2021-01-14 14:56:21 +11:00
David Bomba
7d46ec489a User Activities 2021-01-14 14:44:52 +11:00
David Bomba
502b8f336f HTMLEngine clean up 2021-01-14 13:20:26 +11:00
David Bomba
bf6436e350 Catch exception in Authorize - failedResponse method 2021-01-14 11:47:32 +11:00
David Bomba
ae5f5ac30a Fixes for invitation creation 2021-01-14 10:00:32 +11:00
David Bomba
95e5b89641 fixes for validation of line_items 2021-01-14 08:16:07 +11:00
David Bomba
4ad3e7fc8a Fix for group_settings_id being dropped in certain edge cases 2021-01-14 08:01:27 +11:00
David Bomba
ee85a6487c
Merge pull request #4670 from beganovich/v5-jan12-required-fields
(v5) Required fields for gateways
2021-01-14 07:55:27 +11:00
David Bomba
cfc8c248cd
Merge pull request #4678 from beganovich/v5-0113-fix-authorize
(v5) Fix Authorize.net
2021-01-14 07:55:18 +11:00
David Bomba
f5c37ac2f4 fix for json documents presenting itself as file uploads 2021-01-14 07:53:42 +11:00
David Bomba
97180508e8 Remove stale invoice_type_id properties 2021-01-14 07:35:52 +11:00
David Bomba
20b13d131b Return expense response when using delete route 2021-01-14 07:33:45 +11:00
Benjamin Beganović
0c91226352 fix authorize 2021-01-13 15:36:28 +01:00
Benjamin Beganović
253e2254ef Remove redirect redirect 2021-01-13 13:41:20 +01:00
Benjamin Beganović
9975691ef4 Remove redirect redirect 2021-01-13 13:41:04 +01:00
Benjamin Beganović
9516f877f6 Skip showing the page if no fields 2021-01-13 13:39:34 +01:00
Benjamin Beganović
b755daf7f5 - AuthorizePaymentDriver.php rules 2021-01-13 13:34:21 +01:00
Benjamin Beganović
b014aecc7d - Add getClientRequiredFields in BaseDriver.php
- Pass $fields in @required-client-info
- Don't show form if fields are satisfied
- Remove $gateway reference in RequiredClientInfo.php
- StripePaymentDriver.php required fields
- Removed old-redirect logic for required fields
2021-01-13 13:31:00 +01:00
David Bomba
976f610158 fixes for validation 2021-01-13 23:20:15 +11:00
David Bomba
4ff0108c5c fixes for validation 2021-01-13 22:52:30 +11:00
David Bomba
e3efa5790f Email validation 2021-01-13 22:47:36 +11:00
David Bomba
b5807d8d9c Fixes for document upload from company 2021-01-13 21:18:39 +11:00
David Bomba
3b02dd56e0 Save documents to Company Entity 2021-01-13 21:12:14 +11:00
David Bomba
a6121295c2 Fix for retrieving quote PDF 2021-01-13 19:58:01 +11:00
David Bomba
989d2fe574 Default show dashboard to false 2021-01-13 18:47:14 +11:00
David Bomba
ccf65f1c7c Fix for Hide/Show Client Portal Dashboard 2021-01-13 18:43:26 +11:00
David Bomba
7f03a1900e Refactor notifications to be more specific, ie. Invoice -> Reminder 1 template 2021-01-13 18:20:46 +11:00
David Bomba
eb7cee706d Fixes for displaying company logo in email templates 2021-01-13 12:22:23 +11:00
David Bomba
249c0e8b2b fix for presenting company logo in portal 2021-01-13 12:15:04 +11:00
David Bomba
b2b464fb9e Check PhantomJS response is valid PDF 2021-01-13 10:25:33 +11:00
David Bomba
43626c92a2 Tests for PDF mime 2021-01-13 10:12:01 +11:00
David Bomba
e0c995a8b3 Fix for trailing $ in default templates 2021-01-13 07:40:49 +11:00
Benjamin Beganović
0b4e85957c wip 2021-01-12 16:30:11 +01:00
Benjamin Beganović
cdd62f7e2a wip 2021-01-12 16:23:39 +01:00
Benjamin Beganović
ff3ee60cf9 wip 2021-01-12 15:43:07 +01:00
David Bomba
e804e083a0 Add slight delay to mailer 2021-01-12 20:54:45 +11:00
David Bomba
f0bf26ad14 Fixes for system logging successful gateway responses" 2021-01-12 20:35:47 +11:00
David Bomba
51cd6f71fd fixes for tests which handle remote disks 2021-01-12 19:04:05 +11:00
David Bomba
1432605211 Remove custom values from product table 2021-01-12 18:45:51 +11:00
David Bomba
b0c5cb3f46 Fix for DateTime 2021-01-12 18:40:18 +11:00
David Bomba
6222a1386c Fixes for timezones 2021-01-12 18:38:16 +11:00
David Bomba
e3f0493c48 Cleanup for emails 2021-01-12 10:21:17 +11:00
David Bomba
3cb4585880 Fixes for migrations 2021-01-12 09:14:52 +11:00
David Bomba
63087de0bc Fix for tests (typo) 2021-01-12 09:06:56 +11:00
David Bomba
7d69f5eba3 Changes to schema for expenses, drop redundant columns from company table 2021-01-12 08:57:48 +11:00
David Bomba
b76e404401 Adjust use credits functionality 2021-01-12 08:42:30 +11:00
David Bomba
9e3b28f6ac
Merge pull request #4668 from turbo124/v5-develop
Fixes for recurring invoice cron query
2021-01-12 08:20:52 +11:00
Benjamin Beganović
2f17f7011a Show "Apply credits" only 2021-01-11 15:21:17 +01:00
Benjamin Beganović
50203f56a1 - Fix issue with & not appending correctly
- Bump snappdf
2021-01-11 13:34:54 +01:00
David Bomba
6098700823 Fix partially refunded status 2021-01-11 21:51:54 +11:00
David Bomba
df55785df9 fix for calculating invoice payments (include partial and full refunds). 2021-01-11 21:45:38 +11:00
David Bomba
fe457537b6 Change the way company logos are stored in the settings 2021-01-11 19:27:11 +11:00
David Bomba
fb847dba69 Fixes for recurring cron 2021-01-11 08:06:32 +11:00
David Bomba
d26d26fccf Fixes for client counteR 2021-01-10 21:45:02 +11:00
David Bomba
ffec88979e document migration 2021-01-10 21:17:18 +11:00
David Bomba
7c1d751e56
Merge pull request #4659 from turbo124/v5-develop
Version bump
2021-01-10 09:15:47 +11:00
David Bomba
7285a6df03 Mark invoice as sent if viewed in portal as Draft 2021-01-10 09:13:48 +11:00
David Bomba
e8dd0622e0 Documents for migration 2021-01-09 22:10:04 +11:00
David Bomba
597d582a73 Add third party docs to invoices credit and quotes 2021-01-09 15:18:20 +11:00
David Bomba
c317e93af3 Comments for hosted version 2021-01-09 15:15:53 +11:00
David Bomba
6b5da010a9 Add Ray as dev dependency, handle third party document attachments 2021-01-09 15:10:48 +11:00
Benjamin Beganović
fe4f01d98a Wrap processPaymentView & processPaymentRequest into try-catch 2021-01-08 13:45:08 +01:00
David Bomba
c82d6fa270 additional column on company and expenses table 2021-01-08 21:27:49 +11:00
David Bomba
13420a93b9 Fixes for validation 2021-01-08 21:19:26 +11:00
David Bomba
0797c8e4af fix for fee label 2021-01-08 14:43:29 +11:00
David Bomba
a5290e067e Fix for suming amounts payable 2021-01-08 14:25:54 +11:00
David Bomba
aae2f1d198 Add .datetime variable for invoice designs 2021-01-08 13:15:55 +11:00
David Bomba
da7eb3b4c2 Fixes for invoice creation from recurring where balance doubles 2021-01-08 12:44:31 +11:00
David Bomba
b5606c1524 Fixes for task statuses and tests 2021-01-08 09:25:00 +11:00
David Bomba
2e499adea6 Fix for task status null color value 2021-01-08 09:03:29 +11:00
=
56bcaf0785 Fix for custom payment driver label 2021-01-07 21:09:24 +11:00
David Bomba
5d302ad450 Fixes for multi payments 2021-01-07 18:21:49 +11:00
David Bomba
ceb8637310 fix for type 2021-01-07 17:24:02 +11:00
David Bomba
31dd8b2d77
Merge pull request #4643 from turbo124/v5-develop
Fixes for tax precision
2021-01-07 17:09:08 +11:00
David Bomba
5a840201da Move field from company table to settings 2021-01-07 17:08:34 +11:00
David Bomba
2cd5d2d68a Minor fixes for credit_payments in CP 2021-01-07 10:18:57 +11:00
David Bomba
e42cb6f4d3 display tax rates with no trailing precision 2021-01-07 09:43:08 +11:00
David Bomba
996355a738 Add system_logs to company gateway transformer 2021-01-07 08:27:59 +11:00
David Bomba
3d9755b906
Merge pull request #4624 from beganovich/v5-refactor-calcGatewayFee
(v5) Refactor calcGatewayFee
2021-01-07 07:29:10 +11:00
Benjamin Beganović
e1df465883 Show the message if invoice is unpayable 2021-01-06 14:22:48 +01:00
Benjamin Beganović
b6d55ceea0 php-cs-fixer 2021-01-06 13:06:42 +01:00
Benjamin Beganović
132f9da3ff Pass GatewayType from gateway_type_id on token 2021-01-06 13:06:18 +01:00
David Bomba
9bc27c05d3 remove loggin 2021-01-06 22:28:43 +11:00
David Bomba
04d8bcccb1 Fix for error handling in PayPal driver 2021-01-06 20:28:48 +11:00
David Bomba
65afd70b38 Always ensure the client has a currency set 2021-01-06 19:50:13 +11:00
David Bomba
47f42b804d Fixes for partial credit payments" 2021-01-06 16:54:04 +11:00
David Bomba
3ee3f67c8c Fixes for over payments 2021-01-06 16:14:20 +11:00
David Bomba
6d366febd8 Fixes for paypal driver 2021-01-06 13:26:40 +11:00
David Bomba
c132e9ace8 Fixes for tasks, and migrations 2021-01-06 10:36:20 +11:00
David Bomba
2e3c80500c
Merge pull request #4632 from beganovich/v5-remove-ninja-key-command
(v5) Remove ninja:generate-setup-key command
2021-01-06 08:54:33 +11:00
Benjamin Beganović
2b6b2f8061 Remove ninja:generate-setup-key command 2021-01-05 18:03:57 +01:00
Benjamin Beganović
4ca96b4136 Toggle this hiding behaviour based on settings 2021-01-05 17:55:57 +01:00
Benjamin Beganović
ae534b146b Inject Javascript that'll filter for hidden columns 2021-01-05 17:48:06 +01:00
Benjamin Beganović
329c72128c Set all elements to be hidden by default 2021-01-05 17:47:50 +01:00
Benjamin Beganović
40c5392aa0 Change info() to nlog() 2021-01-05 17:45:34 +01: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
David Bomba
f3e39a203d
Merge pull request #4626 from beganovich/v5-remove-task-calculation-from-backend
(v5) Remove task hours calculation from the invoice/PDF
2021-01-05 09:16:20 +11:00
Benjamin Beganović
4b6257da3b Remove task hours calculation from the invocie 2021-01-04 14:38:56 +01:00
Benjamin Beganović
5833df9850 Refactor calcGatewayFee:
- Remove default GatewayType::CREDIT_CARD
- Swapped spaces for taxes & gateway type
2021-01-04 14:07:50 +01:00
Benjamin Beganović
fd1c655c34 Set debug default to 'false' 2021-01-04 13:43:13 +01:00
Benjamin Beganović
b266def75b Remove debug from the setup page 2021-01-04 13:42:31 +01:00
Benjamin Beganović
603f7baa58 apply php-cs-fixeR 2021-01-04 13:38:00 +01:00
Benjamin Beganović
14efcc77e6 Support for database port on the setup 2021-01-04 13:36:47 +01:00
David Bomba
2dd7e07c82 Fix for expense documents 2021-01-04 22:22:48 +11:00
David Bomba
15b2ee6642 Add additional mimes 2021-01-04 21:49:28 +11:00
David Bomba
ad57469ee4 Flutter Service Worker 2021-01-04 20:53:58 +11:00
David Bomba
934610a01c Update copyright + version bump + set canadian dollar symbol to $ 2021-01-04 08:54:54 +11:00
David Bomba
8653cc6114 Fixes for unique taxrate constraint on update 2021-01-04 08:22:42 +11:00
David Bomba
e791741efa Fixes for displaying recurring invoices in the client portal 2021-01-03 18:56:42 +11:00
David Bomba
34e04ce31b Fixes for recurring invoice daily recurring 2021-01-03 18:08:08 +11:00
=
0dbf1f1dfd Fix for missing Daily Recurring const 2021-01-02 10:01:33 +11:00
=
ba8fcb0de0 Fixes for next_send_date when updating a recurring invoice 2021-01-02 09:52:42 +11:00
=
564e1aefe1 Fixes for next_send_date when updating a recurring invoice 2021-01-02 09:51:13 +11:00
=
0f70579b72 Fixes for client_id_number placeholder for generatescounter 2021-01-02 09:32:58 +11:00
=
6c098160df Allow a user to change only their own password 2021-01-01 20:11:21 +11:00
David Bomba
2e2b815371
Merge pull request #4607 from turbo124/v5-develop
Display client name if contact name is not present
2021-01-01 11:53:34 +11:00
=
1a87b05b96 Display client name if contact is not present 2021-01-01 11:52:42 +11:00
Benjamin Beganović
3d5730d653 pass inclusive taxes 2020-12-31 11:55:09 +01:00
Benjamin Beganović
03cdb516c7 fix issue with gateway type id not being passed 2020-12-31 11:29:40 +01:00
=
02e535b5a1 Fix for recurring invoice null next_send_date 2020-12-31 09:18:29 +11:00
David Bomba
0650f066e2
Merge pull request #4599 from turbo124/v5-develop
Clean up logging
2020-12-31 08:48:56 +11:00
Benjamin Beganović
8df80ddab0 fixes for paypal redirecting to stripe 2020-12-30 12:02:04 +01:00
=
876eedd3f4 Clean up logging 2020-12-30 10:38:07 +11:00
=
eabaed87da Fixes for invoice status 2020-12-30 10:23:14 +11:00
=
ccc4133094 Fixes for recurring 2020-12-30 09:24:33 +11:00
=
389c80ca13 Fixes for import 2020-12-30 08:58:48 +11:00
=
9a5b27eb09 Fixes for importing recurring invoices 2020-12-30 08:43:27 +11:00
=
7a058c9ae6 Move logging to nlog 2020-12-30 08:10:03 +11:00
=
48520746a2 Fixes for migration 2020-12-30 07:37:48 +11:00
=
e14bef7eee Migrate invitations from V4 2020-12-29 10:44:24 +11:00
=
b8fae9249b fixes for migration 2020-12-28 17:04:24 +11:00
=
0a9c66cab8 Autoload snappdf in composer post hooks - add client number when importing 2020-12-28 08:58:49 +11:00
=
4129dba08b Test for HTML output for preview controller 2020-12-26 20:26:19 +11:00
David Bomba
b3962986fb
Merge pull request #4577 from turbo124/v5-develop
Fix for company.users.company_user
2020-12-26 19:04:03 +11:00
=
53ff009d74 fix for company.users.company_user 2020-12-26 19:03:24 +11:00
Benjamin Beganović
6f7ec1c188
Merge pull request #4574 from beganovich/v5-makeCustomField-refactor
(v5) Refactor methods for custom fields
2020-12-25 17:19:02 +01:00
Benjamin Beganović
3219400812
Merge pull request #4575 from beganovich/v5-discount-visibility
(v5) Show $product.quantity & product.discount based on settings
2020-12-25 17:18:54 +01:00
Benjamin Beganović
9f58ccb028 Add support for custom Chromium path (ie. support for Windows & Mac) 2020-12-25 14:15:57 +01:00
Benjamin Beganović
b43b52519f Show $product.quantity & product.discount based on settings 2020-12-25 13:45:37 +01:00
Benjamin Beganović
f3f76e9644 remove duplicate methods 2020-12-25 12:30:40 +01:00
Benjamin Beganović
0bbd910490 apply php-cs-fixer 2020-12-25 12:29:42 +01:00
Benjamin Beganović
3198ef3352 paymentemailengine: refactor to makeCustomField 2020-12-25 12:29:13 +01:00
Benjamin Beganović
491d080ab4 add new makeCustomField (centralised refactor) 2020-12-25 12:27:37 +01:00
Benjamin Beganović
ebfbfb6e10 htmlengine: refactor makeCustomField to helpers 2020-12-25 12:27:23 +01:00
Benjamin Beganović
83ec60cf70 Remove unused makeCustomFieldKeyValuePair() method 2020-12-25 12:25:28 +01:00
Benjamin Beganović
85a27941f2 paymentemailengine: refactor formatCustomFieldValue 2020-12-25 12:13:26 +01:00
Benjamin Beganović
710c08cdef update formatCustomField value to accept nullable client 2020-12-25 12:12:56 +01:00
Benjamin Beganović
2f18ab1eeb htmlengine: refactor formatCustomFieldValue 2020-12-25 12:12:43 +01:00
Benjamin Beganović
2963824924
Merge pull request #4572 from beganovich/v5-ninja-generate-setup-key
(v5) Command to generate app_key value
2020-12-24 17:07:22 +01:00
Benjamin Beganović
f0dbf2ba71 nlog() 2020-12-24 17:01:34 +01:00
Benjamin Beganović
747e34247f add licence info 2020-12-24 15:42:23 +01:00
Benjamin Beganović
01ad794bce generate setup key command 2020-12-24 15:40:20 +01:00
Benjamin Beganović
77a8771c78 Setup improvements:
- Disable Test PDF button while network request loading
- Return correct public/test.pdf file path
2020-12-24 12:25:22 +01:00
David Bomba
bc8c68af18
Merge pull request #4568 from turbo124/v5-develop
Fix for null values in country table
2020-12-24 09:21:26 +11:00
Benjamin Beganović
751b355576
Merge pull request #4565 from beganovich/v5-cleanup-browsershot
(v5) Removing Browsershot & Puppeteer
2020-12-23 18:10:43 +01:00
Benjamin Beganović
4c351f6658 remove node/npm requirement 2020-12-23 16:32:56 +01:00
Benjamin Beganović
972099d89f fix product key 2020-12-23 15:51:29 +01:00
Benjamin Beganović
f98627e47f Rename product.product_key to product.item 2020-12-23 14:25:12 +01:00
Benjamin Beganović
16edac3738 add support for multiline text 2020-12-23 13:49:25 +01:00
Benjamin Beganović
3251efeb40
Merge pull request #4553 from beganovich/v5-support-for-custom-columns-on-invoice
(v5) Support for custom columns on invoice
2020-12-23 13:12:37 +01:00
Benjamin Beganović
ada4f3065c fixes for tests 2020-12-23 11:41:57 +01:00
Benjamin Beganović
a907933d57 transformlineitems -> switch 2020-12-23 11:17:14 +01:00
=
445bf451bf Fixes for tests and throwing correct failure 2020-12-23 09:04:19 +11:00
David Bomba
ef9c0d4975
Merge pull request #4555 from turbo124/v5-develop
Fixes for import / texts
2020-12-23 08:38:32 +11:00
=
383d3ab8c1 Fixes for import / texts 2020-12-23 08:38:13 +11:00
Benjamin Beganović
8fd560dcce process custom columns 2020-12-22 13:56:09 +01:00
Benjamin Beganović
eb5ad3a4ea html engine, new $product1-4 variables 2020-12-22 13:55:40 +01:00
Benjamin Beganović
3b4c2ba5b0 add $custom_value in makeinvoicevalues 2020-12-22 13:55:29 +01:00
Benjamin Beganović
f3c57e87f1 Set default margin to standard A4 printing 2020-12-22 09:43:14 +01:00
Benjamin Beganović
69bc664457
Merge pull request #4549 from beganovich/v5-snappdf-integration
(v5) snappdf support
2020-12-22 09:31:22 +01:00
Benjamin Beganović
6009d49330
Merge pull request #4546 from beganovich/v5-amount-with-fee
(v5) Change amount_with_fee source location
2020-12-22 09:26:24 +01:00
Benjamin Beganović
85d241e15e update global margin 2020-12-21 16:55:47 +01:00
Benjamin Beganović
95c1f60674 Install beganovich/snappdf package 2020-12-21 16:32:04 +01:00
Benjamin Beganović
940c5c77f3 find and setup db by company key in webhook request 2020-12-21 12:19:48 +01:00
Benjamin Beganović
09a5ab4fad Merge remote-tracking branch 'upstream/v5-develop' into v5-amount-with-fee 2020-12-21 12:14:43 +01:00
Benjamin Beganović
f6758873e7 PayPal: Update amount with fee 2020-12-21 12:10:47 +01:00
Benjamin Beganović
0b95e8c8bc Checkout.com: Update amount with fee 2020-12-21 12:10:39 +01:00
Benjamin Beganović
24d76e98f0 Authorize.net: Update amount with fee 2020-12-21 12:10:28 +01:00
Benjamin Beganović
5a8dfd85eb Apply php-cs-fixer 2020-12-21 11:46:46 +01:00
Benjamin Beganović
7764833037 Update Stripe's amount with fee:
- Update Sofort to support latest architecture for payments
2020-12-21 11:46:10 +01:00
David Bomba
950a057496
Merge pull request #4545 from turbo124/v5-develop
Fix for preview
2020-12-21 20:59:17 +11:00
David Bomba
95455f732b Minor fix for preview 2020-12-21 20:58:55 +11:00
Benjamin Beganović
75902c6d3f Fixes for client number formatting 2020-12-21 09:08:12 +01:00
Benjamin Beganović
6f32fd6c4b
Merge pull request #4527 from beganovich/v5-stripe-webhook-support
(v5) Stripe support for webhooks
2020-12-21 08:14:00 +01:00
David Bomba
26cceac505 Fixes for import 2020-12-21 15:55:15 +11:00
David Bomba
ea360cead4 Import notifications 2020-12-21 12:52:33 +11:00
David Bomba
2347b9db7a Import notification 2020-12-21 12:16:26 +11:00
David Bomba
bc06476431 Fix for Quote View Activitry 2020-12-21 10:47:03 +11:00
David Bomba
caa30da38d Ignore HTTPS errors in browsershop 2020-12-21 10:11:33 +11:00
David Bomba
c1edc905db Importing invoices 2020-12-20 20:02:10 +11:00
David Bomba
ccde0eaced Working on importing CSV Invoices 2020-12-20 18:02:58 +11:00
David Bomba
4df646f93b Fixes for tests 2020-12-20 12:21:40 +11:00
David Bomba
d8fab379ac Fixes for release 2020-12-20 08:00:02 +11:00
Benjamin Beganović
92d2a514ca Supprot Stripe for webhooks 2020-12-19 13:11:42 +01:00
David Bomba
6b02d51080 Invoice Import 2020-12-19 18:28:58 +11:00
David Bomba
4877d3c2f5 Working on importing invoices 2020-12-19 15:11:15 +11:00
David Bomba
298deac062 Working on Invoice CSV Import 2020-12-19 14:49:15 +11:00
David Bomba
c3c868b90d Working on Invoice + Payment csv import 2020-12-19 12:45:12 +11:00
=
7285c78afb remove GMP extension requirements 2020-12-19 08:29:32 +11:00
David Bomba
09c2c40903 Fixes for import test 2020-12-18 15:34:40 +11:00
David Bomba
df30f0cbc5 Fixes for github actions 2020-12-18 11:31:27 +11:00
David Bomba
3ad3d0a418 Fix for editting invoice where number in pending state 2020-12-18 07:14:46 +11:00
David Bomba
f45588d26e
Merge pull request #4522 from turbo124/v5-develop
Handle invoice numbers on restore
2020-12-18 07:12:17 +11:00
David Bomba
adab53ed97 Handle restoring a deleted invoice 2020-12-18 07:11:31 +11:00
Benjamin Beganović
220c7f080a Provide action selectors to match PDF elements:
- Add ext-libxml to composer.json
- Support outputting the PDF in CreateEntityPdf.php & GenerateDeliveryNote.php
- Add reference names to Design.php
2020-12-17 15:44:01 +01:00
Benjamin Beganović
eadcff544f Support for multiline entity public notes. 2020-12-17 14:03:07 +01:00
David Bomba
d3cdfd670f Product import 2020-12-17 23:00:32 +11:00
Benjamin Beganović
6fa90c7060 Change webhook order 2020-12-17 12:47:46 +01:00
Benjamin Beganović
79c6cc474a
Merge pull request #4515 from beganovich/v5-checkout-webhooks-update
(v5) Support for Checkout @ webhooks
2020-12-17 12:33:01 +01:00
Benjamin Beganović
5ea07fde66
Merge pull request #4512 from beganovich/v5-remove-trailing-slash-from-setup
(v5) Remove trailing slash from URLs on setup
2020-12-17 12:32:47 +01:00
Benjamin Beganović
942652b668 Update webhooks to support Checkout.com & apply php-cs-fixer 2020-12-17 12:27:15 +01:00
David Bomba
c75bd84cbe
Merge pull request #4514 from turbo124/v5-develop
add enable_product_discount to company table.
2020-12-17 21:57:10 +11:00
Benjamin Beganović
d8405710e7
Merge pull request #4513 from beganovich/v5-webhooks-refactor
(wip) (v5) Webhooks refactor
2020-12-17 11:56:16 +01:00
David Bomba
feb78a63f2 Add service worker back in 2020-12-17 21:53:20 +11:00
Benjamin Beganović
c78a03b095 Remove trailing slash from URLs on setup 2020-12-17 11:10:47 +01:00
David Bomba
24d4095709 Fixes for composer 2020-12-17 10:32:42 +11:00
David Bomba
831d1e0816 revert to exec() to composer install 2020-12-17 10:23:54 +11:00
David Bomba
c498f230d4 Adjustments for post update 2020-12-17 07:12:20 +11:00
David Bomba
d035fce0ac Adjustments for post update 2020-12-17 07:10:06 +11:00
David Bomba
e5c30c67f1
Merge pull request #4506 from turbo124/v5-develop
Adjustments for post update
2020-12-17 07:07:42 +11:00
David Bomba
ad156e5935 Adjustments for post update 2020-12-17 07:06:40 +11:00
Benjamin Beganović
d3033c902d wip 2020-12-16 15:25:42 +01:00
Benjamin Beganović
9662d9af92 Update webhooks for Checkout:
- Update api.php -> gateway_key => company_gateway_id
- Pass correct reference to url in CreditCard.php
- Update PaymentWebhookController.php to support new company_gateway_id
- Update PaymentWebhookRequest.php to resolve company gateway from correct input
2020-12-16 13:47:10 +01:00
Benjamin Beganović
20c010448a apply php-cs-fixer 2020-12-16 12:52:40 +01:00
Benjamin Beganović
9f4481d35f Enable support for ChromiumPdf on setup
Add test.pdf to .gitignore
2020-12-16 12:51:41 +01:00
David Bomba
ece104695c Client Imports 2020-12-16 21:13:02 +11:00
David Bomba
7353687c04 Working on client import 2020-12-16 21:06:20 +11:00
David Bomba
8df553c4cc Working on CSV imports 2020-12-16 11:01:15 +11:00
David Bomba
b087046489 Client import map 2020-12-16 09:17:31 +11:00
David Bomba
5715f34086 Better error handling with self updater 2020-12-16 07:37:30 +11:00
David Bomba
15489e2300
Merge pull request #4499 from turbo124/v5-develop
Better error handling with self updater
2020-12-16 07:36:14 +11:00
David Bomba
bff5b94ff0 Better error handling with self updater 2020-12-16 07:35:54 +11:00
Benjamin Beganović
0c1f17cd4e
Merge pull request #4497 from beganovich/v5-fixes-for-chromiumpdf
(v5) Fixes for ChromiumPdf
2020-12-15 11:50:44 +01:00
Benjamin Beganović
7ccd10adf9 - Change $global-margin to $global_margin to keep consistency
- Update designs accordingly
- Update ChromiumPdf version
- Apply php-cs-fixer
2020-12-15 11:45:04 +01:00
David Bomba
008f3fd45f
Merge pull request #4496 from turbo124/v5-develop
Client filters by name
2020-12-15 20:50:42 +11:00
Benjamin Beganović
3b5c592f25
Merge pull request #4492 from beganovich/v5-experimental-chromiumpdf-support
Experimental PDF rendering
2020-12-15 10:47:39 +01:00
David Bomba
300e42278f Client filters by name 2020-12-15 20:44:22 +11:00
David Bomba
3c9a8fdd35 Fixes for query filters 2020-12-15 20:38:12 +11:00
David Bomba
5025949eaa CSV import 2020-12-15 15:31:49 +11:00
David Bomba
57ee54032f Import CSV 2020-12-15 09:59:41 +11:00
David Bomba
864892a7d2 Migrate white label license 2020-12-15 08:52:14 +11:00
David Bomba
ed20f2c4bc Null safety in translations 2020-12-15 07:53:31 +11:00
Benjamin Beganović
dcd6574b2d Experimental PDF rendering:
- Added experimental flag in ninja.php
- Added experimental rendering in PdfMaker.php
- Added dynamic $global-margin for 1cm/0cm based on PDF method
2020-12-14 17:23:04 +01:00
David Bomba
141f45f402 Minor fixes for currency in expenses 2020-12-14 22:18:54 +11:00
David Bomba
05f4572454
Merge branch 'v5-develop' into v5-develop 2020-12-14 21:44:01 +11:00
David Bomba
64b9f94299 Working on Import / Export 2020-12-14 21:43:07 +11:00
Benjamin Beganović
79570b6118
Merge pull request #4453 from beganovich/v5-custom-payment-driver
(v5) Custom payment driver
2020-12-14 10:12:56 +01:00
David Bomba
c0aa30ab58 Import|Export 2020-12-14 16:03:23 +11:00
David Bomba
d115609d3c Import | Exports 2020-12-14 15:59:15 +11:00
David Bomba
8b808c97fa Fixes for expense currency not setting default 2020-12-14 07:58:18 +11:00
David Bomba
2c4aaa2131 Fixes for sentry reporting 2020-12-14 07:37:29 +11:00
David Bomba
0f86b3ec21 Fixes 2020-12-13 21:33:30 +11:00
David Bomba
6f451b8924 Remove redundant info() Change document download route 2020-12-13 20:46:29 +11:00
David Bomba
d440d4421d Fix for doubling client balance erroneously on emailing" 2020-12-13 11:04:56 +11:00
David Bomba
8abce54d7e Fixes for customised language options for Preview Controller 2020-12-13 10:20:03 +11:00
David Bomba
0f861554f0 Fixes for exec and open_basedir checks 2020-12-13 08:06:47 +11:00
David Bomba
1913318124 bump the import cache timeout from 10 minutes to 60 minutes 2020-12-13 07:54:25 +11:00
David Bomba
419b381c21 Filter exceptions 2020-12-12 22:23:29 +11:00
David Bomba
2a1a9e2a16 Working on import 2020-12-12 21:47:52 +11:00
David Bomba
3419d7900f Tests for importing CSV files 2020-12-12 21:35:42 +11:00
David Bomba
584bef52fc Working on import 2020-12-12 21:01:53 +11:00
David Bomba
aa1a788d6e Public document download route 2020-12-12 19:46:28 +11:00
David Bomba
f6ed7be0da Fixes for expense and project numbers 2020-12-12 07:51:10 +11:00
David Bomba
23f07a901b Version bump to 5.0.35 2020-12-11 23:20:46 +11:00
David Bomba
c94eaa4599 Force Custom Language translations before pushing to PhantomJS 2020-12-11 19:54:40 +11:00
David Bomba
6ee4e45d1e Add custom variables 2020-12-11 17:50:54 +11:00
David Bomba
f49faf8f16 Fix for custom gateway query 2020-12-11 08:10:50 +11:00
David Bomba
763fa6ef08 Fix for custom gateway query 2020-12-11 08:09:04 +11:00
David Bomba
44fdadff07 Return NPM String error rather than bool 2020-12-11 07:24:43 +11:00
Benjamin Beganović
e6890e5430
Merge branch 'v5-develop' into v5-custom-payment-driver 2020-12-10 12:40:27 +01:00
Benjamin Beganović
5f796aeab6 php-cs-fixer 2020-12-10 12:38:46 +01:00
Benjamin Beganović
9df4938837 change gateway type & remove processPayment 2020-12-10 12:38:23 +01:00
David Bomba
c5a4b1fcfd Fixes for version check + schema fixes 2020-12-10 21:48:16 +11:00
David Bomba
3fc8374cb5 Fixes for attempting to create a user with duplicate email 2020-12-10 21:28:19 +11:00
David Bomba
bb1ca556c4 wire up custom gateway 2020-12-10 21:20:12 +11:00
David Bomba
22cd6cdff0 Fixes for NPM/NODE status 2020-12-10 21:06:24 +11:00
David Bomba
8c46e140af Also factor in optin and optout for auto_enabled 2020-12-10 19:51:00 +11:00
David Bomba
894481989c Also factor in optin and optout for auto_enabled 2020-12-10 19:47:17 +11:00
David Bomba
91f90c94e3
Merge pull request #4454 from turbo124/v5-develop
Notifications clean up.
2020-12-10 07:58:08 +11:00
Benjamin Beganović
d45571d7f9 wip 2020-12-09 15:17:48 +01:00
Benjamin Beganović
23a64562c9 fix issue with setup & apply php-cs-fixer 2020-12-09 13:38:22 +01:00
David Bomba
df9fe5677d Notification for quotes credits and invoices 2020-12-09 21:05:26 +11:00
David Bomba
7ba78cc342 Reduce notification emails to one per entity 2020-12-09 20:52:08 +11:00
David Bomba
dc2e5706c6 Fixes for how to display CHF currency 2020-12-09 07:35:26 +11:00
David Bomba
6a03bcc546
Merge branch 'v5-develop' into v5-develop 2020-12-09 07:25:16 +11:00
David Bomba
7075ec5096 Reorder default includes 2020-12-09 07:12:10 +11:00
Benjamin Beganović
829d4feaff
Merge pull request #4445 from beganovich/v5-task-product-key-to-service
(v5) Rename task.product_key to taks.service
2020-12-08 16:53:03 +01:00