8267-devToTest #3270

Merged
alexm merged 131 commits from 8267-devToTest into test 2024-12-03 12:18:21 +00:00
5 changed files with 36 additions and 4 deletions
Showing only changes of commit 699c6553a0 - Show all commits

View File

@ -133,6 +133,9 @@
"Postcode": {
"dataSource": "vn"
},
"Prefix": {
"dataSource": "vn"
},
"ReferenceRate": {
"dataSource": "vn"
},

27
back/models/prefix.json Normal file
View File

@ -0,0 +1,27 @@
{
"name": "Prefix",
"base": "VnModel",
"options": {
"mysql": {
"table": "pbx.prefix"
}
},
"properties": {
"country": {
"type": "string",
"id": true
},
"prefix": {
"type": "string"
}
},
"acls": [
{
"property": "*",
"accessType": "READ",
"principalType": "ROLE",
"principalId": "employee",
"permission": "ALLOW"
}
]
}

View File

@ -54,7 +54,7 @@ module.exports = Self => {
{
relation: 'country',
scope: {
fields: ['id', 'name'],
fields: ['id', 'name', 'code'],
include: {
relation: 'saySimpleCountry',
}

View File

@ -33,7 +33,9 @@ td {
font-size: 26px;
}
.lg-txt {
font-size: 32px;
font-size: 40px;
padding: 0px;
line-height: 1;
}
.xl-txt {
font-size: 50px;

View File

@ -36,12 +36,12 @@
</td>
</tr>
<tr>
<td class="lg-txt xl-width bold center">
<td class="bold center lg-txt xl-width">
<div class="overflow-line">
{{formatNumber(buy.itemFk)}}
</div>
</td>
<td colspan="2" class="md-txt md-width center">
<td colspan="2" class="center md-txt md-width">
<div class="overflow-line">
{{`${(packing || buy.packing)} x ${buy.stems || ''}`}}
</div>