mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 10:44:29 -04:00
Fix for tests
This commit is contained in:
parent
e180601898
commit
2565188c24
@ -249,7 +249,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="table-responsivex" style="padding-top:4px;">
|
||||
<div class="table-responsive" style="padding-top:4px;">
|
||||
|
||||
<table class="table invoice-table">
|
||||
|
||||
@include('invoices.edit_table', ['isTasks' => false])
|
||||
@include('invoices.edit_table', ['isTasks' => true])
|
||||
|
@ -1,5 +1,7 @@
|
||||
<table class="table invoice-table" {!! $isTasks ? 'style="display:none;margin-top:24px;" data-bind="visible: $root.hasTasks"' : '' !!}>
|
||||
<thead>
|
||||
<thead {!! $isTasks ? 'style="display:none;" data-bind="visible: $root.hasTasks"' : '' !!}>
|
||||
@if ($isTasks)
|
||||
<tr><td style="20px"></td></tr>
|
||||
@endif
|
||||
<tr>
|
||||
<th style="min-width:32px;" class="hide-border"></th>
|
||||
<th style="min-width:120px;width:25%">{{ $invoiceLabels['item'] }}</th>
|
||||
@ -17,7 +19,8 @@
|
||||
<th style="min-width:32px;" class="hide-border"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody data-bind="sortable: { data: {{ $isTasks ? 'invoice_items_with_tasks' : 'invoice_items_without_tasks' }}, afterMove: onDragged }">
|
||||
<tbody data-bind="sortable: { data: {{ $isTasks ? 'invoice_items_with_tasks' : 'invoice_items_without_tasks' }}, afterMove: onDragged} {{ $isTasks ? ', visible: $root.hasTasks' : '' }}"
|
||||
{!! $isTasks ? 'style="display:none;border-spacing: 100px"' : '' !!}>
|
||||
<tr data-bind="event: { mouseover: showActions, mouseout: hideActions }" class="sortable-row">
|
||||
<td class="hide-border td-icon">
|
||||
<i style="display:none" data-bind="visible: actionsVisible() &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user