| 12345678910111213141516171819202122232425262728293031323334353637 |
- //
- // OdsSp2BeforeCell.swift
- // Sirani
- //
- // Created by Anhar Solehudin on 20/04/19.
- // Copyright © 2019 Anhar Solehudin. All rights reserved.
- //
- import UIKit
- import MaterialComponents.MaterialCards
- class OdsSp2BeforeCell: UITableViewCell {
- @IBOutlet weak var card: MDCCard!
- @IBOutlet weak var lblAplikasiId: UILabel!
- @IBOutlet weak var lblNoJenis: UILabel!
- @IBOutlet weak var lblTgl: UILabel!
- @IBOutlet weak var lblPlgId: UILabel!
- @IBOutlet weak var lblNib: UILabel!
- @IBOutlet weak var lblCustName: UILabel!
- @IBOutlet weak var lblEqpName: UILabel!
- @IBOutlet weak var lblModel: UILabel!
-
- func updateViews(odsSp2Before: OdsSp2Before) {
- card.isInteractable = false
-
- lblAplikasiId.text = "\(odsSp2Before.apl_id)"
- lblNoJenis.text = "\(odsSp2Before.resi_cekdok) - \(odsSp2Before.jns_apl)"
- lblTgl.text = "\(odsSp2Before.resi_date_dok)"
- lblPlgId.text = "PLG ID: \(odsSp2Before.plg_id)"
- lblNib.text = "NIB: \(odsSp2Before.nib)"
- lblCustName.text = "\(odsSp2Before.cust_name)"
- lblEqpName.text = "\(odsSp2Before.eqp_name)"
- lblModel.text = "\(odsSp2Before.models)"
- }
- }
|