forked from ScoDoc/ScoDoc
28 lines
868 B
Plaintext
28 lines
868 B
Plaintext
|
<dtml-var "entreprise_header(REQUEST=REQUEST)">
|
||
|
|
||
|
<dtml-call "REQUEST.set( 'F', do_entreprise_correspondant_list( args={ 'entreprise_corresp_id' : entreprise_corresp_id } )[0])">
|
||
|
|
||
|
<h2>Suppression du correspondant <dtml-var "F['nom']"> <dtml-var "F['prenom']"></h2>
|
||
|
|
||
|
|
||
|
<dtml-call "REQUEST.set('tf', TrivialFormulator( URL0, REQUEST.form,
|
||
|
( ('entreprise_corresp_id', { 'input_type' : 'hidden' }),
|
||
|
),
|
||
|
initvalues = F,
|
||
|
submitlabel = 'Confirmer la suppression',
|
||
|
cancelbutton = 'Annuler', readonly = REQUEST['_read_only']
|
||
|
))">
|
||
|
|
||
|
<dtml-if "tf[0] == 0">
|
||
|
<dtml-var "tf[1]">
|
||
|
<dtml-else>
|
||
|
<dtml-if "tf[0] == -1">
|
||
|
<dtml-call "RESPONSE.redirect( URL1 )">
|
||
|
<dtml-else>
|
||
|
<dtml-call "do_entreprise_correspondant_delete( F['entreprise_corresp_id'] )">
|
||
|
<dtml-call "RESPONSE.redirect(URL1)">
|
||
|
</dtml-if>
|
||
|
</dtml-if>
|
||
|
|
||
|
<dtml-var "entreprise_footer(REQUEST=REQUEST)">
|