Exemplo n.º 1
0
<p><? echo kohana::lang('eshop.identity_number'); ?>: <strong><? echo $data['billing_identity_number']; ?></strong></p>
<p><? echo kohana::lang('eshop.vat_number'); ?>: <strong><? echo $data['billing_vat_number']; ?></strong></p>
<? echo form::close_fieldset();?>
<div class="cleaner">&nbsp;</div>
<? echo form::open_fieldset(array('class' => 'overview3'));
echo form::legend(Kohana::lang('eshop.delivery_info')); ?>
<p><? echo kohana::lang('eshop.name'); ?>: <strong><? echo $data['delivery_name']; ?></strong></p>
<p><? echo Kohana::lang('eshop.street'); ?>: <strong><br /><? echo $data['delivery_street']; ?><br />
<? echo $data['delivery_city']; ?><br />
<? echo $data['delivery_postal_code']; ?></strong></p>
<? echo form::close_fieldset(); ?>

<? echo form::open_fieldset(array('class' => 'overview3'));
echo form::legend(Kohana::lang('eshop.other')); ?>
<p><? echo kohana::lang('eshop.status_order'); ?>: <strong><? echo customer::order_status($data['status_order'])?></strong></p>
<p><? echo kohana::lang('eshop.payment'); ?>: <strong><? echo payment::get_name($data['payment']); ?> &ndash; <? echo customer::payment_status($data['status_payment'])?></strong>

<? if($data['status_payment'] == 'none' AND payment::get_type($data['payment']) == "post"){ ?>
	&ndash; <a href="/cart/payment/<? echo $data['id']; ?>"><? echo Kohana::lang('eshop.payment_info'); ?></a>
<? } ?>
<? if($data['status_payment'] == 'none' AND payment::get_type($data['payment']) == "pre"){ ?>
	&ndash; <a href="/cart/payment/<? echo $data['id']; ?>"><? echo Kohana::lang('eshop.pay_now'); ?></a>
<? } ?>
</p>
<? if(payment::get_type($data['payment']) == "post"){ ?>
	<p><? echo Kohana::lang('eshop.vsymbol2'); ?>: <? echo $data['id']; ?></p>
<? } ?>
<p><? echo kohana::lang('eshop.shipping'); ?>: <strong><? echo shipping::get_name($data['shipping']); ?></strong></p>
<p><? echo kohana::lang('eshop.last_change'); ?>: <strong><? echo $data['last_change']; ?></strong></p>
<? echo form::close_fieldset(); ?>