{include file="common/head.tpl.html" title=$lang.global_article html5=true}
{html->load type="javascript" src="../`$smarty.const.JS_SRC_PATH`/articles_list.js"}{if $otype=='offers'} {cssbutton->window_resizeable id="ppg_edit" string=$lang.global_edit query="op=add_article_offer&oid=`$id`" w_width=1500 w_height=1000 scroll="yes"} {elseif $otype=='contracts'} {cssbutton->window_resizeable id="ppg_edit" string=$lang.global_edit query="op=add_article_contract&oid=`$id`" w_width=1500 w_height=1000 scroll="yes"} {elseif $otype=='orders'} {cssbutton->window_resizeable id="ppg_edit" string=$lang.global_edit query="op=add_article_order&oid=`$id`" w_width=1500 w_height=1000 scroll="yes"} {elseif $otype=='invoices'} {cssbutton->window_resizeable id="ppg_edit" string=$lang.global_edit query="op=add_article_invoice&oid=`$id`" w_width=1500 w_height=1000 scroll="yes"} {elseif $otype=='purchases'} {cssbutton->window_resizeable id="ppg_edit" string=$lang.global_edit query="op=add_article_purchase&oid=`$id`" w_width=1500 w_height=1000 scroll="yes"} {/if} | {if ($otype=='offers') && $flow_status==4} {cssbutton->click name="ac" script="button_action(this)" value='to_order' string=$lang.offer_label_to_order} {cssbutton->click name="ac" script="button_action(this)" value='to_contract' string=$lang.offer_label_to_contract} {/if} {if ($otype=='orders') && $flow_status>2} {cssbutton->click name="ac" script="button_action(this)" value='to_invoice' string=$lang.orders_label_to_invoice} {cssbutton->click name="ac" script="button_action(this)" value='to_purchase' string=$lang.orders_label_to_purchase} {/if} |