Commit f919ce34 by lizhilin

更新

parent 137aac13
...@@ -29,7 +29,7 @@ protected function grid() ...@@ -29,7 +29,7 @@ protected function grid()
$grid->model()->orderBy('id', 'DESC'); $grid->model()->orderBy('id', 'DESC');
//$grid->column('id')->sortable(); //$grid->column('id')->sortable();
$grid->column('number'); $grid->column('number');
$grid->column('cname'); $grid->column('cname')->width(200);
$grid->column('ctype')->display(function ($val) { $grid->column('ctype')->display(function ($val) {
return Covenant::CTYPE[$val]; return Covenant::CTYPE[$val];
}); });
......
...@@ -61,10 +61,10 @@ protected function grid() ...@@ -61,10 +61,10 @@ protected function grid()
<th width="90"></th> <th width="90"></th>
<th width="90">合计</th> <th width="90">合计</th>
<th width="90"></th> <th width="90"></th>
<th width="105"></th> <th width="90"></th>
<th width="90">&nbsp;&nbsp;&nbsp;&nbsp;' . sprintf('%.2f', $invoicedMoney) . '</th> <th width="90">' . sprintf('%.2f', $invoicedMoney) . '</th>
<th width="90">&nbsp;&nbsp;' . sprintf('%.2f', $receivedMoney) . '</th> <th width="90">' . sprintf('%.2f', $receivedMoney) . '</th>
<th width="90">&nbsp;&nbsp;' . $receiptNoinvoice . '</th> <th width="90">' . $receiptNoinvoice . '</th>
<th width="90"> ' . $invoiceNoreceipt . '</th> <th width="90"> ' . $invoiceNoreceipt . '</th>
</tr> </tr>
</thead> </thead>
......
...@@ -78,18 +78,18 @@ protected function grid() ...@@ -78,18 +78,18 @@ protected function grid()
<tr> <tr>
<th width="100" style="text-align:right;">合计</th> <th width="100" style="text-align:right;">合计</th>
<th width="90">&nbsp;&nbsp;</th> <th width="90">&nbsp;&nbsp;</th>
<th width="100" style="text-align:center;">' . sprintf('%.2f', $received_amount) . '</th> <th width="90" style="text-align:left;">' . sprintf('%.2f', $received_amount) . '</th>
<th width="80" style="text-align:center;">' . sprintf('%.2f', $commissionAmount) . '</th> <th width="80" style="text-align:left;">' . sprintf('%.2f', $commissionAmount) . '</th>
<th width="90" style="text-align:center;">' . sprintf('%.2f', $received_noinvoiced) . '</th> <th width="90" style="text-align:left;">' . sprintf('%.2f', $received_noinvoiced) . '</th>
<th width="90" style="text-align:center;">' . sprintf('%.2f', $invoiced_noreceived) . '</th> <th width="90" style="text-align:left;">' . sprintf('%.2f', $invoiced_noreceived) . '</th>
<th width="90" style="text-align:center;">' . $costTotal . '</th> <th width="90" style="text-align:left;">' . $costTotal . '</th>
<th width="90" style="text-align:center;">' . $basicSalary . '</th> <th width="90" style="text-align:left;">' . $basicSalary . '</th>
<th width="90" style="text-align:center;">' . $special_additional . '</th> <th width="90" style="text-align:left;">' . $special_additional . '</th>
<th width="90" style="text-align:center;">' . $social . '</th> <th width="90" style="text-align:left;">' . $social . '</th>
<th width="90" style="text-align:center;">' . $accumulation_fund . '</th> <th width="90" style="text-align:left;">' . $accumulation_fund . '</th>
<th width="90" style="text-align:center;">' . $posting_tickets . '</th> <th width="90" style="text-align:left;">' . $posting_tickets . '</th>
<th width="90" style="text-align:center;">' . $advance_fee . '</th> <th width="90" style="text-align:left;">' . $advance_fee . '</th>
<th width="90" style="text-align:center;">' . $payable_amount . '</th> <th width="90" style="text-align:left;">' . $payable_amount . '</th>
</tr> </tr>
</thead> </thead>
...@@ -120,43 +120,43 @@ protected function grid() ...@@ -120,43 +120,43 @@ protected function grid()
// 'text-align:center', // 'text-align:center',
// ]); // ]);
$grid->column('lname', '律师名称')->width(90)->style([ $grid->column('lname', '律师名称')->width(90)->style([
'text-align:center', 'text-align:left',
]); ]);
$grid->column('commission_ratio', '提成比例(%)')->width(90)->style([ $grid->column('commission_ratio', '提成比例(%)')->width(90)->style([
'text-align:center', 'text-align:left',
]); ]);
$grid->column('receipt_money', '创收已收款')->width(90)->style([ $grid->column('receipt_money', '创收已收款')->width(90)->style([
'text-align:center', 'text-align:left',
]); ]);
$grid->column('commission_amount', '提成金额')->width(80)->style([ $grid->column('commission_amount', '提成金额')->width(80)->style([
'text-align:center', 'text-align:left',
]); ]);
$grid->column('receipt_noinvoice', '已收款未开票')->width(90)->style([ $grid->column('receipt_noinvoice', '已收款未开票')->width(90)->style([
'text-align:center', 'text-align:left',
]); ]);
$grid->column('invoice_noreceipt', '已开票未收款')->width(90)->style([ $grid->column('invoice_noreceipt', '已开票未收款')->width(90)->style([
'text-align:center', 'text-align:left',
]); ]);
$grid->column('cost', '成本合计')->width(90)->style([ $grid->column('cost', '成本合计')->width(90)->style([
'text-align:center', 'text-align:left',
]); ]);
$grid->column('basic_salary', '基本工资')->width(90)->style([ $grid->column('basic_salary', '基本工资')->width(90)->style([
'text-align:center', 'text-align:left',
]); ]);
$grid->column('special_additional', '专项附加')->width(90)->style([ $grid->column('special_additional', '专项附加')->width(90)->style([
'text-align:center', 'text-align:left',
]); ]);
$grid->column('social', '社保')->width(90)->style([ $grid->column('social', '社保')->width(90)->style([
'text-align:center', 'text-align:left',
]); ]);
$grid->column('accumulation_fund', '公积金')->width(90)->style([ $grid->column('accumulation_fund', '公积金')->width(90)->style([
'text-align:center', 'text-align:left',
]); ]);
$grid->column('posting_tickets_fee', '贴票金额')->width(90)->style([ $grid->column('posting_tickets_fee', '贴票金额')->width(90)->style([
'text-align:center', 'text-align:left',
]); ]);
$grid->column('advance_fee', '预支款')->width(90)->style([ $grid->column('advance_fee', '预支款')->width(90)->style([
'text-align:center', 'text-align:left',
]); ]);
$grid->column('payable_commission', '可结算提成')->width(90); $grid->column('payable_commission', '可结算提成')->width(90);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment