Ignore:
Timestamp:
Jul 19, 2010, 8:47:38 AM (14 years ago)
Author:
gav
Message:

Domain change: Add PurchasingGroup?.
Logic and views to suite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/person/create.gsp

    r506 r633  
    105105
    106106                    <tr class="prop">
     107                        <td valign="top" class="name">
     108                            <label for="purchasingGroups">Purchasing Groups:</label>
     109                        </td>
     110                        <td valign="top" class="value ${hasErrors(bean:person,field:'purchasingGroups','errors')}">
     111                            <g:helpBalloon class="helpballoon" code="person.purchasingGroups" />
     112                            <custom:checkBoxList name="purchasingGroups"
     113                                                            from="${PurchasingGroup.findAllByIsActive(true)}"
     114                                                            value="${person?.purchasingGroups?.collect{it.id}}"
     115                                                            optionKey="id"
     116                                                            sortBy="name"
     117                                                            linkController="purchasingGroupDetailed"
     118                                                            linkAction="show"/>
     119                            <g:link controller="purchasingGroupDetailed" action="create">+Add Group</g:link>
     120                        </td>
     121                    </tr>
     122
     123                    <tr class="prop">
    107124                        <td valign="top" class="name" align="left">
    108125                            Authorities:
Note: See TracChangeset for help on using the changeset viewer.