refs #5934 refactor: nombres variables
gitea/salix/pipeline/head Build queued... Details

This commit is contained in:
Vicent Llopis 2023-07-20 07:17:35 +02:00
parent 3e8775149a
commit ab95ef74a9
3 changed files with 5 additions and 8 deletions

View File

@ -7,9 +7,9 @@ CREATE TABLE `vn`.`clientSms` (
KEY `clientSms_FK_1` (`smsFk`),
CONSTRAINT `clientSms_FK` FOREIGN KEY (`clientFk`) REFERENCES `client` (`id`) ON UPDATE CASCADE,
CONSTRAINT `clientSms_FK_1` FOREIGN KEY (`smsFk`) REFERENCES `sms` (`id`) ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
VALUES
('ClientSms', '*', 'READ', 'ALLOW', 'ROLE', 'employee'),
('ClientSms', '*', 'WRITE', 'ALLOW', 'ROLE', 'employee');
('ClientSms', 'find', 'READ', 'ALLOW', 'ROLE', 'employee'),
('ClientSms', 'create', 'WRITE', 'ALLOW', 'ROLE', 'employee');

View File

@ -14,9 +14,6 @@
},
"clientFk": {
"type": "number"
},
"smsFk": {
"type": "number"
}
},
"relations": {

View File

@ -3,7 +3,7 @@
url="ClientSms"
link="{clientFk: $ctrl.$params.id}"
filter="::$ctrl.filter"
data="clientSmss"
data="clientSmsList"
limit="20"
auto-load="true">
</vn-crud-model>
@ -20,7 +20,7 @@
</vn-tr>
</vn-thead>
<vn-tbody>
<vn-tr ng-repeat="clientSms in clientSmss">
<vn-tr ng-repeat="clientSms in clientSmsList">
<vn-td>
<span class="link" ng-click="workerDescriptor.show($event, clientSms.sms.senderFk)">
{{::clientSms.sms.sender.name}}