Commit Graph
72 Commits
Author SHA1 Message Date
Belle Aerni 607ab6ce94 Add invoice custom text to PDF 2022-11-12 09:29:13 -08:00
Benjamin Aerni 42d197568e Apply PHP CS Fixer 2022-11-02 12:00:10 -06:00
Belle Aerni 6d557ce39c Fix remaining typos 2022-11-01 18:53:36 -07:00
Belle Aerni 6f75976467 Apply workaround for SVG images on PDFs (#359) 2022-10-18 21:56:56 +02:00
Belle Aerni 1aec4ade28 Replace strftime() with date() (#360)
strftime is depreciated as of PHP 8.1
2022-10-18 09:16:26 -07:00
Belle Aerni 4ebd03739d Always display quantity on the PDF invoice 2022-10-16 14:02:31 -07:00
Belle Aerni 101b9b02ce Removed old font files & more CSS work 2022-10-16 13:14:38 -07:00
Belle Aerni 3f9ccaf4ef Basically everything is in place
Besides half decent styling
2022-10-13 20:57:31 -07:00
Belle Aerni ed0dec0667 Continued to work on it 2022-10-13 19:53:03 -07:00
Belle Aerni 7d459edad3 Let's actually go with dompdf 2022-10-13 14:31:26 -07:00
Belle Aerni 9b484f0c42 Testing replacing TFPDF with mPDF 2022-10-13 13:44:26 -07:00
Belle Aerni 1bb888fc86 Small bugfix to the PDF generator (#341)
* Better handle paths for logo in PDF generation

* Fix typos and specify supported image formats
2022-10-12 10:09:03 +02:00
DataLores 669b714202 Fix Invoice PDF Render with relative path logo
Bugfix from bb-1282. The system module prepends baseUrl when rendering the company[logo_url] value which is used in all html templates. This built-in PHP function strips the base url for the purpose of rendering an on-disk path for the image transform library used in the PDF module.
2022-09-25 20:05:45 -04:00
DataLores 9fb04bbaf7 BugFix Issue #262 Prevent cron from paying deposit invoice with credits (#265)
Deposit invoices types are generated during client add funds and should only be payable via payment gateways with valid transactions.
2022-09-25 11:12:43 +02:00
S4 Hosting 3b2add7d2b Fixed blank files 2022-06-03 08:24:21 +03:00
S4 Hosting b5427fdd46 Copyright and license notices changed to correctly comply with Apache 2.0 2022-05-31 14:51:44 +03:00
CatFlip™ 33eb58c70a Fixed sample + messages + some others 2022-05-26 22:49:01 -05:00
CatFlip™ 1dea204c0c Literal and link references
All literal ("BoxBilling") references and link ("www.boxbilling.org") were replaced. Also replaced all fossbiling.org "http://" by "https://"
2022-05-26 17:55:34 -05:00
andpavlenko 1798068e5a Add seller company name to PDF invoice 2022-05-04 06:38:30 +00:00
andpavlenko ffc2c1bf5f Improve PDF invoice design 2022-04-29 17:39:52 +00:00
Andrey Pavlenkoandandpavlenko 9b474dee89 Bump to Twig 3 (#1264)
* Bump to Twig 3 and update templates

* Update composer.lock

* Fix test Box\Mod\System\ServiceTest::testrenderStringTemplate

Co-authored-by: andpavlenko <lance@xosting.net.ua>
2022-04-09 11:02:17 +03:00
andpavlenko f4c4f6bac7 Mirgate to PSR12 and other small fixes 2022-04-01 09:32:55 +00:00
Yağızhan 6da692d454 Update Service.php (#1034) 2021-09-20 09:04:36 -07:00
Benjamin Aerni 6cc85ddbbc Fix copyright URL (#1018)
* Update copyright URL to https://www.boxbilling.org

* I don't know the exact copyright of this file, but we definitely don't own it
2021-08-30 19:20:13 -07:00
Benjamin Aerni 389985b6d2 Some better security practices (#989)
* Use random_bytes instead of uniqid

* Base 64 encode password for CWP server account creation

* cURL should check the SSL with CWP servers
2021-08-19 18:32:29 -07:00
Benjamin Aerni 1517016c98 Fix some text being clipped 2021-08-07 08:53:03 -07:00
Benjamin Aerni 658f6a1d6a Import TFPDF fonts and fixes by YukariChiba
Original patches:
https://github.com/YukariChiba/boxbilling/commit/2efc3defb69867eb846a24508191d33a808ad72c
-and-
https://github.com/YukariChiba/boxbilling/commit/447da5d22019b241f1bc3d84e068dc639c607374
2021-08-07 08:36:50 -07:00
Fordnox 17dc286a1f Fixes
https://github.com/boxbilling/boxbilling/issues/713
2020-11-04 22:18:06 +02:00
samapraku 7e0d9841b6 Fix domain adapter not working due to no logger 2020-10-15 11:40:05 +02:00
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