diff --git a/views/admin/work_hours/_form.php b/views/admin/work_hours/_form.php new file mode 100644 index 0000000..4df8dbd --- /dev/null +++ b/views/admin/work_hours/_form.php @@ -0,0 +1,19 @@ + of both create.php +// and edit.php. Expects: +// $data : associative array with every work_hours column (week_day, open, close) +// $dias : week_day value => label map +?> +
+
+
+
+
+
+
+
diff --git a/views/admin/work_hours/create.php b/views/admin/work_hours/create.php index a89c857..ed543f2 100644 --- a/views/admin/work_hours/create.php +++ b/views/admin/work_hours/create.php @@ -36,19 +36,7 @@ include __DIR__ . '/../../../includes/header.php';
-
-
-
-
-
-
-
-
+
Cancelar diff --git a/views/admin/work_hours/edit.php b/views/admin/work_hours/edit.php index 02a66b4..a8c4171 100644 --- a/views/admin/work_hours/edit.php +++ b/views/admin/work_hours/edit.php @@ -46,19 +46,7 @@ include __DIR__ . '/../../../includes/header.php';
-
-
-
-
-
-
-
-
+
Cancelar