[% PROCESS 'elements.html' %]
[% text('Import assets') %]
[% info %]
[% PROCESS input element_data = { type = "date" label = text("Depreciate Through") #' name = "report_date" value = report_date } %]
[% PROCESS input element_data = { name = "import_file" type = "file" label = text('From File') #' class = "file" } %]
The following fields are expected (in this order):
tag
purchase_date
description
asset_class
location
vendor
invoice
department
asset_account
purchase_value
accum_dep
nbv
start_depreciation
usable_life
usable_life_remaining
[% PROCESS button element_data = { text = text("Save") type = "submit" class = "submit" name = "__action" value = "run_import" 'data-lsmb-doing' = text('Saving...') 'data-lsmb-done' = text('Saved') } %]