Fix for command that computes the expiration date of existing warranties. #301
This commit is contained in:
parent
4bb67ce7b7
commit
f5899f618d
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ class ComputeWarrantyExpiryDateCommand extends Command
|
|||
|
||||
$date_purchase = $warr->getDatePurchase();
|
||||
|
||||
$batteries = $this->wh->getBatteriesForWarrantyPeriod($warr);
|
||||
$batteries = $this->wh->getBatteriesForWarranty($warr);
|
||||
if (!empty($batteries))
|
||||
{
|
||||
$warranty_class = $warr->getWarrantyClass();
|
||||
|
|
|
|||
Loading…
Reference in a new issue