|);
@@ -145,8 +140,7 @@ sub print_customer_selection {
|
- . $locale->text('Select from one of the names below')
- . qq|
+ . $locale->text('Select from one of the names below') . qq|
@@ -174,11 +168,9 @@ sub print_customer_selection {
qq|
$c{"customernumber"}
+ . $c{"id"} . qq|\">$c{"customernumber"}
$c{"name"}
+ . $c{"name"} . qq|\">$c{"name"}
$c{"street"}
$c{"zipcode"}
$c{"city"}
@@ -211,14 +203,12 @@ sub print_license_form {
| . $locale->text('Part Number') . qq|
{"partnumber"})
- . qq|\">
+ . quot($form->{"partnumber"}) . qq|\">
| . $locale->text('Description') . qq|
{"description"})
- . qq|\">
+ . quot($form->{"description"}) . qq|\">
| . $locale->text('Company Name') . qq|
|);
@@ -242,26 +232,22 @@ sub print_license_form {
| . $locale->text('Comment') . qq|
{"comment"})
- . qq|\">
+ . quot($form->{"comment"}) . qq|\">
| . $locale->text('Valid until') . qq|
{"validuntil"})
- . qq|\">
+ . quot($form->{"validuntil"}) . qq|\">
| . $locale->text('Quantity') . qq|
{"quantity"})
- . qq|\">
+ . quot($form->{"quantity"}) . qq|\">
| . $locale->text('License key') . qq|
{"licensenumber"})
- . qq|\">
+ . quot($form->{"licensenumber"}) . qq|\">
| . $locale->text('Own Product') . qq|
@@ -276,8 +262,7 @@ sub print_license_form {
print(
qq|
text('Save')
- . qq|\">\n|);
+ . $locale->text('Save') . qq|\">\n|);
}
print(
qq|
@@ -291,7 +276,8 @@ sub add {
$lxdebug->enter_sub();
if (!$lizenzen) {
$form->error(
- $locale->text('The licensing module has been deactivated in lx-erp.conf.')
+ $locale->text(
+ 'The licensing module has been deactivated in lx-erp.conf.')
);
}
@@ -487,8 +473,7 @@ sub search {
. $locale->text('Expiring in x month(s)')
. qq|
|
- . $locale->text('Expired licenses')
- . qq|
+ . $locale->text('Expired licenses') . qq|
@@ -542,7 +527,8 @@ sub do_search {
|);
if (scalar(@{ $form->{"licenses"} }) == 0) {
print(qq|
|
- . $locale->text("No licenses were found that match the search criteria.")
+ . $locale->text(
+ "No licenses were found that match the search criteria.")
. qq|