芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/myvyralapp.com/bck/app/Http/Resources/Merchant/MoneyOutLogs.php
1, "pending" => 2, "rejected" => 3, ]; return[ 'id' => $this->id, 'trx' => $this->trx_id, 'gateway_name' => $this->currency->gateway->name, 'gateway_currency_name' => $this->currency->name, 'transaction_type' => $this->type, 'request_amount' => getAmount($this->request_amount,2).' '.get_default_currency_code() , 'payable' => getAmount($this->payable,2).' '.$this->merchant_wallet->currency->code, 'exchange_rate' => '1 ' .get_default_currency_code().' = '.getAmount($this->currency->rate,2).' '.$this->currency->currency_code, 'total_charge' => getAmount($this->charge->total_charge,2).' '.$this->currency->currency_code, 'current_balance' => getAmount($this->available_balance,2).' '.get_default_currency_code(), 'status' => $this->stringStatus->value , 'date_time' => $this->created_at , 'status_info' =>(object)$statusInfo , 'rejection_reason' =>$this->reject_reason??"" , ]; } }