修复 无法判断支付类型的问题
This commit is contained in:
parent
ac48b764a4
commit
0dd43dfc4c
@ -22,12 +22,12 @@
|
||||
@foreach ($transactions as $t)
|
||||
<tr>
|
||||
|
||||
<td>
|
||||
@if ($t->type = 'payout')
|
||||
<td>
|
||||
@if ($t->type === 'payout')
|
||||
<span class="text-danger">
|
||||
支出
|
||||
</span>
|
||||
@else($t->type = 'payin')
|
||||
@elseif($t->type === 'income')
|
||||
<span class="text-success">
|
||||
收入
|
||||
</span>
|
||||
|
Loading…
Reference in New Issue
Block a user