Changeset 727 for trunk/Modules/Finance/Bill.php
- Timestamp:
- Jan 6, 2015, 12:02:36 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Finance/Bill.php
r720 r727 4 4 { 5 5 var $SpecificSymbol = 1; // počítačová sít 6 6 var $Checked; 7 7 8 function GenerateHTML() 8 9 { … … 21 22 { 22 23 $Encoding = new Encoding(); 24 if($this->Checked == false) { 25 if(CommandExist('htmldoc')) { 26 $this->Checked = true; 27 } else throw new Exception('htmldoc is not installed.'); 28 } 23 29 $Output = shell_exec('echo "'.addslashes($Encoding->FromUTF8($HtmlCode)). 24 30 '"|htmldoc --no-numbered --webpage --no-embedfonts --charset 8859-2 -t pdf -');
Note:
See TracChangeset
for help on using the changeset viewer.