mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
Fix : shipment was not considered as billed after classifybilled function
This commit is contained in:
@@ -1540,6 +1540,8 @@ class Expedition extends CommonObject
|
|||||||
if ($this->db->query($sql) )
|
if ($this->db->query($sql) )
|
||||||
{
|
{
|
||||||
//TODO: Option to set order billed if 100% of order is shipped
|
//TODO: Option to set order billed if 100% of order is shipped
|
||||||
|
$this->billed=1;
|
||||||
|
$this->db->commit();
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user