diff --git a/config/app.php b/config/app.php index 1ffcf358c..1bae114c9 100644 --- a/config/app.php +++ b/config/app.php @@ -8,7 +8,7 @@ return [ 'name' => env('APP_NAME', 'ProcessMaker'), 'url' => env('APP_URL', 'http://localhost'), 'env' => env('APP_ENV', 'production'), - 'debug' => env('APP_DEBUG', false), + 'debug' => env('APP_DEBUG', true), 'cache_lifetime' => env('APP_CACHE_LIFETIME', 60), 'key' => env('APP_KEY', 'base64:rU28h/tElUn/eiLY0qC24jJq1rakvAFRoRl1DWxj/kM='), 'cipher' => 'AES-256-CBC', diff --git a/resources/assets/js/home/CaseDetail.vue b/resources/assets/js/home/CaseDetail.vue index 60f033310..7ef96d278 100644 --- a/resources/assets/js/home/CaseDetail.vue +++ b/resources/assets/js/home/CaseDetail.vue @@ -48,9 +48,15 @@ {{ $t("ID_CONTINUE") }} + {{ $t("ID_INPAUSE") }} @@ -428,6 +434,9 @@ export default { that.dataComments.noPerms = response.data.noPerms || 0; }) .catch((err) => { + if (err.response.data) { + that.showAlert(err.response.data.error.message, "danger"); + } throw new Error(err); }); }, @@ -576,6 +585,18 @@ export default { this.$emit("onUpdatePage", "XCase"); } }, + /** + * Unpause click handler + * + * @param {object} data + */ + onClickUnpause(data) { + Api.cases.unpause(data).then((response) => { + if (response.statusText === "OK") { + this.$refs["vueTable"].getData(); + } + }); + }, /** * Claim case *