Add initial Code
This commit is contained in:
1 parent
d204098d8e
commit
9da301c4f1
447 files changed
+34393
No files matched your search
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class PaymentTerms extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'description',
|
||||
'is_fixed',
|
||||
'days'
|
||||
];
|
||||
|
||||
/**
|
||||
* Get the customers that use this payment term.
|
||||
*/
|
||||
public function customers()
|
||||
{
|
||||
return $this->hasMany(Customer::class);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user