Ignore:
Timestamp:
Feb 4, 2011, 2:11:45 AM (13 years ago)
Author:
gav
Message:

TaskProcedure? improvements, filter assemblies, pre populate a maintenanceAction for each assembly at creation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/_maintenanceActions.gsp

    r770 r776  
    7070
    7171                    <th>Step</th>
    72                     <th>Sub Item</th>
     72                    <th>Assembly</th>
    7373                    <th>Description</th>
    7474                    <th>Reasoning</th>
     
    7979            <tbody id="ma_wrapper">
    8080                    <g:each var="ma" in="${taskProcedureInstance.maintenanceActions}" status="i">
    81                             <g:render template="maintenanceAction" model="['tp':taskProcedureInstance, 'ma': ma, 'i':i]" />
     81                            <g:render template="maintenanceAction" model="['tp':taskProcedureInstance,
     82                                                                                                                'ma': ma,
     83                                                                                                                'i':i,
     84                                                                                                                'assemblies': assemblies]" />
    8285                    </g:each>
    8386                    </tr>
Note: See TracChangeset for help on using the changeset viewer.