From 9698099e219e1b3dc708b23f64f0f287ab1c5c8c Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 7 Feb 2023 17:19:38 +1100 Subject: [PATCH] Fixes for approve quotes with no terms/signature requirements --- public/js/clients/quotes/approve.js | 2 +- public/mix-manifest.json | 2 +- resources/js/clients/quotes/approve.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/js/clients/quotes/approve.js b/public/js/clients/quotes/approve.js index 3810671a3806..cc5c2cc570f9 100644 --- a/public/js/clients/quotes/approve.js +++ b/public/js/clients/quotes/approve.js @@ -1,2 +1,2 @@ /*! For license information please see approve.js.LICENSE.txt */ -(()=>{function e(e,t){for(var n=0;n{function e(e,t){for(var n=0;n { - if (!this.shouldDisplaySignature && !this.shouldDisplayTerms && this.shouldDisplayUserInput){ + if (!this.shouldDisplaySignature && !this.shouldDisplayTerms && this.shouldDisplayUserInput){ this.displayInput(); document @@ -146,7 +146,7 @@ class Approve { }); } - if (!this.shouldDisplaySignature && !this.shouldDisplayTerms && this.shouldDisplayUserInput) { + if (!this.shouldDisplaySignature && !this.shouldDisplayTerms && !this.shouldDisplayUserInput) { this.submitForm(); } });