'date:Y-m-d', ]; /** * Get all the transactions for the Sale */ public function transactions(): MorphMany { return $this->morphMany(Transaction::class, 'transactionable'); } public function branch(): BelongsTo { return $this->belongsTo(Branch::class); } }