{if !$edit}
{$lang.contact_input}: {$lang.global_lastmodifi}: |
{offer->created} {offer->changed} |
|
{/if}
{if $new}{/if}
{if !$edit}
{if $formulas}
{menubutton->image_sub icon="refresh" id="formulas" script="disableGrid();ajax.exec('common', 'ajax_compute_formulas', `$smarty.const.MODULE_OFFERS`, `$data`);return false;" oid=$data autocompute=$formulas_compute title=$lang.formula_compute width=21 height=22}
{/if}
{if $write_permission && $offer_status=='3' && $show_edit_button && $show_doc_button}
{cssbutton->sub name="recreate_doc" string=$lang.billing_label_recreate_doc}
{/if}
{if $write_permission && ($offer_status=='0' || $show_edit_button)}
{cssbutton->sub name="edit" string=$lang.global_edit}
{/if}
{if $offer_next_status=='1'}
{cssbutton->sub name="lock" string=$lang.billing_label_lock}
{elseif $offer_next_status=='2'} {* erstellt *}
{if $offer_status!='0'}
{cssbutton->sub name="unlock" string=$lang.billing_label_unlock}
{/if}
{cssbutton->sub name="approve" string=$lang.billing_label_approved}
{elseif $offer_next_status=='3'} {* geprüft *}
{if $offer_status!='0'}
{cssbutton->sub name="unlock" string=$lang.billing_label_unlock}
{/if}
{* cssbutton->sub name="print" string=$lang.global_print *}
{cssbutton->sub name="submit" string=$lang.billing_label_send}
{elseif $offer_status=='3'} {* gebucht *}
{menubutton->menu items=$menubutton string=$lang.offer_label_status title=$lang.offer_label_status}
{if $autoprice}{else}{cssbutton->sub name="follow_up" string=$lang.offer_label_follow_up}{/if}
{elseif $offer_status=='4' && $status==1} {* angenommen *}
{if $autoprice}{else}
{cssbutton->sub name="follow_up" string=$lang.offer_label_follow_up}
{if $show_contract_action}
{cssbutton->sub name="to_contract" string=$lang.offer_label_to_contract}
{/if}
{if $show_order_action}
{cssbutton->sub name="to_order" string=$lang.offer_label_to_order}
{/if}
{/if}
{elseif $offer_status=='4'} {* nicht angenommen *}
{if $autoprice}{else}{cssbutton->sub name="follow_up" string=$lang.offer_label_follow_up}{/if}
{/if}
{resubs->module_resub_button module_id=$smarty.const.MODULE_OFFERS oid=$data}
{else}
{if $data > 0}
{cssbutton->sub name="save" string=$lang.global_save}
{else}
{cssbutton->sub name="save" string=$lang.billing_label_create}
{/if}
{if $data}
{cssbutton->sub name="cancel" string=$lang.global_cancel}
{else}
{cssbutton->click script="window.close();" string=$lang.global_cancel}
{/if}
{if $delete_permission}
{cssbutton->sub name="delete" string=$lang.global_delete confirm=$lang.contact_askdelete}
{/if}
{/if}
|