Merge branch '301-bug-fix-for-computewarrantyexpirydatecommand-php' into 'master'
Resolve "Bug fix for ComputeWarrantyExpiryDateCommand" Closes #301 See merge request jankstudio/resq!339
This commit is contained in:
commit
72c26e0424
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