|
@@ -116,9 +116,6 @@ class RejectedBill extends ModelExtended
|
|
|
}
|
|
}
|
|
|
return '';
|
|
return '';
|
|
|
}
|
|
}
|
|
|
- public function getCreatedAtShortAttribute(){
|
|
|
|
|
- return $this['created_at']?$this['created_at_short']=$this['created_at']->format('m-d H:i:s'):'';
|
|
|
|
|
- }
|
|
|
|
|
public function getGoodsAmountAttribute(){
|
|
public function getGoodsAmountAttribute(){
|
|
|
$amount=0;
|
|
$amount=0;
|
|
|
$this->items->each(function (RejectedBillItem $item)use(&$amount){
|
|
$this->items->each(function (RejectedBillItem $item)use(&$amount){
|