update cable for cloud
This commit is contained in:
@@ -312,9 +312,10 @@
|
|||||||
receipt_no = ($("#receipt_no").html()).trim();
|
receipt_no = ($("#receipt_no").html()).trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
payment_type = checkReceiptNoInFirstBillData(receipt_no,"payment")
|
payment_type = '';
|
||||||
if ($("#server_mode").val() != "cloud") { // first bill not used in cloud
|
|
||||||
|
|
||||||
|
if ($("#server_mode").val() != "cloud") { // first bill not used in cloud
|
||||||
|
payment_type = checkReceiptNoInFirstBillData(receipt_no,"payment")
|
||||||
if (member_id && member_discount) {
|
if (member_id && member_discount) {
|
||||||
|
|
||||||
if(parseInt(jQuery.inArray("Credit", payment_type)) == -1){
|
if(parseInt(jQuery.inArray("Credit", payment_type)) == -1){
|
||||||
|
|||||||
@@ -7,7 +7,10 @@ scope "(:locale)", locale: /en|mm/ do
|
|||||||
mount Sidekiq::Web => '/kiq'
|
mount Sidekiq::Web => '/kiq'
|
||||||
|
|
||||||
# Action Cable Creation
|
# Action Cable Creation
|
||||||
|
if ENV["SERVER_MODE"] != "cloud"
|
||||||
mount ActionCable.server => "/cable"
|
mount ActionCable.server => "/cable"
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
#--------- SmartSales Activation ------------#
|
#--------- SmartSales Activation ------------#
|
||||||
get 'activate' => 'install#index'
|
get 'activate' => 'install#index'
|
||||||
|
|||||||
Reference in New Issue
Block a user