Bunch of changes including mpdf library for creating pdf of invoices. It now attaches a PDF invoice when marked sent. Don't mark invoice_status sent if it partial or paid, removed green text from balance under clients only use red if the client has a balance and some other cleanups were done
This commit is contained in:
50
vendor/setasign/fpdi/src/PdfParser/PdfParserException.php
vendored
Normal file
50
vendor/setasign/fpdi/src/PdfParser/PdfParserException.php
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/**
|
||||
* This file is part of FPDI
|
||||
*
|
||||
* @package setasign\Fpdi
|
||||
* @copyright Copyright (c) 2019 Setasign - Jan Slabon (https://www.setasign.com)
|
||||
* @license http://opensource.org/licenses/mit-license The MIT License
|
||||
*/
|
||||
|
||||
namespace setasign\Fpdi\PdfParser;
|
||||
|
||||
use setasign\Fpdi\FpdiException;
|
||||
|
||||
/**
|
||||
* Exception for the pdf parser class
|
||||
*
|
||||
* @package setasign\Fpdi\PdfParser
|
||||
*/
|
||||
class PdfParserException extends FpdiException
|
||||
{
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
const NOT_IMPLEMENTED = 0x0001;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
const IMPLEMENTED_IN_FPDI_PDF_PARSER = 0x0002;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
const INVALID_DATA_TYPE = 0x0003;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
const FILE_HEADER_NOT_FOUND = 0x0004;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
const PDF_VERSION_NOT_FOUND = 0x0005;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
const INVALID_DATA_SIZE = 0x0006;
|
||||
}
|
||||
Reference in New Issue
Block a user