|
|
@ -20,36 +20,31 @@ Popup: |
|
|
|
cols: 1 |
|
|
|
height: self.minimum_height |
|
|
|
size_hint_y: None |
|
|
|
padding: '10dp' |
|
|
|
spacing: '10dp' |
|
|
|
GridLayout: |
|
|
|
cols: 2 |
|
|
|
cols: 1 |
|
|
|
size_hint_y: None |
|
|
|
height: self.minimum_height |
|
|
|
spacing: '10dp' |
|
|
|
padding: '10dp' |
|
|
|
TopLabel: |
|
|
|
text: _('Requestor') if popup.is_invoice else _('Address') |
|
|
|
TopLabel: |
|
|
|
text: root.requestor |
|
|
|
TopLabel: |
|
|
|
BoxLabel: |
|
|
|
text: (_('Status') if popup.amount or popup.is_invoice else _('Amount received')) if root.status else '' |
|
|
|
value: root.status |
|
|
|
BoxLabel: |
|
|
|
text: _('Amount') if root.amount else '' |
|
|
|
TopLabel: |
|
|
|
text: app.format_amount_and_units(root.amount) if root.amount else '' |
|
|
|
TopLabel: |
|
|
|
value: app.format_amount_and_units(root.amount) if root.amount else '' |
|
|
|
BoxLabel: |
|
|
|
text: _('Requestor') if popup.is_invoice else _('Address') |
|
|
|
value: root.requestor |
|
|
|
BoxLabel: |
|
|
|
text: _('Signature') if root.signature else '' |
|
|
|
TopLabel: |
|
|
|
text: root.signature |
|
|
|
TopLabel: |
|
|
|
value: root.signature |
|
|
|
BoxLabel: |
|
|
|
text: _('Expiration') if root.exp else '' |
|
|
|
TopLabel: |
|
|
|
text: root.exp |
|
|
|
TopLabel: |
|
|
|
value: root.exp |
|
|
|
BoxLabel: |
|
|
|
text: _('Description') if root.description else '' |
|
|
|
TopLabel: |
|
|
|
text: root.description |
|
|
|
TopLabel: |
|
|
|
text: (_('Status') if popup.amount or popup.is_invoice else _('Amount received')) if root.status else '' |
|
|
|
TopLabel: |
|
|
|
text: root.status |
|
|
|
value: root.description |
|
|
|
|
|
|
|
TopLabel: |
|
|
|
text: _('Outputs') if popup.is_invoice else '' |
|
|
|