|
|
@ -3264,18 +3264,18 @@ class FinanceController extends \frontend\controllers\UserBaseController |
|
|
|
|
|
|
|
|
|
|
|
for ($i = 7; $i <= $rowCount; $i++) { |
|
|
|
for ($i = 7; $i <= $rowCount; $i++) { |
|
|
|
$cell = $currentSheet->getCellByColumnAndRow(1, $i); |
|
|
|
$cell = $currentSheet->getCellByColumnAndRow(1, $i); |
|
|
|
$insurer_no = $cell->getValue();//$data[$i][1]; |
|
|
|
$insurer_no = $cell->getFormattedValue();//$data[$i][1]; |
|
|
|
// var_dump($insurer_no); |
|
|
|
// var_dump($insurer_no); |
|
|
|
$cell = $currentSheet->getCellByColumnAndRow(2, $i); |
|
|
|
$cell = $currentSheet->getCellByColumnAndRow(2, $i); |
|
|
|
$policy_man = $cell->getValue();//$data[$i][2]; |
|
|
|
$policy_man = $cell->getFormattedValue();//$data[$i][2]; |
|
|
|
$cell = $currentSheet->getCellByColumnAndRow(3, $i); |
|
|
|
$cell = $currentSheet->getCellByColumnAndRow(3, $i); |
|
|
|
$total_real = $cell->getValue();//$data[$i][3]; |
|
|
|
$total_real = $cell->getFormattedValue();//$data[$i][3]; |
|
|
|
$cell = $currentSheet->getCellByColumnAndRow(4, $i); |
|
|
|
$cell = $currentSheet->getCellByColumnAndRow(4, $i); |
|
|
|
$total_rate = $cell->getValue();//$data[$i][4]; |
|
|
|
$total_rate = $cell->getFormattedValue();//$data[$i][4]; |
|
|
|
$cell = $currentSheet->getCellByColumnAndRow(5, $i); |
|
|
|
$cell = $currentSheet->getCellByColumnAndRow(5, $i); |
|
|
|
$pay_total = $cell->getValue();//$data[$i][5]; |
|
|
|
$pay_total = $cell->getFormattedValue();//$data[$i][5]; |
|
|
|
$cell = $currentSheet->getCellByColumnAndRow(6, $i); |
|
|
|
$cell = $currentSheet->getCellByColumnAndRow(6, $i); |
|
|
|
$insurer_total = $cell->getValue();//$data[$i][6]; |
|
|
|
$insurer_total = $cell->getFormattedValue();//$data[$i][6]; |
|
|
|
$cell = $currentSheet->getCellByColumnAndRow(7, $i); |
|
|
|
$cell = $currentSheet->getCellByColumnAndRow(7, $i); |
|
|
|
$insurer_date = $cell->getFormattedValue(); |
|
|
|
$insurer_date = $cell->getFormattedValue(); |
|
|
|
// var_dump($insurer_date); |
|
|
|
// var_dump($insurer_date); |
|
|
|