9 lines
227 B
JavaScript
9 lines
227 B
JavaScript
/**
|
|
* A global Blaze UI helper to format a patient name for display purposes
|
|
*/
|
|
UI.registerHelper('formatPN', function (context) {
|
|
if (!context) {
|
|
return undefined;
|
|
}
|
|
return context.replace('^', ', ');
|
|
}); |