|
|
@ -36,7 +36,7 @@ class TransactionHistoryTableViewCell: UITableViewCell { |
|
|
|
self.paymentMethodLabel.text = model?.payOutMode |
|
|
|
self.nameLabel.text = model?.user |
|
|
|
let paystatus = model?.payStatus ?? "" |
|
|
|
self.transactionNumberLabel.text = model?.payStatus // show pay status, paid or unpaid |
|
|
|
self.transactionNumberLabel.text = paystatus.uppercased() // show pay status, paid or unpaid |
|
|
|
self.transactionNumberLabel.textColor = .white |
|
|
|
self.transactionNumberLabel.layer.cornerRadius = 5 |
|
|
|
self.controlNumberLabel.text = self.model?.controlNumber |
|
|
|