mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/unity.git
synced 2026-08-25 07:14:10 +00:00
contract template obligation contract template dependency UI
This commit is contained in:
+34
@@ -74,6 +74,40 @@ const Constant = {
|
||||
'color': 'warning'
|
||||
},
|
||||
],
|
||||
'contract_template_obligation_dependency_status': [
|
||||
{
|
||||
'id': 1,
|
||||
'name': 'Active',
|
||||
'color': 'primary'
|
||||
},
|
||||
{
|
||||
'id': 2,
|
||||
'name': 'De-active',
|
||||
'color': 'danger'
|
||||
},
|
||||
{
|
||||
'id': 9,
|
||||
'name': 'Pending',
|
||||
'color': 'warning'
|
||||
},
|
||||
],
|
||||
'contract_template_obligation_contract_template_dependency_status': [
|
||||
{
|
||||
'id': 1,
|
||||
'name': 'Active',
|
||||
'color': 'primary'
|
||||
},
|
||||
{
|
||||
'id': 2,
|
||||
'name': 'De-active',
|
||||
'color': 'danger'
|
||||
},
|
||||
{
|
||||
'id': 9,
|
||||
'name': 'Pending',
|
||||
'color': 'warning'
|
||||
},
|
||||
],
|
||||
'contract_status': [
|
||||
{
|
||||
'id': 1,
|
||||
|
||||
Vendored
+3
@@ -153,6 +153,9 @@ class Form {
|
||||
else if(code[i] == 'CURRENT_PASSWORD_NOT_MATCH') {
|
||||
return_message.push(Sprintf(General.lang('current_password_not_match'), value));
|
||||
}
|
||||
else if(code[i] == 'OBLIGATION_DEPEND_ERROR') {
|
||||
return_message.push(Sprintf(General.lang('obligation_depend_error'), value));
|
||||
}
|
||||
else {
|
||||
return_message.push(code[i]);
|
||||
}
|
||||
|
||||
+3
@@ -359,6 +359,9 @@ module.exports.toastedMessage = function(type, object, key) {
|
||||
else if(type == 'edit') {
|
||||
message = Sprintf(module.exports.lang('have_been_successfully_updated'), {value: value});
|
||||
}
|
||||
else if(type == 'delete') {
|
||||
message = Sprintf(module.exports.lang('have_been_successfully_deleted'), {value: value});
|
||||
}
|
||||
|
||||
Vue.toasted.success(message, {
|
||||
icon : {
|
||||
|
||||
Reference in New Issue
Block a user