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