Gerando planilha
This commit is contained in:
parent
7f1150755b
commit
7323fbe36f
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ try{
|
|||
$worksheet->write($line, $col++, (isset($Result->movement_date_paid) ? date('d/m/Y', strtotime($Result->movement_date_paid)) : ($Main->CheckDay($Result->movement_date_scheduled) > 1 ? $Main->diffDate($Result->movement_date_scheduled, date('Y-m-d')).' dia(s) de atraso' : '')), $body);
|
||||
$worksheet->write($line, $col++, iconv("utf-8","iso-8859-1",utf8_encode($Result->description)), $body);
|
||||
$worksheet->write($line, $col++, $Result->cns, $body);
|
||||
$worksheet->write($line, $col++, ( isset($Result->note) ? $Result->note : '' ), $body);
|
||||
$worksheet->write($line, $col++, ( isset($Result->note) ? iconv("utf-8","iso-8859-1",utf8_encode($Result->note)) : '' ), $body);
|
||||
$worksheet->write($line, $col++, number_format($Result->movement_value, 2, ',', '.'), $body);
|
||||
$worksheet->write($line, $col++, ( isset($Result->movement_value_paid) ? number_format(($Result->movement_value_paid-$Result->movement_value), 2, ',', '.') : ''), $body);
|
||||
$worksheet->write($line, $col++, ( isset($Result->movement_value_registration_tariff) ? number_format($Result->movement_value_registration_tariff+$Result->movement_value_settlement_tariff, 2, ',', '.') : ''), $body);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue