[% PROCESS 'elements.html' %]
[% title %]
[% info %]
[% PROCESS select element_data = { label = text("AR account") name = "AR" options = AR_accounts text_attr = "value" value_attr = "value" } %]
[% PROCESS select element_data = { label = text("AP account") name = "AP" options = AP_accounts text_attr = "value" value_attr = "value" } %]
[% PROCESS input element_data = { type = "text" class = "date" label = text("Transaction Date") name = "transdate" value = transdate size = 12 } %]
[% PROCESS input element_data = { name = "stock_type" id = 'stock_type-absolute' type = "radio" value = "absolute" label = text("Onhand amount") } %]
[% PROCESS input element_data = { name = "stock_type" id = 'stock_type-relative' type = "radio" value = "relative" label = text("Onhand delta") } %]
[% PROCESS input element_data = { name = "type" id = 'type-single' type = "radio" value = "inventory" label = text("Single date") } %]
[% PROCESS input element_data = { name = "type" id = 'type-multiple' type = "radio" value = "inventory_multi" label = text("Multiple dates") } %]
[% PROCESS input element_data = { name = "import_file" type = "file" label = text("From File") class = "file" accept = ".csv" } %]
[% PROCESS button element_data = { text = text("Save") type = "submit" class = "submit" name = "action" value = "run_import" } %]