add unionpay process for payment
This commit is contained in:
@@ -512,12 +512,12 @@ class ReceiptBillPdf < Prawn::Document
|
||||
|
||||
#start card sale trans data
|
||||
def card_sale_data(card_data)
|
||||
move_down 5
|
||||
stroke_horizontal_rule
|
||||
move_down 5
|
||||
if card_data != nil && !card_data.empty?
|
||||
move_down 5
|
||||
stroke_horizontal_rule
|
||||
move_down 5
|
||||
|
||||
y_position = cursor
|
||||
if !card_data.nil?
|
||||
y_position = cursor
|
||||
card_data.each do |data|
|
||||
if data['app'] == 'CUP'
|
||||
data['app'] = 'UNIONPAY'
|
||||
|
||||
Reference in New Issue
Block a user