| 
									
										
										
										
											2023-08-02 00:55:42 +08:00
										 |  |  | <div id="qsl_card_labels_container" class="container"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <br> | 
					
						
							|  |  |  | 	<?php if($this->session->flashdata('message')) { ?>
 | 
					
						
							|  |  |  | 		<!-- Display Message --> | 
					
						
							| 
									
										
										
										
											2023-08-03 01:10:35 +08:00
										 |  |  | 		<div class="alert alert-success" role="alert"> | 
					
						
							|  |  |  | 			<?php echo $this->session->flashdata('message'); ?>
 | 
					
						
							|  |  |  | 		</div> | 
					
						
							|  |  |  | 	<?php } ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	<?php if($this->session->flashdata('error')) { ?>
 | 
					
						
							|  |  |  | 		<!-- Display Message --> | 
					
						
							|  |  |  | 		<div class="alert alert-danger" role="alert"> | 
					
						
							|  |  |  | 			<?php echo $this->session->flashdata('error'); ?>
 | 
					
						
							|  |  |  | 		</div> | 
					
						
							|  |  |  | 	<?php } ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	<?php if($this->session->flashdata('warning')) { ?>
 | 
					
						
							|  |  |  | 		<!-- Display Message --> | 
					
						
							|  |  |  | 		<div class="alert alert-warning" role="alert"> | 
					
						
							|  |  |  | 			<?php echo $this->session->flashdata('warning'); ?>
 | 
					
						
							| 
									
										
										
										
											2023-08-02 00:55:42 +08:00
										 |  |  | 		</div> | 
					
						
							|  |  |  | 	<?php } ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <?php echo validation_errors(); ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <form method="post" action="<?php echo site_url('labels/createpaper'); ?>" name="create_paper_type"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 	<div class="card"> | 
					
						
							|  |  |  | 		<h2 class="card-header"><?php echo $page_title; ?></h2>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		<div class="card-body"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 			<!-- Label Name Input --> | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 	    	<div class="mb-3 row"> | 
					
						
							| 
									
										
										
										
											2023-08-02 00:55:42 +08:00
										 |  |  | 			    <label class= "col-sm-2 col-form-label" for="PaperName">Paper Type Name</label> | 
					
						
							|  |  |  | 				<div class="col-sm-4"> | 
					
						
							|  |  |  | 					<input name="paper_name" type="text" class="form-control" id="PaperName" aria-describedby="paper_nameHelp"> | 
					
						
							|  |  |  | 					<small id="paper_nameHelp" class="form-text text-muted">Paper name used for display purposes, so pick something meaningful.</small> | 
					
						
							|  |  |  | 	</div> | 
					
						
							|  |  |  | 					<label class="col-sm-2 col-form-label" for="measurementType">Measurement used</label> | 
					
						
							|  |  |  | 					<div class="col-sm-4"> | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 						<select name="measurementType" class="form-select" id="measurementType"> | 
					
						
							| 
									
										
										
										
											2023-08-02 18:07:22 +08:00
										 |  |  | 							<option selected value="mm">Millimeters</option> | 
					
						
							| 
									
										
										
										
											2023-08-04 12:45:10 +08:00
										 |  |  | 							<option value="in">Inches</option> | 
					
						
							| 
									
										
										
										
											2023-08-02 00:55:42 +08:00
										 |  |  | 						</select> | 
					
						
							|  |  |  | 					</div> | 
					
						
							|  |  |  |   			</div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 			<div class="mb-3 row"> | 
					
						
							| 
									
										
										
										
											2023-08-02 00:55:42 +08:00
										 |  |  |     			<label class="col-sm-2 col-form-label" for="width">Width of paper</label> | 
					
						
							|  |  |  | 			    <div class="col-sm-4"> | 
					
						
							|  |  |  | 				    <input name="width" type="text" class="form-control" id="width" aria-describedby="widthHelp"> | 
					
						
							|  |  |  | 			    	<small id="widthHelp" class="form-text text-muted">Total width of paper.</small> | 
					
						
							|  |  |  | 			    </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     			<label class="col-sm-2 col-form-label" for="height">Height of paper</label> | 
					
						
							|  |  |  | 			    <div class="col-sm-4"> | 
					
						
							|  |  |  | 				    <input name="height" type="text" class="form-control" id="height" aria-describedby="heightHelp"> | 
					
						
							|  |  |  | 			    	<small id="heightHelp" class="form-text text-muted">Total height of paper</small> | 
					
						
							|  |  |  | 			    </div> | 
					
						
							| 
									
										
										
										
											2023-08-02 18:35:12 +08:00
										 |  |  | 			</div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 			<div class="mb-3 row"> | 
					
						
							| 
									
										
										
										
											2023-08-02 18:35:12 +08:00
										 |  |  |     			<label class="col-sm-2 col-form-label" for="orientation">Orientation of paper</label> | 
					
						
							|  |  |  | 			    <div class="col-sm-4"> | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 				    <select name="orientation" class="form-select" id="orientation"> | 
					
						
							| 
									
										
										
										
											2023-08-02 18:35:12 +08:00
										 |  |  | 					<option value="L">Landscape</option> | 
					
						
							|  |  |  | 					<option value="P">Portrait</option> | 
					
						
							|  |  |  | 				    </select> | 
					
						
							|  |  |  | 			    	<small id="heightHelp" class="form-text text-muted">Orientation of paper</small> | 
					
						
							|  |  |  | 			    </div> | 
					
						
							| 
									
										
										
										
											2023-08-02 00:55:42 +08:00
										 |  |  |   			</div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   			<button type="submit" class="btn btn-primary"><i class="fas fa-plus-square"></i> Save Paper Type</button> | 
					
						
							|  |  |  | 		</div> | 
					
						
							|  |  |  | 	</div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | </form> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | </div> | 
					
						
							|  |  |  | <br> |