diff --git a/application/models/Labels_model.php b/application/models/Labels_model.php index 27b8c188..ac2c3e61 100644 --- a/application/models/Labels_model.php +++ b/application/models/Labels_model.php @@ -32,6 +32,7 @@ class Labels_model extends CI_Model { 'metric' => xss_clean($this->input->post('measurementType', true)), 'width' => xss_clean($this->input->post('width', true)), 'height' => xss_clean($this->input->post('height', true)), + 'orientation' => xss_clean($this->input->post('orientation', true)), 'last_modified' => date('Y-m-d H:i:s'), ); @@ -182,6 +183,7 @@ class Labels_model extends CI_Model { 'metric' => xss_clean($this->input->post('measurementType', true)), 'width' => xss_clean($this->input->post('width', true)), 'height' => xss_clean($this->input->post('height', true)), + 'orientation' => xss_clean($this->input->post('orientation', true)), 'last_modified' => date('Y-m-d H:i:s'), ); diff --git a/application/views/labels/createpaper.php b/application/views/labels/createpaper.php index 91d47a0b..ee721d98 100644 --- a/application/views/labels/createpaper.php +++ b/application/views/labels/createpaper.php @@ -33,6 +33,8 @@ + +
@@ -45,6 +47,17 @@ Total height of paper
+
+ +
+ +
+ + Orientation of paper +
diff --git a/application/views/labels/editpaper.php b/application/views/labels/editpaper.php index 8bb02108..cddfb59a 100644 --- a/application/views/labels/editpaper.php +++ b/application/views/labels/editpaper.php @@ -47,6 +47,17 @@ +
+ +
+ + Orientation of paper +
+
+