init
This commit is contained in:
16
modules/EcmInvoiceOuts/calcultePurchasePrices.php
Normal file
16
modules/EcmInvoiceOuts/calcultePurchasePrices.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
$db = $GLOBALS['db'];
|
||||
|
||||
$res = $db->query("SELECT id FROM ecminvoiceouts WHERE document_no = 'FVKOR 1387/14'");
|
||||
|
||||
while ($row = $db->fetchByAssoc($res)) {
|
||||
$i = new EcmInvoiceOut();
|
||||
$i->retrieve($row['id']);
|
||||
|
||||
$i->CalculatePurchasePrices();
|
||||
|
||||
unset($i);
|
||||
}
|
||||
|
||||
echo 'koniec';
|
||||
?>
|
||||
Reference in New Issue
Block a user