Update
parent
2496b94ad4
commit
994da883ed
|
|
@ -33,7 +33,7 @@ class AfterSaleResource extends JsonResource
|
||||||
'remarks' => $this->remarks,
|
'remarks' => $this->remarks,
|
||||||
'created_at' => $this->created_at->toDateTimeString(),
|
'created_at' => $this->created_at->toDateTimeString(),
|
||||||
'amount'=> $this->amount_format,
|
'amount'=> $this->amount_format,
|
||||||
'points' => $this->points,
|
'points' => bcdiv($this->points, 100, 2),
|
||||||
// 'logs' => AfterSaleLogResource::make($this->whenLoaded('logs')),
|
// 'logs' => AfterSaleLogResource::make($this->whenLoaded('logs')),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue