diff --git a/templates/time_attendance_record_detail.html b/templates/time_attendance_record_detail.html index 74090cf..738b6bb 100644 --- a/templates/time_attendance_record_detail.html +++ b/templates/time_attendance_record_detail.html @@ -21,10 +21,10 @@

- Record Details + Time Attendance Record Details

- Detailed information for attendance record #{{ record.id }} + Detailed information for {{ record.employee_name }}

@@ -44,33 +44,8 @@
- -
-
-

- - Employee Information -

-
-
-
-
- {{ record.employee_name[0].upper() if record.employee_name else record.employee_id[0].upper() }} -
-
-

{{ record.employee_name }}

-
-
- - Employee ID: {{ record.employee_id }} -
-
-
-
-
-
- - + +

@@ -79,31 +54,78 @@

-
+
+ +
+
+ + ID +
+
+ {{ record.employee_id }} +
+
+ + +
+
+ + Name +
+
+ {{ record.employee_name }} +
+
+ + +
+
+ + Platform +
+
+ {{ record.platform if record.platform else 'Not specified' }} +
+
+ +
Date
- {{ record.attendance_date.strftime('%A, %B %d, %Y') }} + {{ record.attendance_date.strftime('%Y-%m-%d') }}
+
Time
- {{ record.attendance_time.strftime('%I:%M:%S %p') }} + {{ record.attendance_time.strftime('%H:%M:%S') }}
+
- - Action + + Location Name +
+
+ {{ record.location_name }} +
+
+ + +
+
+ + Action Description
@@ -119,41 +141,9 @@
-
-
- - Full Date & Time -
-
- {{ record.formatted_datetime }} -
-
-
-
-
- - -
-
-

- - Location Information -

-
-
-
-
-
- - Location Name -
-
- {{ record.location_name }} -
-
- + {% if record.event_description %} -
+
Event Description @@ -164,45 +154,23 @@
{% endif %} - {% if record.recorded_address %} +
- + Recorded Address
+ {% if record.recorded_address %} {{ record.recorded_address }} -
-
- {% endif %} -
-
-
- - - {% if record.platform %} -
-
-

- - Device Information -

-
-
-
-
-
- - Platform -
-
- {{ record.platform }} + {% else %} + No address recorded + {% endif %}
- {% endif %}
@@ -213,7 +181,7 @@
-
+
{% if record.import_batch_id %}
@@ -261,7 +229,7 @@
- +
@@ -323,32 +280,33 @@
-