Searching frontend

This commit is contained in:
Peter Papp
2021-04-22 10:06:31 +02:00
parent 73861f814c
commit 3774a05edd
14 changed files with 111 additions and 40 deletions
+2 -2
View File
@@ -25,11 +25,11 @@ trait Oasis
public function regularInvoices()
{
return $this->hasMany(Invoice::class)->whereInvoiceType('regular_invoice');
return $this->hasMany(Invoice::class)->whereInvoiceType('regular-invoice');
}
public function advanceInvoices()
{
return $this->hasMany(Invoice::class)->whereInvoiceType('advance_invoice');
return $this->hasMany(Invoice::class)->whereInvoiceType('advance-invoice');
}
}