Fix missing group payment info on order page

This commit is contained in:
Dillon Ngo
2024-03-08 23:31:37 +08:00
parent 45a2544b9d
commit ffd95ee1cc
4 changed files with 8 additions and 6 deletions
@@ -121,7 +121,7 @@ class TransactionWithStorageResource extends JsonResource
'remarks' => RemarkResource::collection($this->remarks),
'storages' => $this->storages ? $this->storages : null, //from middleware
'is_waived' => (int) $this->is_waived,
'expires_on' => Carbon::parse($this->expires_on)->format('d-m-Y h:s:i'),
'expires_on' => Carbon::parse($this->expires_on)->format('d-m-Y h:i:s A'),
'updated_at' => Carbon::parse($this->updated_at)->format('d-m-Y'),
'created_at' => Carbon::parse($this->created_at)->format('d-m-Y')
];