17 lines
639 B
PHP
17 lines
639 B
PHP
<?php
|
|
/**
|
|
* @var Order $order
|
|
*/
|
|
if (!$order->getInvoice())
|
|
{
|
|
echo __('Brak');
|
|
}
|
|
else
|
|
{
|
|
echo st_get_admin_button('preview', __("Pokaż"),"stInvoiceBackend/confirmEdit?id=".$order->getInvoice()->getId()."&type=".$type."&mode=show", array('size' => 'small'));
|
|
echo st_get_admin_button('download', __("Pobierz"),"stInvoicePdf/show?id=".$order->getInvoice()->getId()."&download=true&culture=".$order->getClientCulture(), array('size' => 'small'));
|
|
echo st_get_admin_button('refresh', __("Aktualizuj"), 'stInvoiceBackend/update?id='.$order->getId().'&invoice_id='.$order->getInvoice()->getId(), array('size' => 'small'));
|
|
}
|
|
|
|
|