🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:Payment.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Payment extends Model { protected $fillable = [ 'project_id', 'client_id', 'amount', 'payment_method', 'reference_number', 'slip_path', 'notes', 'status', 'paid_at', ]; protected $casts = [ 'amount' => 'decimal:2', 'paid_at' => 'datetime', ]; public function project() { return $this->belongsTo(Project::class); } public function client() { return $this->belongsTo(User::class, 'client_id'); } }
Save Changes
Cancel
Create New File
Create New Folder