Major incomplete Change

This commit is contained in:
Omair Saleh
2019-02-14 11:43:19 +08:00
parent 771c52883f
commit 79131671bf
138 changed files with 2345 additions and 69018 deletions
-5
View File
@@ -3,21 +3,16 @@
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Spatie\Activitylog\Traits\LogsActivity;
class ReceiveNote extends Model
{
use LogsActivity;
protected $table = 'receive_notes';
protected $fillable = [
'order_id', 'tracking_no', 'receive_date'
];
protected static $logFillable = true;
public function order()
{
return $this->belongsTo(Order::class, 'order_id');