$this->remarks, 'logs' => DistributionPreIncomeLogResource::collection($this->whenLoaded('logs')), 'created_at'=> $this->created_at->format('y-m-d H:i'), 'total_revenue' => $this->total_revenue, 'status' => DistributionPreIncome::$statusTexts[$this->status], ]; } }