frontend update

This commit is contained in:
carodej
2020-06-03 10:58:44 +02:00
parent 331ee52ea3
commit ca14838212
60 changed files with 1871 additions and 710 deletions

18
app/Invoice.php Normal file
View File

@@ -0,0 +1,18 @@
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Invoice extends Model
{
protected $casts = [
'seller' => 'array',
'client' => 'array',
'bag' => 'array',
];
public function user() {
return $this->hasOne(User::class, 'id', 'user_id');
}
}