diff --git a/app/views/header.blade.php b/app/views/header.blade.php index 0303b6ad202f..4813ee4d6538 100755 --- a/app/views/header.blade.php +++ b/app/views/header.blade.php @@ -456,7 +456,7 @@ if (isStorageSupported()) { @if (Auth::check() && !Auth::user()->registered) localStorage.setItem('guest_key', '{{ Auth::user()->password }}'); - @endif + @endif } @if (!Auth::check() || !Auth::user()->registered) diff --git a/app/views/public/about_us.blade.php b/app/views/public/about_us.blade.php index 2623fcf69e3a..f6552c2995d4 100644 --- a/app/views/public/about_us.blade.php +++ b/app/views/public/about_us.blade.php @@ -74,7 +74,7 @@
-

Invoice Now +

+

Invoice Now +

diff --git a/app/views/public/contact_us.blade.php b/app/views/public/contact_us.blade.php index d5f7cde55618..6f9d695baff2 100644 --- a/app/views/public/contact_us.blade.php +++ b/app/views/public/contact_us.blade.php @@ -53,18 +53,6 @@ var contactForm = { } }; -function isStorageSupported() { - try { - return 'localStorage' in window && window['localStorage'] !== null; - } catch (e) { - return false; - } -} - -function getStarted() { - $('#startForm').submit(); -} -
@@ -139,7 +127,7 @@ function getStarted() {
-

Invoice Now +

+

Invoice Now +

diff --git a/app/views/public/header.blade.php b/app/views/public/header.blade.php index 49f74f4b40f9..08983762017a 100644 --- a/app/views/public/header.blade.php +++ b/app/views/public/header.blade.php @@ -27,22 +27,31 @@ diff --git a/app/views/public/splash.blade.php b/app/views/public/splash.blade.php index 2a520e2e525c..e948438dd1dd 100755 --- a/app/views/public/splash.blade.php +++ b/app/views/public/splash.blade.php @@ -27,7 +27,7 @@
-

Invoice Now +

+

Invoice Now +

@@ -102,7 +102,7 @@
-

Invoice Now +

+

Invoice Now +

diff --git a/public/js/script.js b/public/js/script.js index dbbaac137766..618670d40ba7 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -793,8 +793,6 @@ function GetReportTemplate1(doc, invoice, layout, checkMath) - - function GetReportTemplate2(doc, invoice, layout, checkMath) { var GlobalY=0;//Y position of line at current page