</eg-grid>
</div>
<div class="mt-3">
- <eg-grid idlClass="mp" [dataSource]="paymentDataSource"
+ <eg-grid idlClass="mbp" [dataSource]="paymentDataSource"
persistKey="circ.patron.xact_details_details_payments"
i18n-toolbarLabel toolbarLabel="Payments" [sortable]="true">
<eg-grid-toolbar-action label="Edit Note" i18n-label
if (sort.length) {
orderBy.mb = sort[0].name + ' ' + sort[0].dir;
}
- return this.pcrud.search(
- 'mb', {xact: this.xactId}, {order_by: orderBy});
+ return this.pcrud.search('mb', {xact: this.xactId}, {
+ flesh: 1,
+ flesh_fields: {mb: ['voider']},
+ order_by: orderBy
+ });
};
this.paymentDataSource.getRows = (pager: Pager, sort: any[]) => {
const orderBy: any = {};
if (sort.length) {
- orderBy.mp = sort[0].name + ' ' + sort[0].dir;
+ orderBy.mbp = sort[0].name + ' ' + sort[0].dir;
}
- return this.pcrud.search(
- 'mp', {xact: this.xactId}, {order_by: orderBy});
+ return this.pcrud.search('mbp', {xact: this.xactId}, {
+ flesh: 1,
+ flesh_fields: {mbp: ['accepting_usr']},
+ order_by: orderBy
+ });
};
-
this.net.request(
'open-ils.circ',
'open-ils.circ.money.statement.retrieve',