mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-09-01 02:43:58 +00:00
update rate history module
This commit is contained in:
@@ -14,10 +14,13 @@ class CurrencyRateLogResource extends JsonResource
|
||||
*/
|
||||
public function toArray($request)
|
||||
{
|
||||
$currencyRate = $this->currencyRate;
|
||||
|
||||
return [
|
||||
'currency_rate_id' => $this->currency_rate_id,
|
||||
'rate' => $this->selling,
|
||||
'created_at' => $this->created_at->format('d-m-Y'),
|
||||
'payment_method_type' => $currencyRate->payment_method_type,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user