1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

prevent the user to close the modal modal while closing a period

This commit is contained in:
Sylvain 2019-04-03 14:31:39 +02:00
parent 722d5d36e7
commit 79c3cfaa27

View File

@ -419,6 +419,8 @@ Application.Controllers.controller('InvoicesController', ['$scope', '$state', 'I
$uibModal.open({
templateUrl: '<%= asset_path "admin/invoices/closePeriodModal.html" %>',
controller: 'ClosePeriodModalController',
backdrop: 'static',
keyboard: false,
size: 'lg',
resolve: {
periods() { return AccountingPeriod.query().$promise; },