Update card.php
This commit is contained in:
parent
1b7b45d72a
commit
56787bc292
@ -2367,7 +2367,7 @@ if (empty($reshook)) {
|
|||||||
$line = new FactureLigne($db);
|
$line = new FactureLigne($db);
|
||||||
$line->fetch(GETPOST('lineid', 'int'));
|
$line->fetch(GETPOST('lineid', 'int'));
|
||||||
$percent = $line->get_prev_progress($object->id);
|
$percent = $line->get_prev_progress($object->id);
|
||||||
$progress = floatval(GETPOST('progress', 'int'));
|
$progress = price2num(GETPOST('progress', 'alpha'));
|
||||||
|
|
||||||
if ($object->type == Facture::TYPE_CREDIT_NOTE && $object->situation_cycle_ref > 0) {
|
if ($object->type == Facture::TYPE_CREDIT_NOTE && $object->situation_cycle_ref > 0) {
|
||||||
// in case of situation credit note
|
// in case of situation credit note
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user