财务台账:限额列内容居中 #441
@ -138,6 +138,7 @@
|
||||
.ledger-table td.num, .ledger-table th.num { text-align:right; font-variant-numeric:tabular-nums; }
|
||||
.ledger-accounts-table thead th,
|
||||
.ledger-accounts-table thead th.num { text-align:center; }
|
||||
.ledger-accounts-table tbody td.center { text-align:center; }
|
||||
.ledger-accounts-table { min-width:max-content; }
|
||||
.ledger-accounts-table tbody td { overflow:hidden; text-overflow:ellipsis; }
|
||||
.ledger-accounts-table .is-column-hidden { display:none !important; }
|
||||
@ -322,7 +323,7 @@
|
||||
</select>
|
||||
@endif
|
||||
</td>
|
||||
<td>{{ $row->account_last4 }}</td><td title="{{ $moneyYuanTitle($row->single_limit) }}">{{ $moneyWan($row->single_limit) }}</td><td title="{{ $moneyYuanTitle($row->daily_limit) }}">{{ $moneyWan($row->daily_limit) }}</td><td title="{{ $moneyYuanTitle($row->monthly_limit) }}">{{ $moneyWan($row->monthly_limit) }}</td><td title="{{ $moneyYuanTitle($row->yearly_limit) }}">{{ $moneyWan($row->yearly_limit) }}</td><td class="num" data-account-current-balance="{{ (float) $row->current_balance }}" title="{{ $moneyYuanTitle($row->current_balance) }}">{{ $moneyWan($row->current_balance) }}</td><td class="num" data-account-available-amount title="{{ $moneyYuanTitle($row->daily_available) }}">{{ $moneyWan($row->daily_available) }}</td><td class="num" data-account-blocked-amount title="{{ $moneyYuanTitle($row->blocked_amount) }}">{{ $moneyWan($row->blocked_amount) }}</td><td class="num" data-account-daily-available-amount title="{{ $moneyYuanTitle($row->daily_available) }}">{{ $moneyWan($row->daily_available) }}</td><td class="num">{{ $row->clearing_days !== null ? number_format((float) $row->clearing_days, 2) : '' }}</td><td title="{{ $moneyYuanTitle($row->raise_target) }}">{{ $moneyWan($row->raise_target) }}</td><td>{{ $row->raise_status }}</td><td>{{ $row->raise_actions }}</td><td>{{ $row->done_actions }}</td><td>{{ $row->next_action }}</td><td>{{ $row->remark }}</td><td>{{ $row->owner }}</td>
|
||||
<td>{{ $row->account_last4 }}</td><td class="center" title="{{ $moneyYuanTitle($row->single_limit) }}">{{ $moneyWan($row->single_limit) }}</td><td class="center" title="{{ $moneyYuanTitle($row->daily_limit) }}">{{ $moneyWan($row->daily_limit) }}</td><td class="center" title="{{ $moneyYuanTitle($row->monthly_limit) }}">{{ $moneyWan($row->monthly_limit) }}</td><td class="center" title="{{ $moneyYuanTitle($row->yearly_limit) }}">{{ $moneyWan($row->yearly_limit) }}</td><td class="num" data-account-current-balance="{{ (float) $row->current_balance }}" title="{{ $moneyYuanTitle($row->current_balance) }}">{{ $moneyWan($row->current_balance) }}</td><td class="num" data-account-available-amount title="{{ $moneyYuanTitle($row->daily_available) }}">{{ $moneyWan($row->daily_available) }}</td><td class="num" data-account-blocked-amount title="{{ $moneyYuanTitle($row->blocked_amount) }}">{{ $moneyWan($row->blocked_amount) }}</td><td class="num" data-account-daily-available-amount title="{{ $moneyYuanTitle($row->daily_available) }}">{{ $moneyWan($row->daily_available) }}</td><td class="num">{{ $row->clearing_days !== null ? number_format((float) $row->clearing_days, 2) : '' }}</td><td title="{{ $moneyYuanTitle($row->raise_target) }}">{{ $moneyWan($row->raise_target) }}</td><td>{{ $row->raise_status }}</td><td>{{ $row->raise_actions }}</td><td>{{ $row->done_actions }}</td><td>{{ $row->next_action }}</td><td>{{ $row->remark }}</td><td>{{ $row->owner }}</td>
|
||||
</tr>
|
||||
@empty
|
||||
<tr><td colspan="27"><div class="ledger-empty">没有匹配的账户数据。</div></td></tr>
|
||||
|
||||
@ -213,7 +213,11 @@ class FinanceLedgerAccountStatusTest extends FeatureTestCase
|
||||
->assertSee('>12.00</td>', false)
|
||||
->assertSee('>0.35</td>', false)
|
||||
->assertSee('>20.00 / 1.00</td>', false)
|
||||
->assertSee('>5.00</td>', false);
|
||||
->assertSee('>5.00</td>', false)
|
||||
->assertSee('<td class="center" title="200000/10000">20.00 / 1.00</td>', false)
|
||||
->assertSee('<td class="center" title="300,000.00 元">30.00</td>', false)
|
||||
->assertSee('<td class="center" title="400,000.00 元">40.00</td>', false)
|
||||
->assertSee('<td class="center" title="500,000.00 元">50.00</td>', false);
|
||||
}
|
||||
|
||||
public function test_unavailable_balance_tasks_page_is_separate_and_only_lists_blocked_accounts(): void
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user