Renamed method
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
634db7c7fc
commit
3881e435f4
|
@ -13,7 +13,7 @@ module.exports = Self => {
|
||||||
require('../methods/client/getCard')(Self);
|
require('../methods/client/getCard')(Self);
|
||||||
require('../methods/client/getDebt')(Self);
|
require('../methods/client/getDebt')(Self);
|
||||||
require('../methods/client/getMana')(Self);
|
require('../methods/client/getMana')(Self);
|
||||||
require('../methods/client/getTransactions')(Self);
|
require('../methods/client/transactions')(Self);
|
||||||
require('../methods/client/hasCustomerRole')(Self);
|
require('../methods/client/hasCustomerRole')(Self);
|
||||||
require('../methods/client/isValidClient')(Self);
|
require('../methods/client/isValidClient')(Self);
|
||||||
require('../methods/client/lastActiveTickets')(Self);
|
require('../methods/client/lastActiveTickets')(Self);
|
||||||
|
|
|
@ -1,15 +1,7 @@
|
||||||
<vn-crud-model
|
<vn-crud-model vn-id="model" url="clients/transactions" link="{clientFk: $ctrl.$params.id}" limit="20"
|
||||||
vn-id="model"
|
data="transactions" order="created DESC" auto-load="true">
|
||||||
url="clients/getTransactions"
|
|
||||||
link="{clientFk: $ctrl.$params.id}"
|
|
||||||
limit="20"
|
|
||||||
data="transactions"
|
|
||||||
order="created DESC"
|
|
||||||
auto-load="true">
|
|
||||||
</vn-crud-model>
|
</vn-crud-model>
|
||||||
<vn-data-viewer
|
<vn-data-viewer model="model" class="vn-w-md">
|
||||||
model="model"
|
|
||||||
class="vn-w-md">
|
|
||||||
<vn-card>
|
<vn-card>
|
||||||
<vn-table model="model">
|
<vn-table model="model">
|
||||||
<vn-thead>
|
<vn-thead>
|
||||||
|
@ -24,27 +16,19 @@
|
||||||
<vn-tbody>
|
<vn-tbody>
|
||||||
<vn-tr ng-repeat="transaction in transactions">
|
<vn-tr ng-repeat="transaction in transactions">
|
||||||
<vn-td shrink>
|
<vn-td shrink>
|
||||||
<vn-icon
|
<vn-icon vn-tooltip="{{::$ctrl.getFormattedMessage(transaction)}}"
|
||||||
vn-tooltip="{{::$ctrl.getFormattedMessage(transaction)}}"
|
|
||||||
ng-show="::((transaction.errorMessage || transaction.responseMessage) && !transaction.isConfirmed)"
|
ng-show="::((transaction.errorMessage || transaction.responseMessage) && !transaction.isConfirmed)"
|
||||||
icon="clear">
|
icon="clear">
|
||||||
</vn-icon>
|
</vn-icon>
|
||||||
<vn-icon
|
<vn-icon vn-tooltip="Confirmed" ng-show="::(transaction.isConfirmed)" icon="check">
|
||||||
vn-tooltip="Confirmed"
|
|
||||||
ng-show="::(transaction.isConfirmed)"
|
|
||||||
icon="check">
|
|
||||||
</vn-icon>
|
</vn-icon>
|
||||||
</vn-td>
|
</vn-td>
|
||||||
<vn-td number>{{::transaction.id}}</vn-td>
|
<vn-td number>{{::transaction.id}}</vn-td>
|
||||||
<vn-td>{{::transaction.created | date:'dd/MM/yyyy HH:mm'}}</vn-td>
|
<vn-td>{{::transaction.created | date:'dd/MM/yyyy HH:mm'}}</vn-td>
|
||||||
<vn-td number>{{::transaction.amount | currency: 'EUR':2}}</vn-td>
|
<vn-td number>{{::transaction.amount | currency: 'EUR':2}}</vn-td>
|
||||||
<vn-td shrink>
|
<vn-td shrink>
|
||||||
<vn-icon-button
|
<vn-icon-button icon="done_all" vn-acl="administrative" vn-acl-action="remove"
|
||||||
icon="done_all"
|
translate-attr="{title: 'Confirm transaction'}" ng-show="::!transaction.isConfirmed"
|
||||||
vn-acl="administrative"
|
|
||||||
vn-acl-action="remove"
|
|
||||||
translate-attr="{title: 'Confirm transaction'}"
|
|
||||||
ng-show="::!transaction.isConfirmed"
|
|
||||||
ng-click="$ctrl.confirm(transaction)">
|
ng-click="$ctrl.confirm(transaction)">
|
||||||
</vn-icon-button>
|
</vn-icon-button>
|
||||||
</vn-td>
|
</vn-td>
|
||||||
|
|
Loading…
Reference in New Issue