Commit 3910d160 authored by Sarun Mungthanya's avatar Sarun Mungthanya
Browse files

issue create patch exchangerate

parent 3aab8c5a
...@@ -145,14 +145,14 @@ class ExchangerateUpload extends Component ...@@ -145,14 +145,14 @@ class ExchangerateUpload extends Component
$needChkDup = false; $needChkDup = false;
} }
CenterConfExchangerate::updateOrInsert( CenterConfExchangerate::updateOrInsert(
[ [
'currency' => $CUR, 'currency' => $CUR,
'exdate' => $DATE1, 'exdate' => $DATE1,
'finishdate' => $DATE2
], ],
[ [
'finishdate' => $DATE2,
'baht' => $IMRATE, 'baht' => $IMRATE,
'rate' => $FACT, 'rate' => $FACT,
'amenddate' => $AMMENDDATE 'amenddate' => $AMMENDDATE
...@@ -163,9 +163,10 @@ class ExchangerateUpload extends Component ...@@ -163,9 +163,10 @@ class ExchangerateUpload extends Component
[ [
'currency' => $CUR, 'currency' => $CUR,
'exdate' => $DATE1, 'exdate' => $DATE1,
'finishdate' => $DATE2
], ],
[ [
'finishdate' => $DATE2
'baht' => $EXRATE, 'baht' => $EXRATE,
'rate' => $FACT, 'rate' => $FACT,
'amenddate' => $AMMENDDATE 'amenddate' => $AMMENDDATE
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment