Fix: Delete confirmation was borked for all except Journal.
This commit is contained in:
parent
98e97f63c0
commit
552781b5c6
@ -34,6 +34,7 @@
|
|||||||
let modalInstance = this.$modal.open({
|
let modalInstance = this.$modal.open({
|
||||||
backdrop: true,
|
backdrop: true,
|
||||||
templateUrl: '/template/modal/confirm.html',
|
templateUrl: '/template/modal/confirm.html',
|
||||||
|
controllerAs: 'vmModal',
|
||||||
controller: ['$uibModalInstance', class {
|
controller: ['$uibModalInstance', class {
|
||||||
title: any;
|
title: any;
|
||||||
body: any;
|
body: any;
|
||||||
|
@ -30,6 +30,7 @@ export class ClientController {
|
|||||||
const modalInstance = this.$modal.open({
|
const modalInstance = this.$modal.open({
|
||||||
backdrop: true,
|
backdrop: true,
|
||||||
templateUrl: '/template/modal/confirm.html',
|
templateUrl: '/template/modal/confirm.html',
|
||||||
|
controllerAs: 'vmModal',
|
||||||
controller: ['$uibModalInstance', class {
|
controller: ['$uibModalInstance', class {
|
||||||
title: any;
|
title: any;
|
||||||
body: any;
|
body: any;
|
||||||
|
@ -52,6 +52,7 @@ export class EmployeeController {
|
|||||||
const modalInstance = this.$modal.open({
|
const modalInstance = this.$modal.open({
|
||||||
backdrop: true,
|
backdrop: true,
|
||||||
templateUrl: '/template/modal/confirm.html',
|
templateUrl: '/template/modal/confirm.html',
|
||||||
|
controllerAs: 'vmModal',
|
||||||
controller: ['$uibModalInstance', class {
|
controller: ['$uibModalInstance', class {
|
||||||
title: any;
|
title: any;
|
||||||
body: any;
|
body: any;
|
||||||
|
@ -99,6 +99,7 @@ export class IncentiveController {
|
|||||||
const modalInstance = this.$modal.open({
|
const modalInstance = this.$modal.open({
|
||||||
backdrop: true,
|
backdrop: true,
|
||||||
templateUrl: '/template/modal/confirm.html',
|
templateUrl: '/template/modal/confirm.html',
|
||||||
|
controllerAs: 'vmModal',
|
||||||
controller: ['$uibModalInstance', class {
|
controller: ['$uibModalInstance', class {
|
||||||
title: any;
|
title: any;
|
||||||
body: any;
|
body: any;
|
||||||
|
@ -250,6 +250,7 @@ export class IssueController {
|
|||||||
const modalInstance = this.$modal.open({
|
const modalInstance = this.$modal.open({
|
||||||
backdrop: true,
|
backdrop: true,
|
||||||
templateUrl: '/template/modal/confirm.html',
|
templateUrl: '/template/modal/confirm.html',
|
||||||
|
controllerAs: 'vmModal',
|
||||||
controller: ['$uibModalInstance', class {
|
controller: ['$uibModalInstance', class {
|
||||||
title: any;
|
title: any;
|
||||||
body: any;
|
body: any;
|
||||||
|
@ -191,6 +191,7 @@ export class PaymentController {
|
|||||||
const modalInstance = this.$modal.open({
|
const modalInstance = this.$modal.open({
|
||||||
backdrop: true,
|
backdrop: true,
|
||||||
templateUrl: '/template/modal/confirm.html',
|
templateUrl: '/template/modal/confirm.html',
|
||||||
|
controllerAs: 'vmModal',
|
||||||
controller: ['$uibModalInstance', class {
|
controller: ['$uibModalInstance', class {
|
||||||
title: any;
|
title: any;
|
||||||
body: any;
|
body: any;
|
||||||
|
@ -184,6 +184,7 @@ export class PurchaseReturnController {
|
|||||||
const modalInstance = this.$modal.open({
|
const modalInstance = this.$modal.open({
|
||||||
backdrop: true,
|
backdrop: true,
|
||||||
templateUrl: '/template/modal/confirm.html',
|
templateUrl: '/template/modal/confirm.html',
|
||||||
|
controllerAs: 'vmModal',
|
||||||
controller: ['$uibModalInstance', class {
|
controller: ['$uibModalInstance', class {
|
||||||
title: any;
|
title: any;
|
||||||
body: any;
|
body: any;
|
||||||
|
@ -187,6 +187,7 @@ export class PurchaseController {
|
|||||||
const modalInstance = this.$modal.open({
|
const modalInstance = this.$modal.open({
|
||||||
backdrop: true,
|
backdrop: true,
|
||||||
templateUrl: '/template/modal/confirm.html',
|
templateUrl: '/template/modal/confirm.html',
|
||||||
|
controllerAs: 'vmModal',
|
||||||
controller: ['$uibModalInstance', class {
|
controller: ['$uibModalInstance', class {
|
||||||
title: any;
|
title: any;
|
||||||
body: any;
|
body: any;
|
||||||
|
@ -191,6 +191,7 @@ export class ReceiptController {
|
|||||||
const modalInstance = this.$modal.open({
|
const modalInstance = this.$modal.open({
|
||||||
backdrop: true,
|
backdrop: true,
|
||||||
templateUrl: '/template/modal/confirm.html',
|
templateUrl: '/template/modal/confirm.html',
|
||||||
|
controllerAs: 'vmModal',
|
||||||
controller: ['$uibModalInstance', class {
|
controller: ['$uibModalInstance', class {
|
||||||
title: any;
|
title: any;
|
||||||
body: any;
|
body: any;
|
||||||
|
@ -150,6 +150,7 @@ export class SalaryDeductionController {
|
|||||||
const modalInstance = this.$modal.open({
|
const modalInstance = this.$modal.open({
|
||||||
backdrop: true,
|
backdrop: true,
|
||||||
templateUrl: '/template/modal/confirm.html',
|
templateUrl: '/template/modal/confirm.html',
|
||||||
|
controllerAs: 'vmModal',
|
||||||
controller: ['$uibModalInstance', class {
|
controller: ['$uibModalInstance', class {
|
||||||
title: any;
|
title: any;
|
||||||
body: any;
|
body: any;
|
||||||
|
Loading…
Reference in New Issue
Block a user