Lines 49-70
my $display_columns = { layout => [ # db column => {col label
Link Here
|
49 |
{barcode_type => {label => 'Barcode Type', link_field => 0}}, |
49 |
{barcode_type => {label => 'Barcode Type', link_field => 0}}, |
50 |
{printing_type => {label => 'Print Type', link_field => 0}}, |
50 |
{printing_type => {label => 'Print Type', link_field => 0}}, |
51 |
{format_string => {label => 'Fields to Print',link_field => 0}}, |
51 |
{format_string => {label => 'Fields to Print',link_field => 0}}, |
52 |
{select => {label => 'Select', value => 'layout_id'}}, |
52 |
{select => {label => 'Actions', value => 'layout_id'}}, |
53 |
], |
53 |
], |
54 |
template => [ {template_id => {label => 'Template ID', link_field => 0}}, |
54 |
template => [ |
|
|
55 |
{template_id => {label => 'Template ID', link_field => 0}}, |
55 |
{template_code => {label => 'Template Name', link_field => 0}}, |
56 |
{template_code => {label => 'Template Name', link_field => 0}}, |
56 |
{template_desc => {label => 'Description', link_field => 0}}, |
57 |
{template_desc => {label => 'Description', link_field => 0}}, |
57 |
{select => {label => 'Select', value => 'template_id'}}, |
58 |
{select => {label => 'Actions', value => 'template_id'}}, |
58 |
], |
59 |
], |
59 |
profile => [ {profile_id => {label => 'Profile ID', link_field => 0}}, |
60 |
profile => [ |
|
|
61 |
{profile_id => {label => 'Profile ID', link_field => 0}}, |
60 |
{printer_name => {label => 'Printer Name', link_field => 0}}, |
62 |
{printer_name => {label => 'Printer Name', link_field => 0}}, |
61 |
{paper_bin => {label => 'Paper Bin', link_field => 0}}, |
63 |
{paper_bin => {label => 'Paper Bin', link_field => 0}}, |
62 |
{_template_code => {label => 'Template Name', link_field => 0}}, # this display column does not have a corrisponding db column in the profile table, hence the underscore |
64 |
{_template_code => {label => 'Template Name', link_field => 0}}, # this display column does not have a corrisponding db column in the profile table, hence the underscore |
63 |
{select => {label => 'Select', value => 'profile_id'}}, |
65 |
{select => {label => 'Actions', value => 'profile_id'}}, |
64 |
], |
66 |
], |
65 |
batch => [ {batch_id => {label => 'Batch ID', link_field => 0}}, |
67 |
batch => [ |
|
|
68 |
{batch_id => {label => 'Batch ID', link_field => 0}}, |
66 |
{_item_count => {label => 'Item Count', link_field => 0}}, |
69 |
{_item_count => {label => 'Item Count', link_field => 0}}, |
67 |
{select => {label => 'Select', value => 'batch_id'}}, |
70 |
{select => {label => 'Actions', value => 'batch_id'}}, |
|
|
71 |
{select1 => {label => ' ', link_field => 'batch_id'}}, |
68 |
], |
72 |
], |
69 |
}; |
73 |
}; |
70 |
|
74 |
|
71 |
- |
|
|