This repository has been archived on 2025-04-26. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
angular-hotel-manager/src/currency.pipe.ts

11 lines
242 B
TypeScript

import { Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'jkcurrency',
standalone: true,
})
export class CurrencyPipe implements PipeTransform {
transform(value: string): string {
return value.replaceAll('L', 'P');
}
}