--- /dev/null
+[%
+ WRAPPER "staff/base.tt2";
+ ctx.page_title = l("Users with Negative Balances");
+ ctx.page_app = "egAdminCirc";
+ ctx.page_ctrl = 'NegBalances';
+%]
+
+[% BLOCK APP_JS %]
+<script src="[% ctx.media_prefix %]/js/ui/default/staff/admin/local/circ/neg_balance_users.js"></script>
+<link rel="stylesheet" href="[% ctx.base_path %]/staff/css/admin.css" />
+[% END %]
+
+<div class="container-fluid" style="text-align:center">
+ <div class="alert alert-info alert-less-pad strong-text-2">
+ [% l('Patrons with Negative Balances') %]
+ </div>
+</div>
+
+<div class="row">
+ <div class="col-md-4">
+ <div class="form-group">
+ <label>[% l('Patron Library') %]</label>
+ <eg-org-selector selected="context_org"></eg-org-selector>
+ </div>
+ </div>
+</div>
+
+
+[% END %]
</div>
<div class="col-md-4">
<span class="glyphicon glyphicon-pencil"></span>
- <a target="_self" href="./admin/local/actor/search_filter_group">
- [% l('Search Filter Groups') %]
+ <a target="_self" href="./admin/local/circ/neg_balance_users">
+ [% l('Patrons with Negative Balances') %]
</a>
</div>
</div>
</div>
<div class="col-md-4">
<span class="glyphicon glyphicon-pencil"></span>
- <a target="_self" href="./admin/local/config/standing_penalty">
- [% l('Standing Penalties') %]
+ <a target="_self" href="./admin/local/actor/search_filter_group">
+ [% l('Search Filter Groups') %]
</a>
</div>
</div>
</div>
<div class="col-md-4">
<span class="glyphicon glyphicon-pencil"></span>
- <a target="_self" href="./admin/local/asset/stat_cat_editor">
- [% l('Statistical Categories Editor') %]
+ <a target="_self" href="./admin/local/config/standing_penalty">
+ [% l('Standing Penalties') %]
</a>
</div>
</div>
[% l('Field Documentation') %]
</a>
</div>
+ <div class="col-md-4">
+ <span class="glyphicon glyphicon-pencil"></span>
+ <a target="_self" href="./admin/local/asset/stat_cat_editor">
+ [% l('Statistical Categories Editor') %]
+ </a>
+ </div>
</div>
<div class="row new-entry">
<div class="col-md-4">
--- /dev/null
+
+angular.module('egAdminCirc',
+ ['ngRoute', 'ui.bootstrap', 'egCoreMod','egUiMod'])
+
+.controller('NegBalances',
+ ['$scope','egCore',
+function($scope , egCore) {
+
+ /*
+ egCore.net.request(
+ 'open-ils.actor',
+ 'open-ils.actor.users.negative_balance',
+ egCore.auth.token(), $scope.context_org.id();
+ */
+
+
+ egCore.startup.go().then(function() {
+ // stuff
+ });
+
+}])