Update facture.class.php
This commit is contained in:
parent
022f842cb0
commit
e3b1cb9fdb
@ -4828,10 +4828,10 @@ class FactureLigne extends CommonInvoiceLine
|
|||||||
* Warning: If invoice is a replacement invoice, this->fk_prev_id is id of the replaced line.
|
* Warning: If invoice is a replacement invoice, this->fk_prev_id is id of the replaced line.
|
||||||
*
|
*
|
||||||
* @param int $invoiceid Invoice id
|
* @param int $invoiceid Invoice id
|
||||||
* @param bool $include_credit_note
|
* @param bool $include_credit_note Include credit note or not
|
||||||
* @return int >= 0
|
* @return int >= 0
|
||||||
*/
|
*/
|
||||||
function get_prev_progress($invoiceid, $include_credit_note = true)
|
function get_prev_progress($invoiceid, $include_credit_note=true)
|
||||||
{
|
{
|
||||||
if (is_null($this->fk_prev_id) || empty($this->fk_prev_id) || $this->fk_prev_id == "") {
|
if (is_null($this->fk_prev_id) || empty($this->fk_prev_id) || $this->fk_prev_id == "") {
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user