瀏覽代碼

退件提交报错

LD 5 年之前
父節點
當前提交
501afc862f
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      app/RejectedBill.php

+ 0 - 3
app/RejectedBill.php

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