if ($this->canChangeOrderUser): ?>
| =JText::_('Franchise')?>: |
=$this->order->franchisename?> |
| =JText::_('User')?>: |
|
endif ?>
| =JText::_('State')?>: |
if ($this->canChangeOrderState) :?>
$optOrderStates = array();
foreach($this->orderStates as $orderState)
$optOrderStates[] = JHTML::_('select.option',$orderState->nameid,$orderState->name);
echo JHTML::_('select.genericlist',$optOrderStates,'cmbSelectState','','value','text',$this->order->statenameid,'cmbSelectState',true);
?>
else :?>
if ($hideManufacturingDetails) {
switch($this->order->statenameid) {
case 'INCOMPLETED': $stateName = 'Incomplete'; break;
case 'COMPLETED': $stateName = 'In shopping cart'; break;
default: $stateName = 'Ordered';
}
}
else
$stateName = $this->order->statename;
echo JText::_($stateName);
?>
endif ?>
|
if ($this->order->error_desc): ?>
| =JText::_('Error description')?>: |
=$this->order->error_desc?>
|
endif; ?>
| =JText::_('Patient')?>: |
=$this->order->customerfullname?> $dateBirth = new JDate($this->order->customerbirthdate);
$dateBirth->setOffset(date('Z')/3600.0);
echo $dateBirth->toFormat('%d/%m/%Y');?>
|
=JText::_('Creation date')?>: |
if ($this->order->creationdate)
{
$date = new JDate($this->order->creationdate);
$date->setOffset(date('Z')/3600.0);
echo $date->toFormat('%d/%m/%Y %H:%M');
}
else
echo " "
?>
|
| =JText::_('Reference')?>: |
=$this->order->reference?>
|
=JText::_('Payment date')?>: |
if ($this->order->payment_date)
{
$date = new JDate($this->order->payment_date);
$date->setOffset(date('Z')/3600.0);
echo $date->toFormat('%d/%m/%Y %H:%M');
}
else
echo " "
?>
|
| =JText::_('Batch')?>: |
=$this->order->batch?>
$filterInvoicing= 'searchkind=';
if ($isAdmin)
$filterInvoicing.='all';
else if ($this->isFranchiseManager)
$filterInvoicing.='myfranchise';
else
$filterInvoicing.='myuser';
?>
=JText::_('Invoicing')?>
|
if (!$hideManufacturingDetails) : ?>
=JText::_('Manufacture date')?>: |
if ($this->order->manufactured_date)
{
$date = new JDate($this->order->manufactured_date);
$date->setOffset(date('Z')/3600.0);
echo $date->toFormat('%d/%m/%Y %H:%M');
}
else
echo " "
?>
|
else : ?>
|
endif; ?>
if ($canSeePrices) :?>
| =JText::_('Price')?>: |
=($this->order->price)?> € |
else : ?>
|
|
endif; ?>
if (!$hideManufacturingDetails) : ?>
=JText::_('Shipping date')?>: |
if ($this->order->shipping_date)
{
$date = new JDate($this->order->shipping_date);
$date->setOffset(date('Z')/3600.0);
echo $date->toFormat('%d/%m/%Y %H:%M');
}
else
echo " "
?>
|
else : ?>
|
endif; ?>
if ($franchiseName == 'tecnoinsole') :?>
| |
Fecha estimada de entrega: |
if ($this->order->est_shipping_date)
{
$date = new JDate($this->order->est_shipping_date);
$date->setOffset(date('Z')/3600.0);
echo $date->toFormat('%d/%m/%Y');
}
else
echo " "
?>
|
endif; ?>