tin-spa 2.9.13 → 2.9.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1445,7 +1445,7 @@ class DataServiceLib {
1445
1445
  { name: 'employmentStatus', alias: 'Employment Status', type: 'select', loadAction: { url: 'employees/list/employment-status' } },
1446
1446
  { name: 'activeStatus', alias: 'Active Status', type: 'select', loadAction: { url: 'employees/list/active-status' } },
1447
1447
  { name: 'passportNumber', type: 'text', alias: 'Passport Number' },
1448
- { name: 'userName', type: 'text', alias: 'User', loadAction: { url: 'user/list/x' }, optionDisplay: 'name', optionValue: 'value', infoMessage: 'Related user account' },
1448
+ { name: 'userName', type: 'select', alias: 'User', loadAction: { url: 'user/list/x' }, optionDisplay: 'name', optionValue: 'value', nullable: true, infoMessage: 'Related user account' },
1449
1449
  { name: 'address', type: 'text', rows: 2, span: true },
1450
1450
  { name: 'phone', type: 'text' },
1451
1451
  { name: 'email', type: 'text' },
@@ -1712,6 +1712,7 @@ class DataServiceLib {
1712
1712
  // { name: 'UI + Email + SMS', value: 7 },
1713
1713
  { name: 'UI + WhatsApp', value: 9 },
1714
1714
  { name: 'UI + Telegram', value: 17 },
1715
+ { name: 'UI + Telegram + WhatsApp', value: 25 },
1715
1716
  { name: 'All Channels', value: 31 }
1716
1717
  ];
1717
1718
  //--------------------------Approvals-------------------------
@@ -8825,7 +8826,7 @@ class NotificationsComponent {
8825
8826
  },
8826
8827
  { name: 'durationHours', type: 'number', required: true, defaultValue: 24, hint: 'How long to keep this notification active' },
8827
8828
  { name: 'notifyAllUsers', type: 'checkbox', alias: 'Notify All Users', span: false },
8828
- { name: 'recipients', type: 'multi-text', alias: 'Recipients', copyContent: true, clearContent: true, span: true, hiddenCondition: x => x.notifyAllUsers, loadAction: { url: 'user/list/x' } },
8829
+ { name: 'usernames', type: 'multi-text', alias: 'Recipients', copyContent: true, clearContent: true, span: true, hiddenCondition: x => x.notifyAllUsers, loadAction: { url: 'user/list/x' } },
8829
8830
  { name: 'roleIDs', type: 'multi-select', strict: true, copyContent: true, alias: 'Roles', span: false, hiddenCondition: x => x.notifyAllUsers, loadAction: { url: 'role/list/x' } },
8830
8831
  {
8831
8832
  name: 'channels', type: 'select', alias: 'Notification Channels', span: false, defaultFirstValue: true, required: true,
@@ -10022,16 +10023,18 @@ class LogsComponent {
10022
10023
  title: 'Logs',
10023
10024
  tableConfig: {
10024
10025
  showFilter: true,
10025
- minColumns: ['dateLogged', 'fullName', 'details'],
10026
+ minColumns: ['dateLogged', 'userFullName', 'details'],
10026
10027
  flatButtons: this.dataService.appConfig.multitenant,
10028
+ logResponse: true,
10027
10029
  columns: [
10028
10030
  { name: 'dateLogged', type: 'datetimesec', alias: 'Date' },
10029
10031
  { name: 'userName', alias: 'User' },
10030
- { name: 'fullName', alias: 'Name' },
10032
+ { name: 'userFullName', alias: 'Name' },
10031
10033
  { name: 'source', },
10032
10034
  { name: 'details', maxLength: 150 },
10035
+ { name: 'tenantName', alias: 'Tenant', hiddenCondition: x => !this.dataService.appConfig.multitenant },
10033
10036
  ],
10034
- loadAction: { url: 'log/all/x' },
10037
+ loadAction: { url: 'logs/all/x' },
10035
10038
  buttons: [
10036
10039
  // { name: 'view', dialog : true, tip: 'View Log' },
10037
10040
  ]