| 29222 |
tejbeer |
1 |
<section class="wrapper">
|
|
|
2 |
<div class="row">
|
|
|
3 |
<div class="col-lg-12">
|
|
|
4 |
<h3 class="page-header"><i class="icon_document_alt"></i>LOGISTICS</h3>
|
|
|
5 |
<ol class="breadcrumb">
|
|
|
6 |
<li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
|
|
|
7 |
<li><i class="icon_document_alt"></i>Provider</li>
|
|
|
8 |
|
|
|
9 |
</ol>
|
|
|
10 |
</div>
|
|
|
11 |
</div>
|
|
|
12 |
|
|
|
13 |
<form id="promoter-info-form">
|
|
|
14 |
<div id="promoter-details" style="background:white;background-color:white;padding:10px;">
|
|
|
15 |
<h4 class="modelHeaderCustom" style="font-size:22px;">Provider Information</h4>
|
|
|
16 |
<div>
|
|
|
17 |
<div class = "row">
|
|
|
18 |
<div class="col-lg-2 form-group">
|
|
|
19 |
<input placeholder="Name" id="providerName" name="providerName" type="text" value="" class="form-control input-sm">
|
|
|
20 |
</div>
|
|
|
21 |
|
|
|
22 |
<div class="col-lg-2 form-group">
|
|
|
23 |
<input placeholder="email" id="promoterEmail" name="promoterEmail" type="text" value="" class="form-control input-sm">
|
|
|
24 |
</div>
|
|
|
25 |
|
|
|
26 |
<div class="col-lg-2 form-group">
|
|
|
27 |
<input placeholder="mobile" id="providerMobile" maxlength="10" minlength="10" name="providerMobile" type="text" value="" class="form-control input-sm">
|
|
|
28 |
</div>
|
|
|
29 |
|
|
|
30 |
<div class="col-lg-2 form-group">
|
|
|
31 |
<input placeholder="Account Number" id="accountNo" name="accountNo" type="text" value="" class="form-control input-sm">
|
|
|
32 |
</div>
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
<div class="col-lg-2">
|
|
|
36 |
<select class="form-control input-sm" id ="provideractive" placeholder="Status">
|
|
|
37 |
<option value="" disabled selected>Status</option>
|
|
|
38 |
<option value="false">False</option>
|
|
|
39 |
<option value="true">True</option>
|
|
|
40 |
</select>
|
|
|
41 |
</div>
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
<div class="col-lg-2">
|
|
|
45 |
<input class="btn btn-primary create-provider" type="button" value="create provider">
|
|
|
46 |
</div>
|
|
|
47 |
</div>
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
</div>
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
</div>
|
|
|
54 |
</div>
|
|
|
55 |
|
|
|
56 |
</form>
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
<div class="col-lg-12">
|
|
|
60 |
<table id="providerdetails" class="table table-striped table-advance table-hover" style="width:100%">
|
|
|
61 |
<thead>
|
|
|
62 |
<tr>
|
|
|
63 |
<th>Id</th>
|
|
|
64 |
<th>Provider Name</th>
|
|
|
65 |
<th>Email</th>
|
|
|
66 |
<th>Phone</th>
|
|
|
67 |
<th>Account No</th>
|
|
|
68 |
<th>Delivery Type</th>
|
|
|
69 |
|
|
|
70 |
<th>Status</th>
|
|
|
71 |
|
|
|
72 |
</tr>
|
|
|
73 |
</thead>
|
|
|
74 |
<tbody>
|
|
|
75 |
#foreach($provider in $providers)
|
|
|
76 |
<tr>
|
|
|
77 |
<td>$provider.getId()</td>
|
|
|
78 |
<td>$provider.getName()</td>
|
|
|
79 |
#if($providerDetails.get($provider.getId()).getEmail())
|
|
|
80 |
<td>$providerDetails.get($provider.getId()).getEmail()</td>
|
|
|
81 |
#else
|
|
|
82 |
<td>-</td>
|
|
|
83 |
#end
|
|
|
84 |
#if($providerDetails.get($provider.getId()).getPhone())
|
|
|
85 |
<td>$providerDetails.get($provider.getId()).getPhone()</td>
|
|
|
86 |
#else
|
|
|
87 |
<td>-</td>
|
|
|
88 |
#end
|
|
|
89 |
#if($providerDetails.get($provider.getId()).getAccountNo())
|
|
|
90 |
<td>$providerDetails.get($provider.getId()).getAccountNo()</td>
|
|
|
91 |
#else
|
|
|
92 |
<td>-</td>
|
|
|
93 |
#end
|
|
|
94 |
#if($providerDetails.get($provider.getId()).getType())
|
|
|
95 |
<td>$providerDetails.get($provider.getId()).getType()</td>
|
|
|
96 |
#else
|
|
|
97 |
<td>-</td>
|
|
|
98 |
#end
|
|
|
99 |
|
|
|
100 |
<td>$provider.isActive()</td>
|
|
|
101 |
|
|
|
102 |
</tr>
|
|
|
103 |
#end
|
|
|
104 |
</tbody>
|
|
|
105 |
</table>
|
|
|
106 |
</div>
|
|
|
107 |
|
| 31043 |
tejbeer |
108 |
|
| 29222 |
tejbeer |
109 |
|
| 31043 |
tejbeer |
110 |
<div class="col-lg-2">
|
|
|
111 |
<input class="btn btn-primary generate-awb" type="button" value="create awb">
|
|
|
112 |
</div>
|
| 29222 |
tejbeer |
113 |
|
|
|
114 |
</section>
|
|
|
115 |
|
|
|
116 |
<script>
|
|
|
117 |
|
|
|
118 |
$(document).ready(function() {
|
|
|
119 |
|
|
|
120 |
|
|
|
121 |
var table = $('#providerdetails').DataTable( {
|
|
|
122 |
"scrollX": true,
|
|
|
123 |
orderCellsTop: true,
|
|
|
124 |
fixedHeader: true
|
|
|
125 |
} );
|
|
|
126 |
});
|
|
|
127 |
</script>
|