uncomplete print, need for print_settings
This commit is contained in:
@@ -33,6 +33,9 @@ $(document).ready(function(){
|
||||
|
||||
$('#order-items').text(orderItem);
|
||||
$('#order-qty').text(orderQty);
|
||||
|
||||
$('.queue_station').removeClass('selected-item');
|
||||
$(this).addClass('selected-item');
|
||||
});
|
||||
|
||||
// complete for queue item
|
||||
@@ -67,4 +70,14 @@ $(document).ready(function(){
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#print_order_item').on('click',function(){
|
||||
var assigned_item_id=$('.selected-item').children('.card-block').children('.assigned-order-item').text();
|
||||
var params = { 'id':assigned_item_id };
|
||||
$.ajax({
|
||||
type: 'GET',
|
||||
url: '/oqs/print/print/'+assigned_item_id,
|
||||
success: function(data){ }
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -14,3 +14,7 @@
|
||||
.order-void {
|
||||
background-color: #FFCCDD;
|
||||
}
|
||||
|
||||
.selected-item {
|
||||
background-color: blue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user