แก้ format ฟิว posMasterNo (1)
This commit is contained in:
parent
e374f2e339
commit
168abb1255
3 changed files with 37 additions and 36 deletions
|
|
@ -101,7 +101,7 @@ export function getOrgFullName(posMaster: PosMaster): string {
|
|||
}
|
||||
|
||||
/**
|
||||
* สร้างเลขที่ตำแหน่ง เช่น "กทม. กบ.1234ช"
|
||||
* สร้างเลขที่ตำแหน่ง เช่น "กทม. กบ. 1234 ช"
|
||||
*/
|
||||
export function getPosMasterNo(posMaster: PosMaster): string {
|
||||
const orgShortName = getOrgShortName(posMaster);
|
||||
|
|
@ -110,5 +110,5 @@ export function getPosMasterNo(posMaster: PosMaster): string {
|
|||
posMaster.posMasterNo,
|
||||
posMaster.posMasterNoSuffix,
|
||||
].filter((part) => part !== null && part !== undefined);
|
||||
return `${orgShortName} ${parts.join('')}`;
|
||||
return `${orgShortName} ${parts.join(' ')}`;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue