Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 67a18634

Von Thomas Heck vor etwa 12 Jahren hinzugefügt

  • ID 67a1863492f1f6247b58ae90231f660f5a4f99f2
  • Vorgänger bc9fe528
  • Nachfolger ad1c22fa

Fehler: 'Can't locate object method "id" via package "SL:B::Contact"' in Lieferschein(Verkauf) behoben.(2. Anlauf)

aus Commit 5896615180704b3dddba46f4064a47ff1f094c3c

Unterschiede anzeigen:

templates/webpages/ct/form_header.html
404 404
       <td>
405 405
        [% L.date_tag('FU_date', FU_date) %]
406 406
        [% 'for' | $T8 %]
407
        [% L.select_tag('FU_created_for_user', ALL_EMPLOYEES, default = (FU_created_for_user ? FU_created_for_user : USER.id), title='safe_name') %]
407
        [% L.select_tag('FU_created_for_user', ALL_EMPLOYEES, default = (FU_created_for_user ? FU_created_for_user : USER.id), title_key='safe_name') %]
408 408
       </td>
409 409
      </tr>
410 410

  
templates/webpages/do/form_header.html
192 192
          [% IF ( delivered ) %]
193 193
            [% L.hidden_tag('department_id', department_id) %]
194 194
          [% END %]
195
          [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title = 'description', with_empty = 1, style = 'width: 250px', disabled = delivered )%]
195
          [% L.select_tag('department_id', ALL_DEPARTMENTS, default = department_id, title_key = 'description', with_empty = 1, style = 'width: 250px', disabled = delivered )%]
196 196
       </td>
197 197
       </tr>
198 198
       [%- END %]
......
253 253
         [% IF row.id == employee_id %][%- IF row.name %][%- HTML.escape(row.name) %][%- ELSE %][% HTML.escape(row.login) %][%- END %][% END %]
254 254
         [%- END %]
255 255
         [%- ELSE %]
256
           [% L.select_tag('employee_id', ALL_EMPLOYEES, default = employee_id, title = 'safe_name') %]
256
           [% L.select_tag('employee_id', ALL_EMPLOYEES, default = employee_id, title_key = 'safe_name') %]
257 257
         [%- END %]
258 258
        </td>
259 259
       </tr>
......
273 273
         [% IF row.id == the_salesman_id %][%- IF row.name %][%- HTML.escape(row.name) %][%- ELSE %][% HTML.escape(row.login) %][%- END %][% END %]
274 274
         [%- END %]
275 275
         [%- ELSE %]
276
          [% L.select_tag('salesman_id', ALL_SALESMEN, default = (salesman_id ? salesman_id : employee_id), title = 'safe_name') %]
276
          [% L.select_tag('salesman_id', ALL_SALESMEN, default = (salesman_id ? salesman_id : employee_id), title_key = 'safe_name') %]
277 277
         [%- END %]
278 278
        </td>
279 279
       </tr>
templates/webpages/is/form_header.html
226 226
        <tr>
227 227
          <th align="right" nowrap>[% 'Project Number' | $T8 %]</th>
228 228
          <td>
229
            [%- L.select_tag('globalproject_id', ALL_PROJECTS, title='projectnumber', default = globalproject_id, with_empty = '1', onChange = "document.getElementById('update_button').click();") %]
229
            [%- L.select_tag('globalproject_id', ALL_PROJECTS, title_key = 'projectnumber', default = globalproject_id, with_empty = '1', onChange = "document.getElementById('update_button').click();") %]
230 230
          </td>
231 231
        </tr>
232 232
      </table>

Auch abrufbar als: Unified diff