828 lines
27 KiB
PHP
828 lines
27 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Form Customer</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="">
|
|
<meta name="author" content="">
|
|
|
|
<!-- Le styles -->
|
|
<link href="<?php echo base_url(); ?>asset/bootstrap/css/bootstrap.css" rel="stylesheet">
|
|
<link href="<?php echo base_url(); ?>asset/css/style.css" rel="stylesheet">
|
|
<style type="text/css">
|
|
body {
|
|
padding-top: 60px;
|
|
padding-bottom: 40px;
|
|
}
|
|
.sidebar-nav {
|
|
padding: 9px 0;
|
|
}
|
|
|
|
@media (max-width: 980px) {
|
|
/* Enable use of floated navbar text */
|
|
.navbar-text.pull-right {
|
|
float: none;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
}
|
|
</style>
|
|
|
|
<?php
|
|
$nature_bisnis = explode(',',$form->nature_bisnis);
|
|
$onature = end($nature_bisnis); // move the internal pointer to the end of the array
|
|
//$onature = key($nature_bisnis);
|
|
?>
|
|
|
|
<script src="<?php echo base_url(); ?>asset/bootstrap/js/jquery.js"></script>
|
|
<script src="<?php echo base_url(); ?>asset/js/form_view.js"></script>
|
|
<script>
|
|
$(document).ready(function()
|
|
{
|
|
$(":input").prop("disabled", true);
|
|
$(".btn").prop("disabled", false);
|
|
x="<?php echo $action; ?>";
|
|
if ( x === 'view'){
|
|
$("#pending").show();
|
|
$("#fo1").attr("action", "<?php echo base_url(); ?>form/isApprove/<?php echo $form->id; ?>");
|
|
}
|
|
if ( x === 'edit')$("#saved").show();
|
|
|
|
//method
|
|
$('input:radio[name=rbCd][value="<?php echo $form->method; ?>"]').prop('checked', true);
|
|
|
|
var id = "<?php echo $form->id; ?>";
|
|
|
|
var nb = "<?php echo $form->nature_bisnis; ?>";
|
|
var ld = "<?php echo $form->loads; ?>";
|
|
var pu = "<?php echo $form->tire_purchases; ?>";
|
|
var ty = "<?php echo $form->tire_types; ?>";
|
|
var br = "<?php echo $form->tire_brands; ?>";
|
|
var fm = "<?php echo $form->nature_bisnis; ?>";
|
|
var rm = "<?php echo $form->nature_bisnis; ?>";
|
|
loadform(nb,ld,br);
|
|
load(id);
|
|
}
|
|
|
|
);
|
|
</script>
|
|
<link href="<?php echo base_url(); ?>asset/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
|
|
|
|
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
<!--[if lt IE 9]>
|
|
<script src="../assets/js/html5shiv.js"></script>
|
|
<![endif]-->
|
|
|
|
</head>
|
|
|
|
<body data-spy="scroll" data-target=".sidebar">
|
|
<!--Navigation bar-->
|
|
<div class="navbar navbar-inverse navbar-fixed-top" >
|
|
<div class="navbar-inner">
|
|
<div class="container-fluid">
|
|
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a class="brand" href="#">Everseiko</a>
|
|
<div class="nav-collapse collapse">
|
|
<ul class="nav pull-right">
|
|
<li id="fat-menu" class="dropdown">
|
|
<a href="#" id="drop3" role="button" class="dropdown-toggle" data-toggle="dropdown" style="background-color:#fff;"><i class="icon-user"></i>
|
|
<?php echo $this->auth->CI->session->userdata('nama'); ?><b class="caret"></b></a>
|
|
<ul class="dropdown-menu" role="menu" aria-labelledby="drop3">
|
|
<li role="presentation"><a role="menuitem" tabindex="-1" href="<?php echo base_url(); ?>">
|
|
<i class="icon-tags"></i>
|
|
<?php echo $this->auth->CI->session->userdata('role'); ?></a></li>
|
|
<li role="presentation" class="divider"></li>
|
|
<li role="presentation"><a role="menuitem" tabindex="-1" href="<?php echo base_url(); ?>user/logout"><i class="icon-off"></i> Logout</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div><!--/.nav-collapse -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!--Container-->
|
|
<div class="container-fluid">
|
|
<div class="row-fluid">
|
|
<!--sidebar-->
|
|
<div class="span3 sidebar">
|
|
<div class="well affix span3">
|
|
<ul class="nav nav-list">
|
|
<li class="active"><a href="#1">Contact Details</a></li>
|
|
<li class=""><a href="#2">Vehicles Details</a></li>
|
|
<li class=""><a href="#3">Types</a></li>
|
|
<li class=""><a href="#4">Tyre Usages</a></li>
|
|
<li class=""><a href="#5">Recommendation</a></li>
|
|
<li class=""><a href="#6">Picture</a></li>
|
|
</ul>
|
|
</div><!--/.well -->
|
|
</div><!--/span3-->
|
|
<!--section-->
|
|
<div class="span7 offset1 well">
|
|
<!--
|
|
<div class="hero-unit">
|
|
<h1>Hello, world!</h1>
|
|
<p>This is a template for a simple marketing or informational website. It includes a large callout called the hero unit and three supporting pieces of content. Use it as a starting point to create something more unique.</p>
|
|
<p><a href="#" class="btn btn-primary btn-large">Learn more »</a></p>
|
|
</div>
|
|
-->
|
|
<form class="form-horizontal" id="fo1" action="<?php echo base_url(); ?>form/form_submit" method="post" enctype="multipart/form-data">
|
|
<section id="1">
|
|
<fieldset>
|
|
<legend><strong>Contact Details</strong></legend>
|
|
</fieldset>
|
|
<!--form1-->
|
|
<table>
|
|
<tr height="50px">
|
|
<td colspan="3">
|
|
<strong>General Location</strong>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="30%">
|
|
<div style="float:left;margin-right:20px;">
|
|
<label for="name"><h6>Province</h6></label>
|
|
<input type="text" name="cdProvince">
|
|
</div>
|
|
</td>
|
|
<td width="30%">
|
|
<div style="float:left;margin-right:20px;">
|
|
<label for="name"><h6>Kota</h6></label>
|
|
<input type="text" name="cdKota">
|
|
</div>
|
|
</td>
|
|
<td width="30%"></td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td colspan="3">
|
|
<strong>Company Details</strong>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label class="radio inline">
|
|
<input type="radio" name="rbCd" value="By Appoinment">By Appoinment
|
|
</label>
|
|
</td>
|
|
<td>
|
|
<label class="radio inline">
|
|
<input type="radio" name="rbCd" value="Cold Call/go show">Cold Call/go show
|
|
</label>
|
|
</td>
|
|
<td>
|
|
<label class="radio inline">
|
|
<input type="radio" name="rbCd" value=""><input type="text" placeholder="Other" name="rbCd">
|
|
</label>
|
|
</td>
|
|
</tr>
|
|
<tr height="70px">
|
|
<td>
|
|
<div style="float:left;margin-right:20px;">
|
|
<label for="name"><h6>Staff of Scene</h6></label>
|
|
<input type="text" name="cdSos" value="<?php echo $form->sender; ?>">
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div style="float:left;margin-right:20px;">
|
|
<label for="name"><h6>Customer Name</h6></label>
|
|
<input type="text" name="cdCusName" value="<?php echo $form->customer; ?>">
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label class="radio inline">
|
|
<input type="radio" name="rbCd2" value="Company">Company
|
|
</label>
|
|
</td>
|
|
<td>
|
|
<label class="radio inline">
|
|
<input type="radio" name="rbCd2" value="Individual">Individual
|
|
</label>
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td colspan="3">
|
|
<button type="button" class="btn">Search</button>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3">
|
|
<hr>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="3">
|
|
<strong>Address / Phone no</strong>
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>
|
|
<div style="float:left;margin-right:20px;">
|
|
<label for="name"><h6>Head Office</h6></label>
|
|
<input type="text" name="cdOffice" value="<?php echo $form->head_address; ?>">
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div style="float:left;margin-right:20px;">
|
|
<label for="name"><h6>Phone</h6></label>
|
|
<input type="text" id="" name="cdTelp" onkeypress="return isNumberKey(event)" value="<?php echo $form->head_phone; ?>">
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>
|
|
<div style="float:left;margin-right:20px;">
|
|
<label for="name"><h6>Branch/Garage</h6></label>
|
|
<input type="text" name="cdBranch" value="<?php echo $form->branch_address; ?>">
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div style="float:left;margin-right:20px;">
|
|
<label for="name"><h6>Phone</h6></label>
|
|
<input type="text" name="cdTelp2" onkeypress="return isNumberKey(event)" value="<?php echo $form->branch_phone; ?>">
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td colspan="3">
|
|
<strong>Contact Person</strong>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<div style="float:left;margin-right:20px;">
|
|
<label for="name"><h6>Name</h6></label>
|
|
<input type="text" name="cdcpname" value="<?php echo $form->cp_name; ?>">
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div style="float:left;margin-right:20px;">
|
|
<label for="name"><h6>Phone</h6></label>
|
|
<input type="text" id="" name="cdcpphone" onkeypress="return isNumberKey(event)" value="<?php echo $form->cp_phone; ?>">
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td colspan="3">
|
|
<strong>Nature Business</strong>
|
|
</td>
|
|
</tr>
|
|
<tr height="20px">
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="cdCb_1" value="Transportation">Transportation
|
|
</label>
|
|
</td>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="cdCb_2" value="Bus">Bus
|
|
</label>
|
|
</td>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="cdCb_3" value="Minning">Minning
|
|
</label>
|
|
</td>
|
|
</tr>
|
|
<tr height="20px">
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="cdCb_4" value="Expedition/Courier">Expedition/Courier
|
|
</label>
|
|
</td>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="cdCb_5" value="">
|
|
<input type="text" placeholder="Other"name="cdCb_5" value="<?php echo $onature; ?>">
|
|
</label>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</section>
|
|
<br></br>
|
|
<section id="2">
|
|
<fieldset>
|
|
<legend><strong>Vehicles Details</strong></legend>
|
|
</fieldset>
|
|
<table>
|
|
<tr>
|
|
<td colspan="2"><strong>Number of vehicles owned</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" width="50%">
|
|
<table>
|
|
<tr height="50px">
|
|
<td width="100px">Light Truck</td>
|
|
<td width="100px">QTY</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>4 wheels</td>
|
|
<td>
|
|
<input type="text" style="width:30px" name="vdTr4" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>6 wheels</td>
|
|
<td>
|
|
<input type="text" style="width:30px" name="vdTr6" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>10 wheels</td>
|
|
<td>
|
|
<input type="text" style="width:30px" name="vdTr10" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td width="50%">
|
|
<table>
|
|
<tr height="50px">
|
|
<td width="70x">Truck</td>
|
|
<td>QTY</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>6 wheels</td>
|
|
<td>
|
|
<input type="text" style="width:30px" name="vdLt6" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>8 wheels</td>
|
|
<td>
|
|
<input type="text" style="width:30px" name="vdLt8" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>10 wheels</td>
|
|
<td>
|
|
<input type="text" style="width:30px" name="vdLt10" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>12 wheels</td>
|
|
<td>
|
|
<input type="text" style="width:30px" name="vdLt12" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>14 wheels</td>
|
|
<td>
|
|
<input type="text" style="width:30px" name="vdLt14" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>18 wheels</td>
|
|
<td>
|
|
<input type="text" style="width:30px" name="vdLt18" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>Other</td>
|
|
<td>
|
|
<input type="text" style="width:30px" name="vdLtot" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">QTR</td>
|
|
</tr>
|
|
<tr>
|
|
<td><input class="span10" id="appendedInput" type="text" placeholder="type" name="vdQtrType"></td>
|
|
<td>
|
|
<input class="span5" id="appendedInput" type="text" placeholder="Qty" name="vdQtrQty" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
<input class="span5" id="appendedInput" type="text" placeholder="Total tyre" name="vdQtrTyre" maxlength="3" onkeypress="return isNumberKey(event)"></td>
|
|
</tr>
|
|
<tr>
|
|
<td><input class="span10" id="appendedInput" type="text" placeholder="type" name="vdQtrType2"></td>
|
|
<td>
|
|
<input class="span5" id="appendedInput" type="text" placeholder="Qty" name="vdQtrQty2" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
<input class="span5" id="appendedInput" type="text" placeholder="Total tyre" name="vdQtrTyre2" maxlength="3" onkeypress="return isNumberKey(event)"></td>
|
|
</tr>
|
|
</table>
|
|
<hr>
|
|
<table>
|
|
<tr height="30px">
|
|
<td colspan="3"><strong>Load and Speed Details</strong></td>
|
|
</tr>
|
|
<tr height="30px">
|
|
<td colspan="3">Type of Load</td>
|
|
</tr>
|
|
<tr height="30px">
|
|
<td width="150px">
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="vdCb_1" value="Materials">Materials</label>
|
|
</td>
|
|
<td width="150px">
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="vdCb_2" value="Passenger">Passenger</label>
|
|
</td>
|
|
<td width="150px">
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="vdCb_3" value="Goods">Goods</label>
|
|
</td>
|
|
</tr>
|
|
<tr height="30px">
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="vdCb_4" value="Soil">Soil</label>
|
|
</td>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="vdCb_5" value="General Cargo">General Cargo</label>
|
|
</td>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="vdCb_6" value="">
|
|
<input type="text" style="width:100px" placeholder="Other" name="vdCb_6"></label>
|
|
</td>
|
|
</tr>
|
|
<tr height="30px">
|
|
<td colspan="3">Average Weight of Loads</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" width="50%">
|
|
<table>
|
|
<tr height="50px">
|
|
<td width="100px">Truck</td>
|
|
<td width="100px">Wt</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>4 wheels</td>
|
|
<td>
|
|
<input type="text" style="width:30px" name="vdTr4wt" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>6 wheels</td>
|
|
<td>
|
|
<input type="text" style="width:30px" name="vdTr6wt" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>10 wheels</td>
|
|
<td>
|
|
<input type="text" style="width:30px" name="vdTr10wt" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td width="50%">
|
|
<table>
|
|
<tr height="50px">
|
|
<td width="70x">Light Tr</td><td>Wt</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>6 wheels</td>
|
|
<td>
|
|
<input type="text" style="width:30px" name="vdLt6wt" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>8 wheels</td>
|
|
<td>
|
|
<input type="text" style="width:30px" name="vdLt8wt" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>10 wheels</td>
|
|
<td>
|
|
<input type="text" style="width:30px" name="vdLt10wt" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>12 wheels</td>
|
|
<td>
|
|
<input type="text" style="width:30px" name="vdLt12wt" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>14 wheels</td>
|
|
<td>
|
|
<input type="text" style="width:30px" name="vdLt14wt" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>18 wheels</td>
|
|
<td>
|
|
<input type="text" style="width:30px" name="vdLt18wt" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td>Other</td>
|
|
<td>
|
|
<input type="text" style="width:30px" name="vdLtotwt" maxlength="3" onkeypress="return isNumberKey(event)">
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr height="50px">
|
|
<td colspan="2">Points of Origin Destination <input type="text" name="vdDest" value="<?php echo $form->destination; ?>"></td>
|
|
</tr>
|
|
<tr height="30px">
|
|
<td colspan="2">Driving Condition</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<div class="input-append">
|
|
<label><h6>Good Roads</h6></label>
|
|
<input id="appendedInput" type="text" placeholder="Good Roads" name="vdgoro" value="<?php echo $form->road_condition_good; ?>">
|
|
<span class="add-on">%</span>
|
|
</div>
|
|
<div class="input-append">
|
|
<label><h6>Tool Roads</h6></label>
|
|
<input id="appendedInput" type="text" placeholder="Toll Roads" name="vdtoro" value="<?php echo $form->road_condition_toll; ?>">
|
|
<span class="add-on">%</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<div class="input-append">
|
|
<label><h6>Bad Roads</h6></label>
|
|
<input id="appendedInput" type="text" placeholder="Bad Roads" name="vdbaro" value="<?php echo $form->road_condition_bad; ?>">
|
|
<span class="add-on">%</span>
|
|
</div>
|
|
<div class="input-append">
|
|
<label><h6>Others</h6></label>
|
|
<input id="appendedInput" type="text" placeholder="Others" name="vdothers" value="<?php echo $form->road_condition_other; ?>">
|
|
<span class="add-on">%</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</section>
|
|
<br></br>
|
|
<section id="3">
|
|
<fieldset>
|
|
<legend><strong>Types</strong></legend>
|
|
</fieldset>
|
|
<table>
|
|
<tr height="50px">
|
|
<td colspan="3">
|
|
<strong>Tyre Brands and Type</strong>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="150px">
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="tpCb_1" value="MRF">MRF</label>
|
|
</td>
|
|
<td width="150px">
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="tpCb_2" value="Goodyear">Goodyear</label>
|
|
</td>
|
|
<td width="150px">
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="tpCb_3" value="Bridgestone">Bridgestone</label>
|
|
</td>
|
|
<td width="150px">
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="tpCb_4" value="GT">GT</label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="tpCb_5" value="Dunlop">Dunlop</label>
|
|
</td>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="tpCb_6" value="Chinese">Chinese</label>
|
|
</td>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="tpCb_7" value="Kumho">Kumho</label>
|
|
</td>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="tpCb_8" value="Hankook">Hankook</label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="tpCb_9" value="Coat">Coat</label>
|
|
</td>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="tpCb_10" value="Thai">Thai</label>
|
|
</td>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="tpCb_11" value="Maxxis">Maxxis</label>
|
|
</td>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="tpCb_12" value="Chengsin">Chengsin</label>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="tpCb_13" value="Epco">Epco</label>
|
|
</td>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="tpCb_14" value="Swallow">Swallow</label>
|
|
</td>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="tpCb_15" value="Chao Yang">Chao Yang</label>
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td colspan="3"><strong>Type of Purchase</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="tpCb2_1" value="New Tyres">New Tyres</label>
|
|
</td>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="tpCb2_2" value="Retreads">Retreads</label>
|
|
</td>
|
|
</tr>
|
|
<tr height="50px">
|
|
<td colspan="3"><strong>Type</strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="tpCb3_1" value="Rib">Rib</label>
|
|
</td>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="tpCb3_2" value="Lug">Lug</label>
|
|
</td>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="tpCb3_3" value="Bias">Bias</label>
|
|
</td>
|
|
<td>
|
|
<label class="checkbox">
|
|
<input type="checkbox" name="tpCb3_4" value="Radial">Radial</label>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</section>
|
|
<br></br>
|
|
<section id="4">
|
|
<fieldset>
|
|
<legend><strong>Tyre Usages</strong></legend>
|
|
</fieldset>
|
|
<div class="container-fluid">
|
|
<div class="row-fluid">
|
|
<div class="span4">
|
|
<strong>Milleage</strong><br></br>
|
|
<label class="radio inline">
|
|
<input type="radio" name="trRb" value="Estimates">Estimates</label>
|
|
|
|
<label class="radio inline">
|
|
<input type="radio" name="trRb" value="Actual">Actual</label>
|
|
<br></br>
|
|
<div class="input-append">
|
|
<input class="span9" id="appendedInput" type="text" placeholder="Front" name="trmfront" value="<?php echo $form->mileage_front; ?>">
|
|
<span class="add-on">Km</span>
|
|
</div><br></br>
|
|
<div class="input-append">
|
|
<input class="span9" id="appendedInput" type="text" placeholder="Rear" name="trmrear" value="<?php echo $form->mileage_rear; ?>">
|
|
<span class="add-on">Km</span>
|
|
</div><br></br>
|
|
<label>Details</label>
|
|
<textarea rows="3" name="trmdetails"><?php echo $form->mileage_detail; ?></textarea>
|
|
</div>
|
|
<div class="span4 offset1">
|
|
<strong>New Tyre Purchase per Month</strong><br></br>
|
|
<label class="radio inline">
|
|
<input type="radio" name="trRb2" value="Estimates">Estimates</label>
|
|
|
|
<label class="radio inline">
|
|
<input type="radio" name="trRb2" value="Actual">Actual</label>
|
|
<br></br>
|
|
</div>
|
|
</div><hr>
|
|
<div class="row-fluid">
|
|
<div class="span4">
|
|
<strong>Front Tyre</strong><br></br>
|
|
<input class="span9" id="appendedInput" type="text" placeholder="psi" name="trfpsi" value="<?php echo $form->psi_front; ?>">
|
|
<br></br>
|
|
|
|
<label class="checkbox inline">
|
|
<input type="checkbox" name="cb31" value="Estimates">New Tyre</label>  
|
|
|
|
<label class="checkbox inline">
|
|
<input type="checkbox" name="cb3" value="Actual">Retreads</label>
|
|
</div>
|
|
<div class="span4 offset1">
|
|
<strong>Rear Tyre</strong><br></br>
|
|
<input class="span9" id="appendedInput" type="text" placeholder="psi" name="trrpsi" value="<?php echo $form->psi_rear; ?>">
|
|
<br></br>
|
|
|
|
<label class="checkbox inline">
|
|
<input type="checkbox" name="cb31" value="Estimates">New Tyre</label>  
|
|
|
|
<label class="checkbox inline">
|
|
<input type="checkbox" name="cb3" value="Actual">Retreads</label>
|
|
</div>
|
|
</div><br></br>
|
|
<div class="row-fluid">
|
|
<input class="span9" id="appendedInput" type="text" placeholder="OTR" name='trotr' value="<?php echo $form->otr; ?>">
|
|
<br></br>
|
|
<textarea class="span9" rows="5" placeholder="Problem faced with current type" name="trproblem">
|
|
<?php echo $form->problem; ?>
|
|
</textarea>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<br></br>
|
|
<section id="5">
|
|
<fieldset>
|
|
<legend><strong>Recommendation</strong></legend>
|
|
</fieldset>
|
|
</section>
|
|
<br></br>
|
|
<section id="6">
|
|
<fieldset>
|
|
<legend><strong>Picture</strong></legend>
|
|
</fieldset>
|
|
<input type="file" name="upload">
|
|
</section>
|
|
<div class="row-fluid" id="edit" style="display:none;">
|
|
<div class="span7 offset4 navbar navbar-fixed-bottom">
|
|
<div class="navbar-inner">
|
|
<div class="container-fluid">
|
|
<ul class="nav pull-right">
|
|
<li>
|
|
<button type="button" class="btn"><a href="<?php echo base_url(); ?>">Discard</a></button>
|
|
<button type="submit" value="Submit" class="btn btn-primary">Save</button>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row-fluid" id="pending" style="display:none;">
|
|
<div class="span7 offset4 navbar navbar-fixed-bottom">
|
|
<div class="navbar-inner">
|
|
<div class="container-fluid">
|
|
<ul class="nav pull-right">
|
|
<li>
|
|
<button type="button" class="btn" onclick="parent.location='<?php echo base_url(); ?>'">Reject</button>
|
|
<button type="submit" value="Submit" class="btn btn-primary">Approve</button>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
<div class="row-fluid" id="saved" style="display:none;">
|
|
<div class="span7 offset4 navbar navbar-fixed-bottom">
|
|
<div class="navbar-inner">
|
|
<div class="container-fluid">
|
|
<ul class="nav pull-right">
|
|
<li>
|
|
<button type="button" class="btn btn-warning" name="edit" onclick="edited()">
|
|
<i class="icon-edit icon-white"></i> Edit</button>
|
|
</li>
|
|
</ul>
|
|
<!--<a style="margin-top:300px;"><i class="icon-chevron-left"></i> Back</a>-->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div><!--/span-->
|
|
</div><!--/row-->
|
|
|
|
<hr>
|
|
<!--
|
|
<footer>
|
|
<p>© Company 2013</p>
|
|
</footer>
|
|
-->
|
|
</div><!--/.fluid-container-->
|
|
|
|
<!--javascript-->
|
|
<script src="<?php echo base_url(); ?>asset/bootstrap/js/bootstrap-alert.js"></script>
|
|
<script src="<?php echo base_url(); ?>asset/bootstrap/js/bootstrap-dropdown.js"></script>
|
|
<script src="<?php echo base_url(); ?>asset/bootstrap/js/bootstrap-scrollspy.js"></script>
|
|
<script src="<?php echo base_url(); ?>asset/bootstrap/js/bootstrap-button.js"></script>
|
|
<script src="<?php echo base_url(); ?>asset/bootstrap/js/bootstrap-collapse.js"></script>
|
|
<script src="<?php echo base_url(); ?>asset/bootstrap/js/bootstrap-typeahead.js"></script>
|
|
<script>
|
|
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|