Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a74d7faf

Von Moritz Bunkus vor fast 14 Jahren hinzugefügt

  • ID a74d7fafa1ecbaf1f786ed7fdc85dc757ce4955f
  • Vorgänger d8a50dde
  • Nachfolger abf2ff7d

Fehlermeldung ausgeben, wenn Kunde/Lieferant mit "EU mit UStID" aber ohne UStID gespeichert werden soll

Fix für Bug 1406.

Unterschiede anzeigen:

locale/de/all
1214 1214
  'Please enter the login for the new user.' => 'Bitte geben Sie das Login f?r den neuen Benutzer ein.',
1215 1215
  'Please enter the name of the database that will be used as the template for the new database:' => 'Bitte geben Sie den Namen der Datenbank an, die als Vorlage für die neue Datenbank benutzt wird:',
1216 1216
  'Please enter the name of the dataset you want to restore the backup in.' => 'Bitte geben Sie den Namen der Datenbank ein, in der Sie die Sicherung wiederherstellen wollen.',
1217
  'Please enter the sales tax identification number.' => 'Bitte geben Sie die Umsatzsteueridentifikationsnummer an.',
1217 1218
  'Please enter the taxnumber in the administration menu user preferences' => 'Bitte bei den Einstellungen des aktuellen Benutzers im Administrationsmodul angeben.',
1218 1219
  'Please enter values'         => 'Bitte Werte eingeben',
1219 1220
  'Please insert object dimensions below.' => 'Bitte geben Sie die Abmessungen unten ein',
templates/webpages/ct/form_footer.html
1 1
[%- USE T8 %]
2 2
[% USE HTML %]
3

  
3
[% USE LxERP %]
4 4
<input name="id" type="hidden" id="cvid" value="[% HTML.escape(id) %]">
5 5
<input name="business_save" type="hidden" value="[% HTML.escape(selectbusiness) %]">
6 6
<input name="title_save" type="hidden" value="[% HTML.escape(title) %]">
......
9 9
<input type="hidden" name="db" id="db" value="[% HTML.escape(db) %]">
10 10

  
11 11
<br>
12
  <input class="submit" type="submit" name="action" accesskey="s" value="[% 'Save' | $T8 %]">
13
  <input class="submit" type="submit" name="action" accesskey="s" value="[% 'Save and Close' | $T8 %]">
12
  <input class="submit" type="submit" name="action" accesskey="s" value="[% 'Save' | $T8 %]" onclick="return check_taxzone_and_ustid()">
13
  <input class="submit" type="submit" name="action" accesskey="s" value="[% 'Save and Close' | $T8 %]" onclick="return check_taxzone_and_ustid()">
14 14
  [%- IF is_customer %]
15
  <input class="submit" type="submit" name="action" value="[% 'Save and AR Transaction' | $T8 %]">
15
  <input class="submit" type="submit" name="action" value="[% 'Save and AR Transaction' | $T8 %]" onclick="return check_taxzone_and_ustid()">
16 16
  [%- ELSE %]
17
  <input class="submit" type="submit" name="action" value="[% 'Save and AP Transaction' | $T8 %]">
17
  <input class="submit" type="submit" name="action" value="[% 'Save and AP Transaction' | $T8 %]" onclick="return check_taxzone_and_ustid()">
18 18
  [%- END %]
19
  <input class="submit" type="submit" name="action" value="[% 'Save and Invoice' | $T8 %]">
20
  <input class="submit" type="submit" name="action" value="[% 'Save and Order' | $T8 %]">
19
  <input class="submit" type="submit" name="action" value="[% 'Save and Invoice' | $T8 %]" onclick="return check_taxzone_and_ustid()">
20
  <input class="submit" type="submit" name="action" value="[% 'Save and Order' | $T8 %]" onclick="return check_taxzone_and_ustid()">
21 21
  [%- IF is_customer %]
22
  <input class="submit" type="submit" name="action" value="[% 'Save and Quotation' | $T8 %]">
22
  <input class="submit" type="submit" name="action" value="[% 'Save and Quotation' | $T8 %]" onclick="return check_taxzone_and_ustid()">
23 23
  [%- ELSE %]
24
  <input class="submit" type="submit" name="action" value="[% 'Save and RFQ' | $T8 %]">
24
  <input class="submit" type="submit" name="action" value="[% 'Save and RFQ' | $T8 %]" onclick="return check_taxzone_and_ustid()">
25 25
  [%- END %]
26 26
[%- IF id AND is_orphaned %]
27 27
  <input class="submit" type="submit" name="action" value="[% 'Delete' | $T8 %]">
......
46 46
      maintab.setselectedClassTarget("link"); //"link" or "linkparent"
47 47
      maintab.init();
48 48

  
49
      function check_taxzone_and_ustid() {
50
        if (($('#taxzone_id').attr('value') == '1') && ($('#ustid').attr('value') == '')) {
51
          alert('[% LxERP.t8('Please enter the sales tax identification number.') %]');
52
          return false;
53
        }
54
        return true;
55
      }
56

  
49 57
    -->
50 58
 </script>
51 59
</body>
templates/webpages/ct/form_header.html
1 1
[%- USE T8 %]
2 2
[% USE HTML %][% USE LxERP %]
3
[% USE L %]
4
[% L.javascript_tag('jquery') %]
3 5
<body>
4 6

  
5 7
 <div class="listtop">[% title %]</div>
......
184 186
      <td><input name="taxnumber" size="20" value="[% HTML.escape(taxnumber) %]"></td>
185 187
      <!-- Anm.: R&B 15.11.2008     VAT Reg No ist Ust-ID in GB, aber generell sollte es laut Richardson die sales tax id sein -->
186 188
      <th align="right">[% 'sales tax identification number' | $T8 %]</th>
187
      <td><input name="ustid" maxlength="14" size="20" value="[% HTML.escape(ustid) %]"></td>
189
      <td><input name="ustid" id="ustid" maxlength="14" size="20" value="[% HTML.escape(ustid) %]"></td>
188 190
      [%- IF is_customer %]
189 191
      <th align="right">[% 'our vendor number at customer' | $T8 %]</th>
190 192
      <td><input name="c_vendor_id" size="10" value="[% HTML.escape(c_vendor_id) %]"></td>
......
260 262
      <td>
261 263
       [%- INCLUDE generic/multibox.html
262 264
             name       = 'taxzone_id',
265
             id         = 'taxzone_id',
263 266
             DATA       = ALL_TAXZONES,
264 267
             show_empty = 0,
265 268
             id_key     = 'id',
......
657 660

  
658 661
  </div>
659 662

  
660
  <script type="text/javascript" src="js/jquery.js"></script>
661 663
  <script type="text/javascript">
662 664
   <!--
663 665
   function set_gender(gender) {

Auch abrufbar als: Unified diff