Add rider assignment section to form. #270
This commit is contained in:
parent
0771f2b8d0
commit
72abf2f211
1 changed files with 30 additions and 0 deletions
|
|
@ -388,6 +388,34 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="m-form__heading">
|
||||||
|
<h3 class="m-form__heading-title">
|
||||||
|
Rider Assignment
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
|
<div class="form-group m-form__group row">
|
||||||
|
<div class="col-lg-12">
|
||||||
|
<label>Click on a row to select a rider</label>
|
||||||
|
<div class="form-control-feedback hide" data-field="rider"></div>
|
||||||
|
<div class="table-frame" data-name="rider">
|
||||||
|
<table id="riderss-table" class="table table-compact table-hover table-clickable m-table">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>First Name</th>
|
||||||
|
<th>Last Name</th>
|
||||||
|
<th>Contact No.</th>
|
||||||
|
<th>Plate Number</th>
|
||||||
|
<th>Status</th>
|
||||||
|
<th>Action</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody id="riders">
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="m-form__seperator m-form__seperator--dashed"></div>
|
<div class="m-form__seperator m-form__seperator--dashed"></div>
|
||||||
<div class="m-form__section{{ ftags.invoice_edit ? ' m-form__section--last' }}">
|
<div class="m-form__section{{ ftags.invoice_edit ? ' m-form__section--last' }}">
|
||||||
|
|
@ -914,6 +942,8 @@ $(function() {
|
||||||
|
|
||||||
// set hub
|
// set hub
|
||||||
selectedHub = id;
|
selectedHub = id;
|
||||||
|
|
||||||
|
// get riders of hub
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue