2016-07-21 15:32:49 +02:00
|
|
|
<div ng-if="currentUser.role != 'admin'">
|
2016-09-23 11:46:58 +02:00
|
|
|
<h3 class="m-t-xs" ng-if="walletAmount > 0 && price > 0" ng-bind-html="'you_have_amount_in_wallet' | translate:{ amount: numberFilter(walletAmount, 2), currency: currencySymbol }"></h3>
|
2016-07-21 15:32:49 +02:00
|
|
|
<p ng-if="walletAmount > 0 && price > 0 && amount === 0" class="text-italic">{{'wallet_pay_reservation' | translate}}</p>
|
2016-09-23 11:46:58 +02:00
|
|
|
<p ng-if="walletAmount > 0 && amount !== 0" class="text-italic" ng-bind-html="'credit_amount_for_pay_reservation' | translate:{ amount: numberFilter(amount, 2), currency: currencySymbol }"></p>
|
2016-07-21 15:32:49 +02:00
|
|
|
</div>
|
|
|
|
<div ng-if="currentUser.role == 'admin'">
|
2016-09-23 11:46:58 +02:00
|
|
|
<h3 class="m-t-xs" ng-if="walletAmount > 0 && price > 0" ng-bind-html="'client_have_amount_in_wallet' | translate:{ amount: numberFilter(walletAmount, 2), currency: currencySymbol }"></h3>
|
2016-07-21 15:32:49 +02:00
|
|
|
<p ng-if="walletAmount > 0 && price > 0 && amount === 0" class="text-italic">{{'client_wallet_pay_reservation' | translate}}</p>
|
2016-09-23 11:46:58 +02:00
|
|
|
<p ng-if="walletAmount > 0 && amount !== 0" class="text-italic" ng-bind-html="'client_credit_amount_for_pay_reservation' | translate:{ amount: numberFilter(amount, 2), currency: currencySymbol }"></p>
|
2016-07-21 15:32:49 +02:00
|
|
|
</div>
|