Commit Graph
43 Commits
Author SHA1 Message Date
samapraku ce3e02eca5 Correctly use qantity for invoice items prices 2020-08-18 20:26:26 +02:00
samapraku 4d0638c952 Fix logic for setting invoice items prices 2020-07-30 18:39:08 +02:00
samapraku d107600bf2 Merge branch 'twig-2-upgrade' 2020-07-21 02:12:15 +02:00
samapraku 833ad2b5c9 Upgrade from mcrypt to openssl for PHP 7.2 2020-07-21 02:06:55 +02:00
samapraku 30a5516171 Upgrade to twig 2.9 2020-07-21 01:07:06 +02:00
Vaidas Lungis 8ebff47158 fix typos in pdf generate script
[ci skip]
2015-09-11 10:13:01 +03:00
4Giedrius 5103302ebb Cron job memory optimizations 2015-07-01 16:59:52 +03:00
Vaidas Lungis 282ec40399 update Invoice doBatchPaidInvoiceActivation()
optimize for cron
2015-05-22 14:35:24 +03:00
Vaidas Lungis d28051b5ec fiscal regulation problem with invoice series and invoice date
use paid_at date for paid invoices.

issue #307
2015-04-17 13:28:23 +03:00
4Giedrius 90e562365c Using $di['array_get'] where possible 2015-04-10 17:23:05 +03:00
4Giedrius 779fcc323d Using getExistingModelById instad of load method, when trying to get model by ID 2015-04-08 17:37:45 +03:00
4Giedrius 9f56a477d2 Using array_get in Invoices getSearchQuery method 2015-03-31 17:48:46 +03:00
4Giedrius 15b47b9f4c Using array_get when updating model [ci skip] 2015-03-27 11:30:12 +02:00
Vaidas Lungis a473073ba0 replace di['api_request_data'] with di['array_get'] 2015-03-26 10:57:37 +02:00
4Giedrius 3aaf290b5f Missing break statement added 2015-03-25 12:46:05 +02:00
Vaidas Lungis 29bec44f57 refactor Invoice\Service:updateInvoice() to decrease npath complexity 2015-03-23 13:34:10 +02:00
Vaidas Lungis e7b12103dc fix scrutinizer issues 2015-03-16 17:05:38 +02:00
Vaidas Lungis 81d87b983a fix invalid db find statement
create integration client remove test
2015-03-16 13:35:08 +02:00
Vaidas Lungis 2ecde5cd45 create isInvoiceDepositType() 2015-03-12 18:08:03 +02:00
Vaidas Lungis 1f686b4e7a update findAllUnpaid
instead of comparing total sums of client balance and total unpaid invoice amount, compare client balance and invoice item price.

Find all unpaid invoices which can be covered from client balance.
2015-03-12 14:21:05 +02:00
Vaidas Lungis fbd9b82528 add company VAT, number and account fields to invoice pdf 2015-03-12 11:49:15 +02:00
Vaidas Lungis 72e80f8c0a update invoice onAfterAdminCronRun hook content
remove_after_days setting is set in settings table.
2015-03-09 10:56:06 +02:00
Vaidas Lungis a6622c693d 4.15.5
update payment adapters

Conflicts:
	tests/fixtures/mod_invoice.xml
	tests/fixtures/transactions.xml
2015-03-04 18:08:53 +02:00
Vaidas Lungis 31ba57b407 Deposit invoice should be marked as paid and do not charge for it after transaction received 2015-03-04 12:05:12 +02:00
Vaidas Lungis 799312285f add missing account_number variable. 2015-02-24 10:28:26 +02:00
Vaidas Lungis 4fc32c3a06 Finish compatibility-MySQL-5.6
MySQL 5.6 versions default sql_mode value is STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION

Conflicts:
	CHANGELOG.md
2015-02-19 17:38:14 +02:00
4Giedrius 2706726278 Added missing paramater 2015-02-17 18:05:36 +02:00
4Giedrius 7e4df76c74 Fixed special symbols encoding issue in PDF file 2015-02-17 10:49:22 +02:00
4Giedrius 5a1a76ed09 Currency format fixed for invoice PDF 2015-02-13 17:01:05 +02:00
4Giedrius be4fc7d944 Change date('c') to date('Y-m-d H:m:s') to match strict DATETIME format of MySQL 2015-02-06 16:39:28 +02:00
Vaidas Lungis 62ee45c96f prepareInvoice() will return Model_Invoice object instead of invoice id 2015-01-27 11:09:48 +02:00
Vaidas Lungis 4aa393fde2 remove unused, duplicate getPaymentAdapter() from InvoiceService
there is getPaymentAdapter() in ServicePayGateway and it is used
2015-01-14 09:58:18 +02:00
Vaidas Lungis 24313b903f fix cancel and return url of payment gateway
Generate correct url when sef url is not enabled
resolve #213
2015-01-09 13:48:07 +02:00
4Giedrius a3c8c57bcd Finish 4.12.6 2015-01-08 13:50:44 +02:00
4Giedrius 2ce622e247 Logo image in PDF logic improved. Interlacing is now supported. Fixes #214 2015-01-08 13:49:25 +02:00
4Giedrius dd314447c3 Invoice due date fix 2015-01-07 11:15:20 +02:00
4Giedrius 1d3068051d Set DI only if adapter has such method 2015-01-06 14:26:37 +02:00
4Giedrius aa20453ede FIX: 'The method isSubscribable() does not seem to exist on object<Box\Mod\Invoice\Service>.' 2014-12-10 09:18:42 +02:00
4Giedrius 4dc69ce780 PHPDoc updates 2014-12-09 16:26:13 +02:00
Giedrius 99641300ea Merge pull request #200 from 4Giedrius/develop
Code fixes
2014-12-08 17:28:21 +02:00
4Giedrius ddb0f41f43 Duplicate function updateParam() removed in favor of setParamValue() 2014-12-05 15:23:42 +02:00
4Giedrius 70cfc2d9fb Calculate item tax according to item quantity 2014-11-20 16:11:08 +02:00
fordnox 5af4cc20d9 Initial release 2014-11-03 09:00:47 +02:00