Skip to content

Commit 5edeafe

Browse files
committed
docs/views/10-generic, minor text fixes.
1 parent 266e49a commit 5edeafe

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

docs/views/10-generic.rst

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Template/View behavior or maybe enriched (like some things are today) by the
1212
.. note ::
1313
1414
Tip! The file locations presented in this reference are directly openable in
15-
:ref:`vscode` if you have opened the repository root folder in the editor, just
16-
run the path in the command palette (``Ctrl + Shift + P``).
15+
:ref:`vscode` if you have opened the repository root folder in the editor,
16+
just run the path in the command palette (``Ctrl + Shift + P``).
1717
1818
.. _view-imports:
1919

@@ -106,7 +106,7 @@ Various generic template handling functions.
106106
* ``ifElse(iftrue, result, elseresult)`` - If iftrue is true, return result,
107107
otherwise return elseresult
108108
* ``inArray(item, array)`` - Check if item exists in array
109-
* ``isEmpty(obj)`` - Check if variable is undefined, null, empty Array list
109+
* ``isEmpty(obj)`` - Check if variable is undefined, null or empty Array list
110110
* ``isEqual(arg1, arg2)`` - Check equality of the arguments
111111
* ``toFixed(number, fixval)`` - Formats a number using fixed-point notation
112112

@@ -239,7 +239,7 @@ Located in::
239239

240240
Functions shared between invoice and order views.
241241

242-
* ``getDiffRows(rows)`` - get rows where match status is not fully matched
242+
* ``getDiffRows(rows)`` - Get rows where match status is not fully matched
243243
* ``getHistoryBadgeData(history)`` - Get the number of comments in history data
244244
* ``getMatchInfo(document)`` - Get matching details by looking on both document
245245
header and rows
@@ -270,17 +270,18 @@ Functions shared between invoice and order matching views.
270270
* ``getPotentialAmount(selectedRowSuggestionsNotify, matchSuggestionsNotify,
271271
unmatchedAmount, unformatted)`` - Get selected amount that is possible to
272272
match
273-
* ``getPotentialQuantity(selectedRowSuggestionsNotify, unmatchedQuantity)`` {
274-
* ``getProgress(part, total)`` - Get percentage value for progress bars
275-
* ``getStartValue(part, total)`` - Get the start value for progress bars
273+
* ``getPotentialQuantity(selectedRowSuggestionsNotify, unmatchedQuantity)`` -
274+
Get selected quantity that is possible to match
275+
* ``getProgress(part, total)`` - Get percentage value for a progress bar
276+
* ``getStartValue(part, total)`` - Get the start value for a progress bar
276277
* ``showFilterBasedOnAvailableValues(rowNotify, rowValueProperty, suggestions,
277278
comparison)`` - Find out if a filter should be shown based on available rows
278279
* ``showPackageUnitPriceFilter(selectedRowSuggestionsNotify,
279280
matchSuggestionsNotify, matchSuggestionsRowObjectProperty,
280281
matchSuggestionsSuggestionsProperty, rowProperty, rowSuggestionsProperty)`` -
281282
Find out if package unit price filter should be shown
282283

283-
Located in:
284+
Located in::
284285

285286
app/views/general/invoices-orders-matching-helper-behavior.html
286287

@@ -339,7 +340,7 @@ Omnitable search (OTS) shared functions.
339340
* ``_otsObserveSearchParams(viewParams, userParams, subPath)`` - Observer for
340341
user and view parameters that sets search parameters
341342

342-
Located::
343+
Located in::
343344

344345
app/views/general/omnitablesearch-helper-behavior.html
345346

0 commit comments

Comments
 (0)