Commit e37a69e2 authored by Robert Spencer's avatar Robert Spencer

Fix purchasing help

parent 8637b9e9
......@@ -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