taler-android

Android apps for GNU Taler (wallet, PoS, cashier)
Log | Files | Refs | README | LICENSE

receipt-screen-titled-payment-required.diff (1236B)


      1 diff --git a/merchant-terminal/src/main/java/net/taler/merchantpos/MainActivity.kt b/merchant-terminal/src/main/java/net/taler/merchantpos/MainActivity.kt
      2 index 87c5079e..897d06fc 100644
      3 --- a/merchant-terminal/src/main/java/net/taler/merchantpos/MainActivity.kt
      4 +++ b/merchant-terminal/src/main/java/net/taler/merchantpos/MainActivity.kt
      5 @@ -533,6 +533,13 @@ private fun MerchantTerminalApp(
      6                      {
      7                          currentPayment?.statusLoading == true -> R.string.order_details_loading
      8                          currentPayment?.claimed == true -> R.string.checkout_payment_claimed_title
      9 +                        // A sale settled entirely in cash or on a card reaches
     10 +                        // this screen only to hand the customer a receipt.
     11 +                        // The body says so -- "Collect receipt", "Paid in
     12 +                        // full" -- and titling it "Payment required" told the
     13 +                        // cashier the opposite on the same screen.
     14 +                        currentPayment?.selfCollect == true ->
     15 +                            R.string.checkout_collect_receipt_title
     16                          else -> R.string.payment_process_label
     17                      },
     18                  )