commit fecec9d9aba46383f5ba2949e564a93e873e8530
parent fecf6f3f9dfe695664b496219902fe0597b63b5f
Author: Marc Stibane <marc@taler.net>
Date: Thu, 7 Nov 2024 19:57:30 +0100
- proposalId
Diffstat:
3 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/TalerWallet1/Model/Transaction.swift b/TalerWallet1/Model/Transaction.swift
@@ -430,7 +430,6 @@ struct RefundInfo: Decodable {
}
struct PaymentTransactionDetails: Decodable {
var info: OrderShortInfo
- var proposalId: String
var totalRefundRaw: Amount
var totalRefundEffective: Amount
var refundPending: Amount?
diff --git a/TalerWallet1/Preview Content/transactions.json b/TalerWallet1/Preview Content/transactions.json
@@ -28,7 +28,6 @@
"major": "done"
},
- "proposalId": "43JV9JTB270X1EBH5T59HV9JF2CQW8ZY7M23PS8444BGY4F2Z110",
"status": "paid",
"totalRefundRaw": "KUDOS:0",
"totalRefundEffective": "KUDOS:0"
@@ -75,7 +74,6 @@
"major": "done"
},
- "proposalId": "3F9DWB6DNAT8WDPRHQ160AZ1G8WNJH23069Q39HDK8Z3EAR804M0",
"status": "paid",
"totalRefundRaw": "KUDOS:0",
"totalRefundEffective": "KUDOS:0",
@@ -115,7 +113,6 @@
"major": "done"
},
- "proposalId": "8AG5GVQ7E2FGREEH8V5ADNW1D6NPVD4YCF26763A9JYEQ76AVBX0"
"status": "paid",
"totalRefundRaw": "KUDOS:0",
"totalRefundEffective": "KUDOS:0",
@@ -175,7 +172,6 @@
"t_s":1683531978
},
"transactionId":"txn:payment:43JV9JTB270X1EBH5T59HV9JF2CQW8ZY7M23PS8444BGY4F2Z110",
- "proposalId":"43JV9JTB270X1EBH5T59HV9JF2CQW8ZY7M23PS8444BGY4F2Z110",
"info":{
"merchant":{
"name":"GNU Taler",
@@ -229,7 +225,6 @@
"refunds":[],
"timestamp":{ "t_s":1683531996 },
"transactionId":"txn:payment:3F9DWB6DNAT8WDPRHQ160AZ1G8WNJH23069Q39HDK8Z3EAR804M0",
- "proposalId":"3F9DWB6DNAT8WDPRHQ160AZ1G8WNJH23069Q39HDK8Z3EAR804M0",
"info":{
"merchant":{
"name":"GNU Taler",
@@ -279,7 +274,6 @@
"t_s":1683531998
},
"transactionId":"txn:payment:8AG5GVQ7E2FGREEH8V5ADNW1D6NPVD4YCF26763A9JYEQ76AVBX0",
- "proposalId":"8AG5GVQ7E2FGREEH8V5ADNW1D6NPVD4YCF26763A9JYEQ76AVBX0",
"info":{
"merchant":{
"name":"GNU Taler",
diff --git a/TalerWallet1/Views/Transactions/TransactionRowView.swift b/TalerWallet1/Views/Transactions/TransactionRowView.swift
@@ -234,7 +234,6 @@ extension Transaction { // for PreViews
summary: "some product summary",
products: [])
let pDetails = PaymentTransactionDetails(info: info,
- proposalId: "some proposal ID",
totalRefundRaw: Amount(currency: LONGCURRENCY, cent: 300),
totalRefundEffective: Amount(currency: LONGCURRENCY, cent: 280),
refunds: [],