finished customer and join membership in crm

This commit is contained in:
Aung Myo
2017-06-07 16:38:24 +06:30
parent 9e3eaaf214
commit 387ffa996b
14 changed files with 248 additions and 92 deletions

View File

@@ -92,10 +92,37 @@
<!-- Column Three--->
<div class="col-lg-1 col-md-1 col-sm-1">
<!-- OQS Buttons -->
<button type="button" class="btn btn-primary btn-lg btn-block" disabled>Print</button>
<button type="button" id="crm_print" value="" class="btn btn-primary btn-lg btn-block" disabled="disabled">
Print
</button>
<button type="button" class="btn btn-primary btn-lg btn-block" disabled>Print <br/>Order<br/>Summary</button>
<button id="assign" value="" disabled="disabled" data-type="assign" class="btn assign btn-primary btn-lg btn-block">ASSIGN</button>
<button id="cancel" value="" disabled="disabled" data-type="cancel" class="btn btn-danger cancel btn-lg btn-block">CANCLE</button>
</div>
</div>
<script type="text/javascript">
$( document ).ready(function() {
$('#crm_print').click(function() {
var id = $(this).attr('data');
$.ajax({
type: "GET",
url: "print/"+id ,
data: {},
dataType: "json",
success: function(data) {
/*if(data.status == true && data.type == "cancel")
{
alert('Booking has canceled!');
}else{
alert('Booking has completed!');
}
location.reload();*/
}
});
});
});
</script>