| SPRZEDAWCA | ||
| ' . $focus->parent_name . ' | ||
| ' . $focus->parent_address_street . ' | ||
| '. $focus->parent_address_postalcode . ' ' . $focus->parent_address_city; $content.=' | ||
|
';
if (!is_null($focus->parent_nip) && $focus->parent_nip) {
$content.=$labels['LBL_PARENT_NIP'].': '.$focus->parent_nip;
$nip = true;
}
if (!is_null($focus->parent_iln) && $focus->parent_iln) {
if ($nip) $content.' '; $nip = false; $content.=$labels['LBL_PDF_CONTENT_ILN'].' '.$focus->parent_iln; } $content.=' |
| ' . $focus->name . ' |
| '.$labels['LBL_PDF_CONTENT_REGISTER_DATE'].': '.$labels['LBL_PDF_CONTENT_DELIVERY_DATE'].': |
' . $focus->register_date . ' ' . $focus->delivery_date . ' |
';
if($focus->wz_name!=''){
$content.=$labels['LBL_PDF_CONTENT_PARENT_DOCUMENT_WZ'].': '; } if($focus->order_no!=''){ $content.=$labels['LBL_PDF_CONTENT_PARENT_DOCUMENT_NO'].': '; } $content.=' |
';
if($focus->wz_name!=''){
$content.='' . $focus->wz_name.' '; } if($focus->order_no!=''){ $content.='' . $focus->order_no.' '; } $content.=' |
| ' . $col ['label'] . ' | '; } $content .= '
|---|
| ';
foreach ( $col ['field'] as $f ) {
if (! $pos [$f] || $pos [$f] == '')
$pos [$f] = '-';
$content .= $pos [$f] . ' '; } $content .= ' | ';
}
$content .= '
| Suma netto | '.format_number($focus->total_netto).' '.$symbol.' |
| '.$vats2[0].' | '.format_number($vats2[1]).' '.$symbol.' |
| Suma brutto | '.format_number($focus->total_brutto).' '.$symbol.' |
'.$labels['LBL_PDF_CONTENT_ISSUED_BY'].' '.$user->full_name.'