lynn punya

This commit is contained in:
Syed Amir
2017-10-02 12:08:56 +08:00
parent 0c0c2137b0
commit ad8c56e6fe
3 changed files with 90 additions and 69 deletions
+58 -64
View File
@@ -170,6 +170,12 @@
<span class="title">Shipping Order</span>
</a>
</li>
<li class="nav-item ">
<a href="opendraft.html" class="nav-link ">
<i class="icon-envelope"></i>
<span class="title">Open Draft</span>
</a>
</li>
</ul>
</li>
<li class="nav-item">
@@ -442,30 +448,30 @@
</div>
</div>
</div>
<div class="row">
<div class="col-md-8">
<div class="mt-repeater">
<div data-repeater-list="group-b">
<div data-repeater-item class="row">
<div class="col-md-3">
<input type="text" placeholder="Form Name" class="form-control" /> </div>
<div class="col-md-8">
<input type="text" placeholder="Form Name" class="form-control" /> </div>
<div class="col-md-1">
<label class="control-label">&nbsp;</label>
<a href="javascript:;" data-repeater-delete class="btn btn-danger">
<i class="fa fa-close"></i>
</a>
</div>
</div>
</div>
<hr>
<a href="javascript:;" data-repeater-create class="btn btn-info mt-repeater-add">
<i class="fa fa-plus"></i> Add New Input</a>
<br>
<br> </div>
</div>
</div>
<div class="row">
<div class="col-md-8">
<div class="mt-repeater">
<div data-repeater-list="group-b">
<div data-repeater-item class="row" style="margin-top:10px">
<div class="col-md-3">
<input type="text" placeholder="Form Name" class="form-control" /> </div>
<div class="col-md-8">
<input type="text" placeholder="Form Name" class="form-control" /> </div>
<div class="col-md-1">
<a href="javascript:;" data-repeater-delete class="btn btn-danger">
<i class="fa fa-close"></i>
</a>
</div>
</div>
</div>
<hr>
<a href="javascript:;" data-repeater-create class="btn btn-info mt-repeater-add">
<i class="fa fa-plus"></i> Add New Input</a>
<br>
<br>
</div>
</div>
</div>
<div class="form-actions">
<div class="row">
<div class="col-md-offset-5 col-md-9">
@@ -491,8 +497,8 @@
<!-- BEGIN EXAMPLE TABLE PORTLET-->
<div class="portlet light portlet-fit bordered">
<div class="portlet-body">
<table style="" class="table table-striped table-bordered table-hover" id="sample_3">
<thead>
<table class="table table-striped table-hover table-bordered" id="sample_editable_1">
<thead>
<tr>
<th> No. </th>
<th> Item Code </th>
@@ -500,23 +506,20 @@
<th> Description </th>
<th> Quantity </th>
<th> UOM</th>
<th> Stock Value</th>
<th> Unit Price <!-- <br/>
<button type="button" style="text-decoration: none" class="btn btn-link btn-sm dropdown-toggle" data-toggle="dropdown">
<span class="fa fa-filter"></span></button>
<ul class="dropdown-menu">
<li><input onchange="filterme()" name="orderno" value="" type="checkbox"/>&nbsp;RMB</li>
<li><input onchange="filterme()" name="orderno" value="" type="checkbox"/>&nbsp;MYR</li>
</ul> -->
</th>
<th> Sub Total <!-- <br/>
<button type="button" style="text-decoration: none" class="btn btn-link btn-sm dropdown-toggle" data-toggle="dropdown">
<span class="fa fa-filter"></span></button>
<ul class="dropdown-menu">
<li><input onchange="filterme()" name="orderno" value="" type="checkbox"/>&nbsp;RMB</li>
<li><input onchange="filterme()" name="orderno" value="" type="checkbox"/>&nbsp;MYR</li>
</ul> -->
</th>
<th> Unit Price
<button type="button" style="text-decoration: none" class="btn btn-link btn-sm dropdown-toggle dropdown-toggleu" data-toggle="dropdown">
<span class="fa fa-filter"></span></button>
<ul class="dropdown-menu unit">
<li><input name="type" value="RMB" type="radio"/>&nbsp;RMB</li>
<li><input name="type" value="MYR" checked type="radio"/>&nbsp;MYR</li>
</ul>
</th>
<th> Sub Total <button type="button" style="text-decoration: none" class="btn btn-link btn-sm dropdown-toggle dropdown-toggles" data-toggle="dropdown">
<span class="fa fa-filter"></span></button>
<ul class="dropdown-menu sub">
<li><input name="type" value="RMB" type="radio"/>&nbsp;RMB</li>
<li><input name="type" value="MYR" checked type="radio"/>&nbsp;MYR</li>
</ul></th>
<th> Actions</th>
</tr>
</thead>
@@ -528,9 +531,8 @@
<td contenteditable="true"> Fidget Spinner </td>
<td contenteditable="true"> 3 </td>
<td contenteditable="true"> package</td>
<td contenteditable="true"> 7 </td>
<td contenteditable="true"> RM 5 </td>
<td contenteditable="true"> RM 15 </td>
<td contenteditable="true"> <span class="currency">MYR</span> 5 </td>
<td contenteditable="true"> <span class="currency">MYR</span> 15 </td>
<td><div class="fa-item col-md-3 col-sm-4">
<i class="fa fa-trash-o"></i></div>
</td>
@@ -542,9 +544,8 @@
<td contenteditable="true"> Vacuum Cleaner </td>
<td contenteditable="true"> 2 </td>
<td contenteditable="true"> pallet</td>
<td contenteditable="true"> 5 </td>
<td contenteditable="true"> RM 25 </td>
<td contenteditable="true"> RM 50 </td>
<td contenteditable="true"> <span class="currency">MYR</span> 25 </td>
<td contenteditable="true"> <span class="currency">MYR</span> 50 </td>
<td>
<div class="fa-item col-md-3 col-sm-4">
<i class="fa fa-trash-o"></i></div>
@@ -557,9 +558,8 @@
<td contenteditable="true"> Boxes </td>
<td contenteditable="true"> 5 </td>
<td contenteditable="true"> pallet</td>
<td contenteditable="true"> 6 </td>
<td contenteditable="true"> RM 7 </td>
<td contenteditable="true"> RM 35 </td>
<td contenteditable="true"> <span class="currency">MYR</span> 7 </td>
<td contenteditable="true"> <span class="currency">MYR</span> 35 </td>
<td>
<div class="fa-item col-md-3 col-sm-4">
<i class="fa fa-trash-o"></i></div>
@@ -572,9 +572,8 @@
<td contenteditable="true"> Bottles </td>
<td contenteditable="true"> 8 </td>
<td contenteditable="true"> pallet </td>
<td contenteditable="true"> 9 </td>
<td contenteditable="true"> RM 9 </td>
<td contenteditable="true"> RM 72 </td>
<td contenteditable="true"> <span class="currency">MYR</span> 9 </td>
<td contenteditable="true"> <span class="currency">MYR</span> 72 </td>
<td>
<div class="fa-item col-md-3 col-sm-4">
<i class="fa fa-trash-o"></i></div>
@@ -604,7 +603,7 @@
<div class="well">
<div class="row static-info align-reverse">
<div class="col-md-8 name"> Total: </div>
<div class="col-md-3 value"> RM 170.00 </div>
<div class="col-md-3 value"> <span class="currency">MYR</span> 170.00 </div>
</div>
</div>
</div>
@@ -663,6 +662,7 @@
<script src="../assets/global/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
<script src="../assets/global/plugins/jquery.blockui.min.js" type="text/javascript"></script>
<script src="../assets/global/plugins/bootstrap-switch/js/bootstrap-switch.min.js" type="text/javascript"></script>
<script src="../assets/global/plugins/bootstrap-datepicker/js/bootstrap-datepicker.min.js" type="text/javascript"></script>
<!-- END CORE PLUGINS -->
<!-- BEGIN PAGE LEVEL PLUGINS -->
@@ -672,8 +672,7 @@
<!-- END PAGE LEVEL PLUGINS -->
<!-- BEGIN THEME GLOBAL SCRIPTS -->
<script src="../assets/global/scripts/app.min.js" type="text/javascript"></script>
<script src="../assets/global/plugins/jquery-repeater/jquery.repeater.js" type="text/javascript"></script>
<script src="../assets/global/plugins/bootstrap-datepicker/js/bootstrap-datepicker.min.js" type="text/javascript"></script>
<script src="../assets/global/plugins/jquery-repeater/jquery.repeater.js" type="text/javascript"></script>
<!-- END THEME GLOBAL SCRIPTS -->
<!-- BEGIN PAGE LEVEL SCRIPTS -->
<script src="../assets/global/plugins/select2/js/select2.full.min.js" type="text/javascript"></script>
@@ -686,8 +685,6 @@
<script src="../assets/pages/scripts/table-datatables-editable.min.js" type="text/javascript"></script>
<!-- END PAGE LEVEL SCRIPTS -->
<script src="../assets/pages/scripts/form-repeater.min.js" type="text/javascript"></script>
<script src="../assets/pages/scripts/components-date-time-pickers.min.js" type="text/javascript"></script>
<!-- END PAGE LEVEL SCRIPTS -->
<!-- BEGIN THEME LAYOUT SCRIPTS -->
<script src="../assets/layouts/layout/scripts/layout.min.js" type="text/javascript"></script>
@@ -740,11 +737,8 @@ $('#make-it-slick').on('click', function(){
$('#restore').on('click', function(){
$('#demo-htmlselect').ddslick('destroy');
});
</script>
</body>
</html>
</html>
+6 -5
View File
@@ -712,7 +712,12 @@ License: You must have a valid license purchased only from themeforest(the above
</div>
</div>
<div class="modal fade" id="addnew" tabindex="-1" role="addnew" aria-hidden="true">
</div>
</div>
</div>
<div class="modal fade" id="addnew" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-body">
@@ -1020,10 +1025,6 @@ License: You must have a valid license purchased only from themeforest(the above
</div>
</div>
</div>
</div>
</div>
</div>
<!-- END CONTAINER -->
<!-- BEGIN FOOTER -->
@@ -108,4 +108,30 @@ var TableDatatablesEditable = function() {
}();
jQuery(document).ready(function() {
TableDatatablesEditable.init()
$('input[type=radio][name=type]').change(function() {
var elements = document.querySelectorAll('.currency');
for ( var i=elements.length; i--; ) {
elements[i].textContent = this.value;
}
});
});
$('.dropdown-toggleu').click(function (){
dropDownFixPosition($('button'),$('.dropdown-menu'),"unit");
});
$('.dropdown-toggles').click(function (){
dropDownFixPositions($('button'),$('.dropdown-menu'),"sub");
});
function dropDownFixPosition(button,dropdown, clas){
var dropDownTop = button.offset().top + button.outerHeight() - 438;
dropdown.css('top', dropDownTop + "px");
dropdown.css('left', button.offset().left - 360 + "px");
}
function dropDownFixPositions(button,dropdown, clas){
var dropDownTop = button.offset().top + button.outerHeight() - 438;
dropdown.css('top', dropDownTop + "px");
dropdown.css('left', button.offset().left - 220 + "px");
}