Gerando planilha
This commit is contained in:
parent
5a3872fe06
commit
7f1150755b
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ try{
|
|||
$worksheet->write($line, $col++, $Result->movement_reference, $body);
|
||||
$worksheet->write($line, $col++, date('d/m/Y', strtotime($Result->movement_date_scheduled)), $body);
|
||||
$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++, $Result->description, $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++, number_format($Result->movement_value, 2, ',', '.'), $body);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue