mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
Update method name
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
254ce72415
commit
8e18ce74b2
|
@ -789,7 +789,7 @@ class ReportsController extends Controller
|
|||
|
||||
if ($request->filled('warranty')) {
|
||||
$row[] = ($asset->warranty_months) ? $asset->warranty_months : '';
|
||||
$row[] = $asset->present()->warrantee_expires();
|
||||
$row[] = $asset->present()->warranty_expires();
|
||||
}
|
||||
|
||||
if ($request->filled('depreciation')) {
|
||||
|
|
|
@ -501,7 +501,7 @@ class AssetPresenter extends Presenter
|
|||
* Date the warantee expires.
|
||||
* @return false|string
|
||||
*/
|
||||
public function warrantee_expires()
|
||||
public function warranty_expires()
|
||||
{
|
||||
if (($this->purchase_date) && ($this->warranty_months)) {
|
||||
$date = date_create($this->purchase_date);
|
||||
|
|
Loading…
Reference in a new issue