Travis fix
This commit is contained in:
parent
92756e1864
commit
be60293554
@ -580,10 +580,9 @@ if ($action == "freezone") {
|
||||
|
||||
if ($action == "addnote") {
|
||||
$desc = GETPOST('addnote', 'alpha');
|
||||
if ($idline==0){
|
||||
if ($idline==0) {
|
||||
$invoice->update_note_public($desc);
|
||||
}
|
||||
else foreach ($invoice->lines as $line) {
|
||||
} else foreach ($invoice->lines as $line) {
|
||||
if ($line->id == $idline) {
|
||||
$result = $invoice->updateline($line->id, $desc, $line->subprice, $line->qty, $line->remise_percent, $line->date_start, $line->date_end, $line->tva_tx, $line->localtax1_tx, $line->localtax2_tx, 'HT', $line->info_bits, $line->product_type, $line->fk_parent_line, 0, $line->fk_fournprice, $line->pa_ht, $line->label, $line->special_code, $line->array_options, $line->situation_percent, $line->fk_unit);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user