2015-03-06 12:00:10 -03:00
< nav class = "tab-bar" >
2015-05-07 11:07:33 -03:00
< section class = "left-small" >
2015-05-11 16:33:40 -03:00
< a ng-click = "cancel()" >
2015-05-17 00:34:26 -03:00
< i class = "icon-arrow-left3 icon-back" > < / i >
2015-05-11 16:33:40 -03:00
< span class = "text-back" translate > Back< / span >
2015-03-06 12:00:10 -03:00
< / a >
< / section >
< section class = "middle tab-bar-section" >
2015-04-11 17:12:44 -03:00
< h1 class = "title ellipsis" ng-style = "{'color':color}" translate >
2015-05-18 16:21:36 -03:00
Payment Proposal
2015-03-06 12:00:10 -03:00
< / h1 >
< / section >
< / nav >
2015-06-26 17:31:50 -03:00
< div class = "modal-content fix-modals-touch" ng-init = "updateCopayerList()" >
2015-05-18 16:21:36 -03:00
< h4 class = "title m0" translate > Details< / h4 >
2015-03-06 12:00:10 -03:00
< ul class = "no-bullet size-14 m0" >
2015-08-14 16:56:13 -03:00
< div ng-if = "!tx.showSingle && tx.outputs"
2015-07-28 10:22:46 -07:00
ng-repeat="output in [ tx.outputs.summary ]"
ng-include="'views/includes/output.html'">
< / div >
2015-08-14 16:56:13 -03:00
< div ng-if = "!tx.showSingle && tx.outputs && tx.outputs.summary.showDetails"
2015-07-28 10:22:46 -07:00
ng-repeat="output in tx.outputs.details"
ng-include="'views/includes/output.html'">
< / div >
2015-08-14 16:56:13 -03:00
< div ng-if = "tx.showSingle || !tx.outputs"
2015-07-28 10:22:46 -07:00
ng-repeat="output in [ tx ]"
2015-07-02 11:06:37 -07:00
ng-include="'views/includes/output.html'">
< / div >
2015-06-22 11:33:53 -03:00
< li class = "line-b p10" >
< span class = "text-gray" translate > Fee< / span > :
< span class = "right" > {{feeStr}}< / span >
2015-08-11 18:55:47 -03:00
< / li >
2015-03-06 12:00:10 -03:00
< li class = "line-b p10" >
2015-04-22 15:19:08 -03:00
< span class = "text-gray" translate > Time< / span > :
2015-03-06 12:00:10 -03:00
< span class = "right" >
< time > {{ (tx.ts || tx.createdOn ) * 1000 | amTimeAgo}}< / time >
< / span >
< / li >
< li class = "line-b p10 oh" >
2015-04-22 15:19:08 -03:00
< span class = "text-gray" translate > Created by< / span > :
2015-03-06 12:00:10 -03:00
< span class = "right" > {{tx.creatorName}}< / span >
< / li >
< / ul >
2015-08-11 18:55:47 -03:00
< div class = "p10 text-center size-12" ng-show = "!currentSpendUnconfirmed && tx.hasUnconfirmedInputs" >
< span class = "text-warning" translate > Warning: this transaction has unconfirmed inputs< / span >
< / div >
2015-03-06 12:00:10 -03:00
< div ng-if = "tx.paypro" >
2015-04-22 15:19:08 -03:00
< h4 class = "title m0" translate > Payment details< / h4 >
2015-03-06 12:00:10 -03:00
< ul class = "no-bullet size-14 m0" >
< li class = "line-b p10" >
2015-04-22 15:19:08 -03:00
< span class = "text-gray" translate > To< / span > :
2015-03-06 12:00:10 -03:00
< span class = "right" >
2015-04-24 10:32:00 -03:00
< span >
2015-03-06 12:00:10 -03:00
< span ng-show = "tx.merchant.pr.ca" > < i class = "fi-lock" > < / i > {{tx.paypro.domain}}< / span >
< span ng-show = "!tx.merchant.pr.ca" > < i class = "fi-unlock" > < / i > {{tx.paypro.domain}}< / span >
< / span >
< contact address = "{{tx.toAddress}}" ng-hide = "tx.merchant" > < / contact >
< / span >
< / li >
< li class = "line-b p10" >
2015-04-22 15:19:08 -03:00
< span class = "text-gray" translate > Expires< / span > :
2015-03-06 12:00:10 -03:00
< span class = "right" >
< time > {{tx.paypro.expirationDate | amTimeAgo }}< / time >
< / span >
< / li >
< li class = "line-b p10" >
< span class = "text-gray" > Merchant Message:< / span >
< span class = "db" > {{tx.paypro.pr.pd.memo}}< / span >
< / li >
< / ul >
< / div >
< div ng-if = "tx.actions[0] && !txRejected && !txBroadcasted" >
2015-05-18 16:21:36 -03:00
< h4 class = "title m0" translate > Participants< / h4 >
2015-03-06 12:00:10 -03:00
< ul class = "no-bullet size-14 m0" >
< li class = "line-b p10 text-gray" ng-repeat = "ac in tx.actions" >
< i class = "icon-contact size-24" > < / i >
2015-05-13 10:56:08 -03:00
{{ac.copayerName}} < span ng-if = "ac.copayerId == copayerId" > ({{'Me'|translate}})< / span >
2015-03-06 12:00:10 -03:00
< span class = "right" >
< i ng-if = "ac.type == 'reject'" class = "fi-x icon-sign x db" > < / i >
< i ng-if = "ac.type == 'accept'" class = "fi-check icon-sign check db" > < / i >
< i ng-if = "!ac.type" class = "fi-loop" > < / i >
< / span >
< / li >
< / ul >
< / div >
< div class = "box-notification" ng-show = "error" >
< span class = "text-warning size-14" >
{{error|translate}}
< / span >
< / div >
2015-04-22 02:48:00 -03:00
< div class = "row column m20t text-center text-warning" ng-if = "tx.removed" translate >
2015-05-18 16:21:36 -03:00
The payment was removed by creator
2015-04-24 10:32:00 -03:00
< / div >
2015-03-06 12:00:10 -03:00
< div class = "row m20t" ng-if = "tx.pendingForUs" >
< div class = "large-5 medium-5 small-6 columns" >
2015-05-30 23:22:15 -03:00
< button class = "button outline round dark-gray expand" ng-click = "reject(tx);"
2015-03-06 12:00:10 -03:00
ng-disabled="loading">
2015-04-24 10:32:00 -03:00
< i class = "fi-x" > < / i >
2015-03-06 12:00:10 -03:00
< span translate > Reject< / span >
< / button >
< / div >
2015-07-15 22:10:59 -03:00
< div class = "large-5 medium-5 small-6 columns text-right" ng-show = "canSign" >
2015-05-30 23:22:15 -03:00
< button class = "button primary round expand" ng-click = "sign(tx)"
2015-04-24 10:32:00 -03:00
ng-style="{'background-color':color}"
2015-03-06 12:00:10 -03:00
ng-disabled="loading">
2015-04-24 10:32:00 -03:00
< i class = "fi-check" > < / i >
2015-05-18 16:21:36 -03:00
< span translate > Accept< / span >
2015-03-06 12:00:10 -03:00
< / button >
< / div >
< / div >
2015-07-16 15:30:46 -03:00
< div class = "text-center text-gray m20b" ng-show = "tx.status != 'pending'" >
2015-04-24 10:32:00 -03:00
< div class = "m10t"
2015-04-16 12:14:23 -03:00
ng-show="tx.status=='accepted'" translate>
2015-05-18 16:21:36 -03:00
Payment accepted...
2015-04-17 18:10:22 -03:00
< / div >
2015-04-24 10:32:00 -03:00
< div class = "m10t"
2015-04-17 18:10:22 -03:00
ng-show="!loading & & tx.status!='broadcasted' & & tx.status=='accepted' & & tx.status!='rejected'">
< div translate > But not broadcasted. Try to send manually< / div >
2015-05-17 00:34:26 -03:00
< button class = "primary round"
2015-04-17 18:10:22 -03:00
ng-click="broadcast(tx)"
ng-disabled="loading"> < i class = "fi-upload-cloud" > < / i >
2015-05-18 16:21:36 -03:00
< span translate > Broadcast Payment< / span >
2015-04-17 18:10:22 -03:00
< / button >
< / div >
2015-04-24 10:32:00 -03:00
< div class = "text-success m10t"
2015-04-17 18:10:22 -03:00
ng-show="tx.status=='broadcasted'" translate>
2015-05-18 16:21:36 -03:00
Payment sent!
2015-03-06 12:00:10 -03:00
< / div >
2015-08-14 16:56:13 -03:00
< div class = "text-center text-warning m10t"
2015-04-16 12:14:23 -03:00
ng-show="tx.status=='rejected'" translate>
2015-05-18 16:21:36 -03:00
Payment finally rejected
2015-03-06 12:00:10 -03:00
< / div >
< / div >
2015-04-22 02:48:00 -03:00
2015-06-18 11:17:35 -03:00
< div class = "row column m20t" ng-if = "tx.canBeRemoved" >
< div class = "text-gray size-12 text-center m20b" show = "tx.canBeRemoved" translate >
2015-06-17 16:54:14 -03:00
* A payment proposal can be deleted if 1) you are the creator, and no other copayer has signed, or 2) 24 hours have passed since the proposal was created.
2015-04-28 13:58:19 -03:00
< / div >
2015-05-17 00:34:26 -03:00
< button class = "tiny expand round outline dark-gray" ng-click = "remove(tx)"
2015-06-18 11:17:35 -03:00
ng-disabled="loading" ng-show="tx.canBeRemoved">
2015-04-24 10:56:37 -03:00
< i class = "fi-trash size-14 m5r" > < / i >
2015-05-18 16:21:36 -03:00
< span translate > Delete Payment Proposal< / span >
2015-04-22 02:48:00 -03:00
< / button >
< / div >
2015-05-29 16:30:17 -03:00
< div class = "extra-margin-bottom" > < / div >
2015-03-06 12:00:10 -03:00
< / div >