diff --git a/application/views/labels/index.php b/application/views/labels/index.php
index 7f8755d6..2b2e7422 100644
--- a/application/views/labels/index.php
+++ b/application/views/labels/index.php
@@ -47,7 +47,7 @@
-
+
| paper_name; ?> |
metric; ?> |
width; ?> |
@@ -55,7 +55,7 @@
lbl_cnt ?? '0' ?> |
orientation == 'P' ? 'Portrait': 'Landscape'; ?> |
|
- |
+ |
useforprint == 1) {echo 'checked';}?>>
|
- |
+ |
0) {
+ message = 'Warning! This paper type is in use. Are you really sure you want delete this paper type?';
+ }
+ BootstrapDialog.confirm({
+ title: 'DANGER',
+ message: message,
+ type: BootstrapDialog.TYPE_DANGER,
+ closable: true,
+ draggable: true,
+ btnOKClass: 'btn-danger',
+ callback: function(result) {
+ if (result) {
+ window.location.replace(base_url + 'index.php/labels/deletePaper/'+id);
+ }
+ }
+ });
+}