Commit 39f0b307f0a4d978634a449fee688dd88189821d

Authored by nbm
1 parent 6f53921a

Provide a text box for the reason the transition is being performed.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3835 c91229c3-7414-0410-bfa2-8a42b809f60b
templates/ktcore/workflow/documentWorkflow.smarty
... ... @@ -26,10 +26,16 @@
26 26 <form action="{$smarty.server.PHP_SELF}" method="POST">
27 27 <input type="hidden" name="action" value="performTransition" />
28 28 <input type="hidden" name="fDocumentId" value="{$oDocument->getId()}" />
  29 +<table class="prettysw" cellpadding="0" cellspacing="0">
  30 +<tr><th>Transition to perform</th><td>
29 31 {entity_radios entities=$aTransitions name=fTransitionId assign=aRadio method=showDescription}
30 32 {foreach from=$aRadio item=sRadio}
31 33 {$sRadio}<br />
32 34 {/foreach}
  35 +</td></tr>
  36 +<tr><th>Reason for transition</th><td><input type="textbox" name="fComments"
  37 +/></td></tr>
  38 +</table>
33 39 <input type="submit" name="submit" value="Perform Transition" />
34 40 </form>
35 41  
... ...