Changeset 160 for devel/www/finance/manage.php
- Timestamp:
- Feb 18, 2009, 12:16:11 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/www/finance/manage.php
r132 r160 357 357 while($Bill = $DbResult->fetch_array()) 358 358 { 359 file_put_contents('doklady/ faktura_'.$Bill['id'].'.pdf', $Bill['pdf']);359 file_put_contents('doklady/doklad_'.$Bill['id'].'.pdf', $Bill['pdf']); 360 360 echo($Bill['id'].','); 361 } 362 } 363 364 function CheckPDFFiles() 365 { 366 global $Database, $InvoiceGenerator; 367 368 $DbResult = $this->Database->query('SELECT * FROM finance_bills'); 369 while($Bill = $DbResult->fetch_array()) 370 { 371 file_put_contents('doklady2/doklad-'.$Bill['id'].'.pdf', file_get_contents('doklady/doklad-'.$Bill['id'].'.pdf')); 372 //echo($InvoiceGenerator->HasPDFFile($Bill['id']).','); 361 373 } 362 374 }
Note:
See TracChangeset
for help on using the changeset viewer.