From 1f479adc418b443e6212d95a86516e0da377fdd7 Mon Sep 17 00:00:00 2001 From: Isaac Machakata Date: Wed, 27 Mar 2024 05:08:38 +0200 Subject: [PATCH] refactor: show records when adding a new record --- app/Views/forms/advanced-salary.php | 89 +++++++++++++++++----- app/Views/forms/travel-and-subsistency.php | 2 +- 2 files changed, 73 insertions(+), 18 deletions(-) diff --git a/app/Views/forms/advanced-salary.php b/app/Views/forms/advanced-salary.php index 1f5538f..c0e1e59 100644 --- a/app/Views/forms/advanced-salary.php +++ b/app/Views/forms/advanced-salary.php @@ -2,27 +2,82 @@ extract($this->data); $this->setVar('title', 'Advanced Salary'); echo $this->include('_templates/head'); ?> -
-
- include('_templates/header'); ?> - include('_templates/alerts'); ?> -
-
-
- - +
+
+
+
+
+
+ +

New Advanced Salary Requisition

+
+ Submit a new advanced salary requisition +
+ + include('_templates/alerts'); ?> +
+
+ + +
+
+
+
+ + +
+
+
+ +
+ +
-
-
- - +
+
+
+

My Advanced Requisitions

+
+ + You have advanced salary submittions + + You have not made any advanced salary requisitions. + +
+ +
+
+
+
+ Amount: $Amount, 2) ?> USD +
+
+ Status) ?> + +
+
+
+
+

+ Reason ?> +

+

+ Last Updated: UpdatedAt->humanize() ?> +

+
+
+ + links() : '' ?> +
-
- -
- +
include('_templates/footer'); ?> \ No newline at end of file diff --git a/app/Views/forms/travel-and-subsistency.php b/app/Views/forms/travel-and-subsistency.php index daa7929..c0ad79c 100644 --- a/app/Views/forms/travel-and-subsistency.php +++ b/app/Views/forms/travel-and-subsistency.php @@ -53,7 +53,7 @@
- +