From a30b9039decdc21597d03fa39b497924b920a517 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Fri, 6 Nov 2015 09:54:29 +0200 Subject: [PATCH] Bug fixes --- app/Models/Contact.php | 14 -------------- resources/views/invoices/edit.blade.php | 5 +++-- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/app/Models/Contact.php b/app/Models/Contact.php index 731900e35840..782a7e47424a 100644 --- a/app/Models/Contact.php +++ b/app/Models/Contact.php @@ -32,20 +32,6 @@ class Contact extends EntityModel return PERSON_CONTACT; } - /* - public function getLastLogin() - { - if ($this->last_login == '0000-00-00 00:00:00') - { - return '---'; - } - else - { - return $this->last_login->format('m/d/y h:i a'); - } - } - */ - public function getName() { return $this->getDisplayName(); diff --git a/resources/views/invoices/edit.blade.php b/resources/views/invoices/edit.blade.php index d4e1ad2055fb..a2c90a1d9d81 100644 --- a/resources/views/invoices/edit.blade.php +++ b/resources/views/invoices/edit.blade.php @@ -77,7 +77,8 @@