Customer detail page changes
* Refactor code regarding override fields * Add *_override_at columns in customer table (migration) * Add *_override_at, *_override_by computed fields when updating customer * Rename compliance types to match override fields (migration) * Remove cross_ref compliance_type (migrations) * Populate customer object with usernames for every filled *_override_by field (users API)
This commit is contained in:
parent
409269d23d
commit
84bc84e7c1
3 changed files with 94 additions and 63 deletions
|
|
@ -38298,12 +38298,12 @@ var _user$project$Customer_View$customerActions = F2(
|
|||
{
|
||||
ctor: '::',
|
||||
_0: _elm_lang$html$Html_Events$onClick(
|
||||
A3(_user$project$Customer_Types$PatchCustomer, id, 'authorizedOverride', 'automatic')),
|
||||
A3(_user$project$Customer_Types$PatchCustomer, id, 'authorizedOverride', 'blocked')),
|
||||
_1: {ctor: '[]'}
|
||||
},
|
||||
{
|
||||
ctor: '::',
|
||||
_0: _elm_lang$html$Html$text('Unblock'),
|
||||
_0: _elm_lang$html$Html$text('Block'),
|
||||
_1: {ctor: '[]'}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue