Fix: Error in purchase return where the check for batch date was wrong.

Fix: Added some common validation for inputs
Feature: created a to_uuid function which will return uuid if the string is correct else None to parse uuid inputs.
Fix: Proper modal template so that the modal is proper width
This commit is contained in:
Amritanshu committed 2014-02-08 14:42:57 +05:30
1 parent 89e1443b48
commit f4551c8b5a
8 files changed
+47 -21

No files matched your search

-1
View File
@@ -59,7 +59,6 @@ var AccountCtrl = ['$scope', '$location', '$modal', 'account', 'account_types',
AccountCtrl.resolve = {
account: ['$route', 'Account', function ($route, Account) {
var id = $route.current.params.id;
return Account.get({id: id}).$promise;
}],
account_types: ['AccountType', function (AccountType) {