Remove expenses from documents in Client Portal

This commit is contained in:
David Bomba 2021-11-30 17:28:07 +11:00
parent 2027f4e53c
commit 5798efc0be
2 changed files with 1 additions and 7 deletions

View File

@ -74,7 +74,7 @@ class DocumentsTable extends Component
break; break;
case 'expenses': case 'expenses':
$this->query = $this->expenses(); // $this->query = $this->expenses();
break; break;
case 'invoices': case 'invoices':

View File

@ -12,12 +12,6 @@
{{ ctrans('texts.credits') }} {{ ctrans('texts.credits') }}
</button> </button>
<button
class="button border border-transparent hover:border-gray-600 {{ $tab === 'expenses' ? 'border-gray-600' : '' }}"ž
wire:click="updateResources('expenses')" />
{{ ctrans('texts.expenses') }}
</button>
<button <button
class="button border border-transparent hover:border-gray-600 {{ $tab === 'invoices' ? 'border-gray-600' : '' }}"ž class="button border border-transparent hover:border-gray-600 {{ $tab === 'invoices' ? 'border-gray-600' : '' }}"ž
wire:click="updateResources('invoices')" /> wire:click="updateResources('invoices')" />