|
|
|
@ -123,10 +123,6 @@ class FinancialRecord extends Model |
|
|
|
|
|
|
|
public function getMoneyTextAttribute() |
|
|
|
{ |
|
|
|
if($this->attributes['money_type'] >= 100){ |
|
|
|
return '- ¥ '.$this->attributes['money']; |
|
|
|
}else{ |
|
|
|
return '+ ¥ '.$this->attributes['money']; |
|
|
|
} |
|
|
|
return '¥ '.$this->attributes['money']; |
|
|
|
} |
|
|
|
} |