This commit is contained in:
Benjamin Beganović 2021-04-19 16:57:25 +02:00
parent 2c4a3dbb0c
commit de5b6473bb
2 changed files with 9 additions and 0 deletions

View File

@ -29,6 +29,8 @@ class InvoicesTable extends Component
public function mount()
{
$this->sort_asc = false;
$this->sort_field = 'date';
}
public function render()

View File

@ -23,6 +23,13 @@ class RecurringInvoicesTable extends Component
public $per_page = 10;
public function mount()
{
$this->sort_asc = false;
$this->sort_field = 'date';
}
public function render()
{
$query = RecurringInvoice::query();