'.JText::_('Order Id').' '.JText::_('User').' '.JText::_('Patient').' '.JText::_('Reference').' '.JText::_('Material').' '.JText::_('Check').' '; $columnCount=6; } else { $col1W = 60; $col2W = 140; $col3W = 140; $col4W = 140; $col5W = 170; $col6W = 100; $totalWidth = $col1W + $col2W+$col3W+$col4W+$col5W+$col6W; $tableDef=' '.JText::_('Order Id').' '.JText::_('User').' '.JText::_('Patient').' '.JText::_('Reference').' '.JText::_('Material').' '.JText::_('Agency').' '; $columnCount=6; } ?> orders as $order) { $row = &$order; $comments = ''; if ($franchiseName == 'tecnoinsole') { if ($row->manufacturing_date) { $dateEst = new JDate($row->manufacturing_date); $dateEst->setOffset(date('Z')/3600.0); if ($comments) $comments .= " "; $comments .= JText::_('ESTIMATED_MANUFACTURE_DATE_ABB'). ": ". $dateEst->toFormat('%d/%m/%Y'); } if ($row->est_shipping_date) { $dateEst = new JDate($row->est_shipping_date); $dateEst->setOffset(date('Z')/3600.0); if ($comments) $comments .= " "; $comments .= JText::_('ESTIMATED_DELIVERY_DATE_ABB'). ": ". $dateEst->toFormat('%d/%m/%Y'); } } if ($row->receiptid && !$row->receiptpaid) { if ($comments) $comments .= " "; $comments .= JText::_('Receipt not paid'); } if ($row->payment_methodnameid == 'CASHONDELIVERY') { $totalPrice = ManuReportHelper::calculateCashOnDelivery($row); if ($comments) $comments .=" "; $comments .= JText::_('Cash on delivery'). ": ". sprintf("%0.2f",$totalPrice). " €"; } $insoleOptions = array(); $parts = array(); ManuReportHelper::processAttributes($row, $this->abbs, $insoleOptions,$comments,$parts); $abs = array(); foreach($insoleOptions as $opt) $abs[] = $opt['abb']; $material = implode(', ',$abs); $backColor = ($i%2==0)?'#FFFFFF':'#E8E8E8'; ?> '.$row->customerfullname; if ($row->customerbirthdate) { echo "
"; $dateBirth = new JDate($row->customerbirthdate); $dateBirth->setOffset(date('Z')/3600.0); echo $dateBirth->toFormat('%d/%m/%Y'); } echo ''; // } ?>
id; ?>
batch.'-'.$row->norders?>
username?> reference; ?>
C   F   L  
I  
'; } else { echo ''.JText::_($row->agencyname).''; } ?> style="text-align:center;width:px">