[-] Classes : all classes and controllers now use their name in static calls instead of self (improve override) #PSFV-376
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12552 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1041,7 +1041,7 @@ class OrderCore extends ObjectModel
|
||||
if ($order_invoice->number)
|
||||
Configuration::updateValue('PS_INVOICE_START_NUMBER', false);
|
||||
else
|
||||
$order_invoice->number = self::getLastInvoiceNumber() + 1;
|
||||
$order_invoice->number = Order::getLastInvoiceNumber() + 1;
|
||||
|
||||
$order_invoice->total_discount_tax_excl = $this->total_discounts_tax_excl;
|
||||
$order_invoice->total_discount_tax_incl = $this->total_discounts_tax_incl;
|
||||
|
||||
Reference in New Issue
Block a user