Add php files
This commit is contained in:
13
modules/EcmInvoiceOuts2/savefk.php
Executable file
13
modules/EcmInvoiceOuts2/savefk.php
Executable file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
$db=$GLOBALS['db'];
|
||||
ini_set('display_errors',1);
|
||||
ini_set('max_execution_time',9999);
|
||||
$zap=$db->query("select id from ecminvoiceouts");
|
||||
echo $zap->num_rows.'<br>';
|
||||
while($dane=$db->fetchByAssoc($zap)){
|
||||
echo '"'.$dane['id'].'",';
|
||||
$_REQUEST['record'] = $dane['id'];
|
||||
$_REQUEST['file']=1;
|
||||
require ("modules/EcmInvoiceOuts/createPDF.php");
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user