update
This commit is contained in:
parent
1f06d1486e
commit
000eb51cb1
@ -88,6 +88,7 @@ class CostProjectLists extends BaseAdminDataLists implements ListsSearchInterfac
|
|||||||
$item['contract']['contract_type_text'] = $item['contract']->contract_type_text;
|
$item['contract']['contract_type_text'] = $item['contract']->contract_type_text;
|
||||||
$item['total_invoice_amount'] = ZjzxInvoice::where('project_id',$item['id'])->sum('apply_amount');
|
$item['total_invoice_amount'] = ZjzxInvoice::where('project_id',$item['id'])->sum('apply_amount');
|
||||||
$item['total_refund_amount'] = ZjzxRefund::where('project_id',$item['id'])->sum('amount');
|
$item['total_refund_amount'] = ZjzxRefund::where('project_id',$item['id'])->sum('amount');
|
||||||
|
$item['total_pay_amount'] = ProjectCommission::where('project_id',$item['id'])->sum('bczfze');
|
||||||
})
|
})
|
||||||
->toArray();
|
->toArray();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user