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/edit.gsp

    r506 r633  
    144144
    145145                    <tr class="prop">
     146                        <td valign="top" class="name">
     147                            <label for="purchasingGroups">Purchasing Groups:</label>
     148                        </td>
     149                        <td valign="top" class="value ${hasErrors(bean:person,field:'purchasingGroups','errors')}">
     150                            <g:helpBalloon class="helpballoon" code="person.purchasingGroups" />
     151                            <custom:checkBoxList name="purchasingGroups"
     152                                                            from="${PurchasingGroup.findAllByIsActive(true)}"
     153                                                            value="${person?.purchasingGroups?.collect{it.id}}"
     154                                                            optionKey="id"
     155                                                            sortBy="name"
     156                                                            linkController="purchasingGroupDetailed"
     157                                                            linkAction="show"/>
     158                            <g:link controller="purchasingGroupDetailed" action="create">+Add Group</g:link>
     159                        </td>
     160                    </tr>
     161
     162                    <tr class="prop">
    146163                        <td valign="top" class="name" align="left">
    147164                            Authorities:
Note: See TracChangeset for help on using the changeset viewer.