4002-item.itemType #974
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#974
Loading…
Reference in New Issue
No description provided.
Delete Branch "4002-item.itemType"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -0,0 +1,7 @@
INSERT INTO `salix`.`ACL`
you are inserting in the same table using the INSERT INTO twice...
you can wrap both in the same insert ie:
INSERT INTO
salix
.ACL
(model
,property
,accessType
,permission
,principalType
,principalId
)VALUES
('ItemType', '', 'READ', 'ALLOW', 'ROLE', 'employee'),
('ItemType', '', 'WRITE', 'ALLOW', 'ROLE', 'buyer');
@ -21,0 +21,4 @@
"workerFk": {
"type": "number"
},
"categoryFk": {
it's important to add the relations to any foreign key instead of a siemple field (just the foreign key)
@ -0,0 +15,4 @@
it('should reload the controller data', () => {
controller.$params.id = 1;
$httpBackend.expectGET('ItemTypes/1').respond('foo');
"foo" doesn't give context, therefore not making code maintenance easier.
@ -0,0 +27,4 @@
vn-id="delete-itemType"
on-accept="$ctrl.onDelete()"
question="Are you sure you want to continue?"
message="ItemType will be removed">
It is easier for the user to read "The item type will be removed" instead of "entityName will be removed"
The user is not a developer.
@ -0,0 +1,2 @@
Role will be removed: El rol va a ser eliminado
The roll will be removed: El rol va a ser eliminado
or
Roll will be removed: Rol va a ser eliminado
@ -0,0 +1,21 @@
<div class="search-panel">
<form ng-submit="$ctrl.onSearch()">
<vn-horizontal>
<vn-textfield
this textfield may want to be the focus
@ -18,11 +18,20 @@
"name": {
"type": "string"
},
"temperatureFk": {
relation still missing
@ -26,0 +27,4 @@
"promo": {
"type": "number"
},
"itemPackingTypeFk": {
relation still missing
LGTM