d70e746f6d9469049a520828eaf848887eab4c2c
[working/Evergreen.git] / Open-ILS / src / templates / staff / circ / patron / t_group.tt2
1
2 <div class="strong-text-2">[% l('Group Member Details') %]</div>
3 <div class="pad-vert flex-row">
4   <div>[% l('Total Owed: ') %]</div>
5   <div class="pad-horiz">{{totals.owed | currency}}</div>
6   <div>[% l('Total Out: ') %]</div>
7   <div class="pad-horiz">{{totals.total_out}}</div>
8   <div>[% l('Total Overdue: ') %]</div>
9   <div class="pad-horiz">{{totals.overdue}}</div>
10 </div>
11 <div class="pad-vert"></div>
12 <eg-grid
13   idl-class="au"
14   sort="gridSort"
15   grid-controls="gridControls"
16   dateformat="{{$root.egDateAndTimeFormat}}">
17
18   <eg-grid-action handler="moveToGroup"
19     label="[% l('Move Another Patron To This Group') %]"></eg-grid-action>
20
21   <eg-grid-action 
22     label="[% l('Register a New Group Member by Cloning Selected Patron') %]" 
23     handler="cloneUser"></eg-grid-action>
24
25   <eg-grid-action label="[% l('Remove Selected From Group') %]" 
26     handler="removeFromGroup"></eg-grid-action>
27
28   <eg-grid-action label="[% l("Move Selected Patrons to Another Patron's Group") %]" 
29     handler="moveToAnotherGroup"></eg-grid-action>
30
31   <eg-grid-action label="[% l("Retrieve Selected Patrons") %]"
32     handler="retrieveSelected"></eg-grid-action>
33
34   <eg-grid-field path="active"></eg-grid-field>
35   <eg-grid-field path="barred"></eg-grid-field>
36   <eg-grid-field path="dob" dateformat="{{$root.egDateFormat}}" datatype="timestamp"></eg-grid-field>
37   <eg-grid-field path="family_name"></eg-grid-field>
38   <eg-grid-field path="first_given_name"></eg-grid-field>
39   <eg-grid-field path="master_account"></eg-grid-field>
40   <eg-grid-field path="second_given_name"></eg-grid-field>
41   <eg-grid-field path="stats.fines.balance_owed" nonsortable label="[% l('Balance Owed') %]"></eg-grid-field>
42   <eg-grid-field path="stats.checkouts.out" nonsortable label="[% l('Items Out') %]"></eg-grid-field>
43   <eg-grid-field path="stats.checkouts.overdue" nonsortable label="[% l('Items Overdue') %]"></eg-grid-field>
44
45   <!-- needed for query, sorting -->
46   <eg-grid-field path="id" hidden required></eg-grid-field>
47   <eg-grid-field path="usrgroup" hidden required></eg-grid-field>
48   <eg-grid-field path="deleted" hidden required></eg-grid-field>
49   <eg-grid-field path="create_date" datatype="timestamp" hidden required></eg-grid-field>
50
51   <!--
52   <eg-grid-field path=".*"></eg-grid-field>
53   -->
54
55 </eg-grid>