Commit 9ebb4391 authored by Sarun Mungthanya's avatar Sarun Mungthanya
Browse files

issue create exchangerate

parent a45a3892
......@@ -326,10 +326,10 @@ class ExchangerateUpload extends Component
$POWNER = auth()->user()->id;
$PATCHCODE = Storage::get('patchcode_new.txt');
$PATCHCODE = str_replace("'", "''", $PATCHCODE);
// $PATCHCODE = str_replace("'", "''", $PATCHCODE);
$UNINSTALL = Storage::get('uninstall_new.txt');
$UNINSTALL = str_replace("'", "''", $UNINSTALL);
// $UNINSTALL = str_replace("'", "''", $UNINSTALL);
$i=0;
$PATCHCODE_SERVER = '';
......@@ -339,13 +339,13 @@ class ExchangerateUpload extends Component
if ($i==0) {
$PATCHCODE_SERVER .= '$MONTH="'.$ins_addYear.'-'.$ins_addMonth.'-%";';
} else if ($i==1) {
$PATCHCODE_SERVER .= '$UPDATECODE='."'".$ins_addYear.$ins_addMonth."'".';';
$PATCHCODE_SERVER .= '$UPDATECODE="'.$ins_addYear.$ins_addMonth.'";';
} else {
$PATCHCODE_SERVER .= $tmp;
}
$i++;
}
$PATCHCODE_SERVER = str_replace("'", "''", $PATCHCODE_SERVER);
// $PATCHCODE_SERVER = str_replace("'", "''", $PATCHCODE_SERVER);
$PATCHNAME = "Exchange Rate Import & Export $ins_addMonth / $ins_addYear";
......
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