attributes['currency_id']; return Currency::find($currency_id)->name; } public function getPayCurrencyNameAttribute(){ $currency_id = $this->attributes['pay_currency_id']; return Currency::find($currency_id)->name; } public function getTimeStatusAttribute(){ $start_at = $this->attributes['start_at']; $end_at = $this->attributes['end_at']; if(time()