[Nmrshiftdb-devel] CVS: nmrshiftdb/src/vmtemplates/portlets/html worker-order.vm, 1.27, 1.28
Brought to you by:
steinbeck
|
From: Stefan K. <sh...@us...> - 2006-11-29 12:51:30
|
Update of /cvsroot/nmrshiftdb/nmrshiftdb/src/vmtemplates/portlets/html In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv17527/src/vmtemplates/portlets/html Modified Files: worker-order.vm Log Message: workers can now delete orders Index: worker-order.vm =================================================================== RCS file: /cvsroot/nmrshiftdb/nmrshiftdb/src/vmtemplates/portlets/html/worker-order.vm,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -r1.27 -r1.28 *** worker-order.vm 24 Nov 2006 13:48:44 -0000 1.27 --- worker-order.vm 29 Nov 2006 12:51:27 -0000 1.28 *************** *** 44,47 **** --- 44,50 ---- Special care for sample: $sample.getSpecialCare()<br> #if($sample.getAttachmentIsSet()) <a href="download/NmrshiftdbServlet/$sample.getAttachmentName()?sampleid=$sample.getSampleId()&nmrshiftdbaction=getattachment">The user attached a file to the order</a> #end<br> + #if($sample.isDeletableWorker()) + <form name="orderform" method="post" action="portal/pane0/NMR+lab+administration"><input type="hidden" name="id" value="$sample.getSampleId()"><input type="submit" name="eventSubmit_doDeleteorder" value="Delete order"/> Confirm deletion by checking <input type="checkbox" name="confirm" value="confirm"></form> + #end </td> <td> *************** *** 103,107 **** #end </select> ! <br><input type="submit" name="submityearly" value="Do statistics"/></form></td><td><form name="monthlyform" method="post" action="download/NmrshiftdbServlet/yearlyreport.pdf?nmrshiftdbaction=createreport&style=monthly">From:<select name="monthstart" size="1"> #foreach($day in $months) <option value="$day">$day</option> --- 106,110 ---- #end </select> ! <br><input type="submit" name="submityearly" value="Do statistics"/></form></td><td><form name="monthlyform" method="post" action="download/NmrshiftdbServlet/monthlyreport.pdf?nmrshiftdbaction=createreport&style=monthly">From:<select name="monthstart" size="1"> #foreach($day in $months) <option value="$day">$day</option> |