Commit 5da1da7d authored by Nigel Kukard's avatar Nigel Kukard

Merge branch 'purchasing-help-fix' into 'master'

Fix purchasing help

See merge request !38
parents 8637b9e9 e37a69e2
Pipeline #2666 passed with stages
in 1 minute and 28 seconds
......@@ -57,14 +57,14 @@ our $pluginInfo = {
MenuItem => "LinkInventory",
Regex => "linkinventory",
Desc => "Link inventory item",
Help => 'linkInventory invoice="<invoice number>" inventory="<inventory item code>" description="<description of item>" [serial="<item serial number>"] qty="<quantity>" [unit="<unit>"] unitprice="<unit price>" discount="<discount>" taxtypeid="<tax type id>" taxmode="<incl or excl>"',
Help => 'linkinventory invoice="<invoice number>" inventory="<inventory item code>" description="<description of item>" [serial="<item serial number>"] qty="<quantity>" [unit="<unit>"] unitprice="<unit price>" discount="<discount>" taxtypeid="<tax type id>" taxmode="<incl or excl>"',
Function => \&linkInventoryItem,
},
{
MenuItem => "LinkExpense",
Regex => "linkexpense",
Desc => "Link expense item",
Help => 'linkExpense invoice="<invoice number>" account="<expense account>" description="<description of item>" [serial="<item serial number>"] qty="<quantitiy>" [unit="<unit>"] unitprice="<unitprice>" discount="<discount in %>" taxtypeid="<tax type id>" taxmode="<incl or excl>"',
Help => 'linkexpense invoice="<invoice number>" account="<expense account>" description="<description of item>" [serial="<item serial number>"] qty="<quantitiy>" [unit="<unit>"] unitprice="<unitprice>" discount="<discount in %>" taxtypeid="<tax type id>" taxmode="<incl or excl>"',
Function => \&linkExpenseItem,
},
# {
......@@ -92,7 +92,7 @@ our $pluginInfo = {
MenuItem => "ShowTransactions",
Regex => "showtransactions",
Desc => "Show supplier invoice transactions",
Help => 'show invoice="<invoice number>"',
Help => 'showtransactions invoice="<invoice number>"',
Function => \&showTransactions,
},
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment