NAME

App::Manoc::Controller::HWAsset - HWAsset controller

VERSION

version 2.99.2

ACTIONS

create_device

Create a new device using a form. Chained to base.

list

Display a list of items. Chained to base since the table is AJAX based

list_devices

Display a list of items. Chained to base since the table is AJAX based

view

Display a single item.

edit

Use a form to edit a row. Redirect to specific controllers when the object is a server or a workstation.

delete

decommission

restore

vendors_js

Get a list of vendors in JSON, to be used in form autocomplete.

models_js

Get a list of models optionally filtered by vendor.

datatable_source_devices

Ajax source for datatable listing device assets only.

unused_devices_js

METHODS

get_form_process_params

Manage the hide_location query parameter.

datatable_search_cb

Add support for asset status and warehous.

datatable_row

AUTHORS

  • Gabriele Mambrini <gmambro@cpan.org>

  • Enrico Liguori

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Gabriele Mambrini.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.