Copy StatusMessage to admin.utils module, eventually to be moved here

This commit is contained in:
Rohan Mitchell
2015-12-10 09:32:04 +11:00
parent c1a80b1e8f
commit eba2aae353
3 changed files with 29 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
angular.module('admin.orderCycles', ['ngResource', 'ofn.admin'])
angular.module('admin.orderCycles', ['ngResource', 'admin.utils'])
.controller('AdminCreateOrderCycleCtrl', ['$scope', '$filter', 'OrderCycle', 'Enterprise', 'EnterpriseFee', 'ocInstance', 'StatusMessage', ($scope, $filter, OrderCycle, Enterprise, EnterpriseFee, ocInstance, StatusMessage) ->
$scope.enterprises = Enterprise.index(coordinator_id: ocInstance.coordinator_id)
$scope.supplier_enterprises = Enterprise.producer_enterprises