qq| o.marge_total, o.marge_percent, | .
qq| ex.$rate AS exchangerate, | .
qq| pr.projectnumber AS globalprojectnumber, | .
- qq| e.name AS employee, s.name AS salesman | .
+ qq| e.name AS employee, s.name AS salesman, | .
+ qq| ct.country, ct.ustid | .
qq|FROM oe o | .
qq|JOIN $vc ct ON (o.${vc}_id = ct.id) | .
qq|LEFT JOIN employee e ON (o.employee_id = e.id) | .
"salesman",
"shipvia", "globalprojectnumber",
"transaction_description", "open",
- "delivered", "marge_total", "marge_percent"
+ "delivered", "marge_total", "marge_percent",
+ "country", "ustid",
);
# only show checkboxes if gotten here via sales_order form.
'open' => { 'text' => $locale->text('Open'), },
'delivered' => { 'text' => $locale->text('Delivered'), },
'marge_total' => { 'text' => $locale->text('Ertrag'), },
- 'marge_percent' => { 'text' => $locale->text('Ertrag prozentual'), }
+ 'marge_percent' => { 'text' => $locale->text('Ertrag prozentual'), },
+ 'country' => { 'text' => $locale->text('Country'), },
+ 'ustid' => { 'text' => $locale->text('USt-IdNr.'), },
);
foreach my $name (qw(id transdate reqdate quonumber ordnumber name employee salesman shipvia transaction_description)) {
'Transactions, AR transactions, AP transactions' => 'Dialogbuchen, Debitorenrechnungen, Kreditorenrechnungen',
'Transfer To Stock' => 'Lagereingang',
'Trying to call a sub without a name' => 'Es wurde versucht, eine Unterfunktion ohne Namen aufzurufen.',
+ 'USt-IdNr.' => 'USt-IdNr.',
'Unit' => 'Einheit',
'Unknown dependency \'%s\'.' => 'Unbekannte Abhängigkeit \'%s\'.',
'Value' => 'Wert',
'Transactions, AR transactions, AP transactions' => 'Dialogbuchen, Debitorenrechnungen, Kreditorenrechnungen',
'Transfer To Stock' => 'Lagereingang',
'Trying to call a sub without a name' => 'Es wurde versucht, eine Unterfunktion ohne Namen aufzurufen.',
+ 'USt-IdNr.' => 'USt-IdNr.',
'Unit' => 'Einheit',
'Unknown dependency \'%s\'.' => 'Unbekannte Abhängigkeit \'%s\'.',
'Value' => 'Wert',
'Transactions, AR transactions, AP transactions' => 'Dialogbuchen, Debitorenrechnungen, Kreditorenrechnungen',
'Transfer To Stock' => 'Lagereingang',
'Trying to call a sub without a name' => 'Es wurde versucht, eine Unterfunktion ohne Namen aufzurufen.',
+ 'USt-IdNr.' => 'USt-IdNr.',
'Unit' => 'Einheit',
'Unknown dependency \'%s\'.' => 'Unbekannte Abhängigkeit \'%s\'.',
'Value' => 'Wert',
<label for="l_salesman">Verkäufer/in</label>
</td>
</tr>
+ <tr>
+ <td colspan=4 align=left><b>Kunde</td>
+ </tr>
+ <tr>
+ <td>
+ <input name="l_country" id="l_country" class="checkbox" type="checkbox" value="Y">
+ <label for="l_country">Land</label>
+ </td>
+ <td>
+ <input name="l_ustid" id="l_ustid" class="checkbox" type="checkbox" value="Y">
+ <label for="l_ustid">USt-IdNr.</label>
+ </td>
+ </tr>
[%- IF type == 'sales_order' %]
<tr><td colspan="3"><hr></td></tr>
[%- END %]
<label for="l_salesman"><translate>Salesman</translate></label>
</td>
</tr>
+ <tr>
+ <td colspan=4 align=left><b><translate>Customer</translate></td>
+ </tr>
+ <tr>
+ <td>
+ <input name="l_country" id="l_country" class="checkbox" type="checkbox" value="Y">
+ <label for="l_country"><translate>Country</translate></label>
+ </td>
+ <td>
+ <input name="l_ustid" id="l_ustid" class="checkbox" type="checkbox" value="Y">
+ <label for="l_ustid"><translate>USt-IdNr.</translate></label>
+ </td>
+ </tr>
[%- IF type == 'sales_order' %]
<tr><td colspan="3"><hr></td></tr>
[%- END %]