Commit d4217b53 by yasir

update

1 parent ea117e5f
......@@ -104,6 +104,7 @@ class ViewData(BaseView):
dict(title="Customer"),
dict(title="Vendor"),
dict(title="Amount"),
dict(title="Fee"),
dict(title="Status"),
],
'column_data': [
......@@ -113,6 +114,7 @@ class ViewData(BaseView):
dict(data="customer"),
dict(data="vendor"),
dict(data="amount", width="100px"),
dict(data="fee", width="100px"),
dict(data="status", width="100px"),
],
'buttons': [
......@@ -172,7 +174,9 @@ class ViewData(BaseView):
mData='customer'
),
ColumnDT(vendor.nama, mData='vendor'),
ColumnDT(PartnerPay.amt_sell, mData='amount'),
ColumnDT(PartnerPay.fee, mData='fee'),
ColumnDT(case(
[
(PartnerPay.status <= 0, 0)
......
......@@ -119,6 +119,7 @@
{'data': 'customer'},
{'data': 'vendor'},
{'data': 'amount', 'width': '100px'},
{'data': 'fee', 'width': '100px'},
{'data': 'status', 'width': '100px',
'render': function(data, type, full, meta) {
var st = ${params.status_payment};
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!