Commit 163fe1c8 authored by Sarun Mungthanya's avatar Sarun Mungthanya
Browse files

issue fiel format

parent bbb4c63d
......@@ -269,7 +269,7 @@ class MasterFileController extends Controller
// $fieldValue = substr($text, $Y, $type);
$Y += $type;
if ($fieldFormat['FORMAT'] === 'date') {
if ($fieldFormat['format'] === 'date') {
$fieldValue = $this->convertDate($fieldValue);
}
......@@ -295,7 +295,7 @@ class MasterFileController extends Controller
$fieldValue = mb_substr($text, $X, $type, 'UTF-8');
// $fieldValue = substr($text, $Y, $type);
$X += $type;
if ($fieldFormat['FORMAT'] === 'date') {
if ($fieldFormat['format'] === 'date') {
$fieldValue = $this->convertDate($fieldValue);
}
......@@ -343,7 +343,7 @@ class MasterFileController extends Controller
$fieldValue = mb_substr($text, $Z, $type);
$Z += $type;
if ($fieldFormat['FORMAT'] === 'date') {
if ($fieldFormat['format'] === 'date') {
$fieldValue = $this->convertDate($fieldValue);
}
......
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