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