// Fixed #PSTEST-651
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13007 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -29,13 +29,13 @@
|
||||
|
||||
<br />
|
||||
|
||||
{if isset($supply_order_state) && $supply_order_state->editable == false}
|
||||
{if isset($supply_order_state) && $supply_order_state->editable == false && isset($supply_order)}
|
||||
<fieldset>
|
||||
<legend>
|
||||
<img src="../img/admin/pdf.gif" alt="{l s='Supply Order State'}">
|
||||
{l s='Print the supply order form'}
|
||||
</legend>
|
||||
<a href="pdf.php?id_supply_order='.(int)$supply_order->id.'" target="_blank" title="Export as PDF">{l s='Click here to download the supply order form'}.</a>
|
||||
<a href="pdf.php?id_supply_order={$supply_order->id}" target="_blank" title="Export as PDF">{l s='Click here to download the supply order form'}.</a>
|
||||
</fieldset>
|
||||
{/if}
|
||||
|
||||
|
||||
@@ -584,6 +584,7 @@ class AdminSupplyOrdersControllerCore extends AdminController
|
||||
// assigns our content
|
||||
$helper->tpl_vars['show_change_state_form'] = true;
|
||||
$helper->tpl_vars['supply_order_state'] = $supply_order_state;
|
||||
$helper->tpl_vars['supply_order'] = $supply_order;
|
||||
|
||||
// generates the form to display
|
||||
$content = $helper->generateForm($this->fields_form);
|
||||
|
||||
Reference in New Issue
Block a user