Update invoice.php
This commit is contained in:
parent
6417d3ddf7
commit
1061a9f9fe
@ -152,7 +152,7 @@ $invoice = new Facture($db);
|
|||||||
if ($invoiceid > 0) {
|
if ($invoiceid > 0) {
|
||||||
$ret = $invoice->fetch($invoiceid);
|
$ret = $invoice->fetch($invoiceid);
|
||||||
} else {
|
} else {
|
||||||
$ret = $invoice->fetch('', '(PROV-POS'. isset($_SESSION["takeposterminal"]) ? $_SESSION["takeposterminal"] : '' .'-'.$place.')');
|
$ret = $invoice->fetch('', '(PROV-POS'. (isset($_SESSION["takeposterminal"]) ? $_SESSION["takeposterminal"] : '') .'-'.$place.')');
|
||||||
}
|
}
|
||||||
if ($ret > 0) {
|
if ($ret > 0) {
|
||||||
$placeid = $invoice->id;
|
$placeid = $invoice->id;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user