diff --git a/app/Controllers/Scheme.php b/app/Controllers/Scheme.php index ec40d197..3909c39a 100644 --- a/app/Controllers/Scheme.php +++ b/app/Controllers/Scheme.php @@ -133,7 +133,7 @@ class Scheme extends BaseController else { // It's an update operation $isactive = $this->request->getPost('isactive'); - $data['isactive'] = ($isactive == 'on') ? 1 : 0; + $data['isactive'] = ($isactive) ? 1 : 0; $data['updated_by'] = $session_uid; $SchemeModel->update($scheme_id, $data); diff --git a/app/Views/business_form.php b/app/Views/business_form.php index 5e0100d0..6ab7e7a6 100644 --- a/app/Views/business_form.php +++ b/app/Views/business_form.php @@ -82,9 +82,7 @@
- +
diff --git a/app/Views/invoice_pdf_template.php b/app/Views/invoice_pdf_template.php index 4bd1529c..82c88e7c 100644 --- a/app/Views/invoice_pdf_template.php +++ b/app/Views/invoice_pdf_template.php @@ -311,17 +311,19 @@ if (count($invoiceDateParts) === 3) { - -
-

Thank you!



- notes)): ?> -

Notes: notes ?>



- - - -

terms ?>



- -
+
+

Thank you!

+ notes)){ ?> +

Notes: notes; ?>

+ + terms)) { ?> +
+                        terms ?>
+                    
+ +
diff --git a/app/Views/scheme_form.php b/app/Views/scheme_form.php index 37bedb0d..dbe4e4a4 100644 --- a/app/Views/scheme_form.php +++ b/app/Views/scheme_form.php @@ -51,14 +51,7 @@ - +
-
- - getFlashdata('error')) : ?> - - + getFlashdata('success')) : ?> + + + getFlashdata('error')) : ?> + +
@@ -39,18 +39,18 @@ - - - - - - - - " class="edit-button"> - - - - + + + + + + + + " class="edit-button"> + + + + @@ -60,10 +60,12 @@
\ No newline at end of file