Receipt line
FreeLogic@rabbinatix/receipt-line by Rabbinatixupdated Oct 4, 2026
Lines up a label and a price with dots: `Coffee..........3.50`.
The label is padded to 16 characters and the price to 8, so lines of a receipt line up in a fixed-width font.
Shows: Pad End, Pad Start, Concat.
How to use it
Add it to your logic, then add a Call Function step in any logic and pick Receipt line. It belongs to no system, so every system can use it. Or download the TypeScript and call it from your own code.
Inputs
label: Text
price: Text
Outputs
line: Text
Previewdrag the steps around; scroll to zoom
Function Entry, Input / output. 0 inputs, 3 outputs. step 1 of 5
Receipt line
label
price
Pad End, String. 3 inputs, 1 output. step 2 of 5
Pad End
text
length
fill
result
Pad Start, String. 3 inputs, 1 output. step 3 of 5
Pad Start
text
length
fill
result
Concat, String. 2 inputs, 1 output. step 4 of 5
Concat
a
b
result
Return, Input / output. 2 inputs, 0 outputs. step 5 of 5
Return
line
Arrow keys: next or previous step in flow order. Alt with arrows: nearest step in that direction. Enter: open. Shift F10: more actions.
Examplesrun live against the logic · 2/2 pass
| Passed | Example | Input | Output |
|---|---|---|---|
| Short label | {"label":"Coffee","price":"3.50"} | {"line":"Coffee..............3.50"} | |
| Long label | {"label":"Seasonal fruit platter","price":"12.00"} | {"line":"Seasonal fruit platter...12.00"} |
Try it
Versions
In this package
Receipt line (entry)
