Fix
parent
78b2c8ed5f
commit
c69334f8d2
|
|
@ -17,7 +17,7 @@ class DealerEarningResource extends JsonResource
|
|||
$purchaseSubsidyLogs = $this->getPurchaseSubsidyLogs();
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'type' => $this->type_name,
|
||||
'type' => $this->earningable_type_text,
|
||||
'created_at' => $this->created_at->toDateTimeString(),
|
||||
'settle_at' => $this->settle_at?->toDateTimeString(),
|
||||
'total_amount' => $this->total_amount,
|
||||
|
|
|
|||
Loading…
Reference in New Issue