318 |
318 |
# openclosed checkboxes
|
319 |
319 |
my @tmp;
|
320 |
320 |
push @tmp, sprintf qq|<input name="delivered" id="delivered" type="checkbox" class="checkbox" value="1" %s><label for="delivered">%s</label>|,
|
321 |
|
$form->{"delivered"} ? "checked" : "", $locale->text('Delivered') if $form->{"type"} =~ /_order$/;
|
|
321 |
$form->{"delivered"} ? "checked" : "", $locale->text('Delivery Order created') if $form->{"type"} =~ /_order$/;
|
322 |
322 |
push @tmp, sprintf qq|<input name="closed" id="closed" type="checkbox" class="checkbox" value="1" %s><label for="closed">%s</label>|,
|
323 |
323 |
$form->{"closed"} ? "checked" : "", $locale->text('Closed') if $form->{id};
|
324 |
324 |
$TMPL_VAR{openclosed} = sprintf qq|<tr><td colspan=%d align=center>%s</td></tr>\n|, 2 * scalar @tmp, join "\n", @tmp if @tmp;
|
... | ... | |
833 |
833 |
'globalprojectnumber' => { 'text' => $locale->text('Project Number'), },
|
834 |
834 |
'transaction_description' => { 'text' => $locale->text('Transaction description'), },
|
835 |
835 |
'open' => { 'text' => $locale->text('Open'), },
|
836 |
|
'delivered' => { 'text' => $locale->text('Delivered'), },
|
|
836 |
'delivered' => { 'text' => $locale->text('Delivery Order created'), },
|
837 |
837 |
'marge_total' => { 'text' => $locale->text('Ertrag'), },
|
838 |
838 |
'marge_percent' => { 'text' => $locale->text('Ertrag prozentual'), },
|
839 |
839 |
'vcnumber' => { 'text' => $form->{vc} eq 'customer' ? $locale->text('Customer Number') : $locale->text('Vendor Number'), },
|
... | ... | |
879 |
879 |
};
|
880 |
880 |
push @options, $locale->text('Open') if $form->{open};
|
881 |
881 |
push @options, $locale->text('Closed') if $form->{closed};
|
882 |
|
push @options, $locale->text('Delivered') if $form->{delivered};
|
|
882 |
push @options, $locale->text('Delivery Order created') if $form->{delivered};
|
883 |
883 |
push @options, $locale->text('Not delivered') if $form->{notdelivered};
|
884 |
884 |
push @options, $locale->text('Periodic invoices active') if $form->{periodic_invoices_actibe};
|
885 |
885 |
|
fix Bug 1737