Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4e0d0593

Von Tamino Steinert vor 12 Monaten hinzugefügt

  • ID 4e0d0593b874cbf48cd047dd9226ef8dd9e9432b
  • Vorgänger 148785d9
  • Nachfolger fd43cab5

EmailJournal: Zeige verknüpfte Belege im Bericht an

Unterschiede anzeigen:

SL/Controller/EmailJournal.pm
531 531
      sent_on         => t8('Sent on'),
532 532
      status          => t8('Status'),
533 533
      extended_status => t8('Extended status'),
534
      linked          => t8('Linked'),
534
      linked_to       => t8('Linked to'),
535 535
    },
536 536
  );
537 537
}
SL/DB/Manager/EmailJournal.pm
17 17
    columns => {
18 18
      SIMPLE => 'ALL',
19 19
      sender => 'sender.name',
20
      linked => "(
20
      linked_to => qq{(
21 21
        SELECT count(*) from record_links where
22 22
          ( record_links.from_table = 'email_journal'::varchar(50)
23 23
            AND record_links.from_id = email_journal.id
......
25 25
            record_links.to_table = 'email_journal'::varchar(50)
26 26
            AND record_links.to_id = email_journal.id
27 27
          )
28
      ) > 0"
28
      )}
29 29
    },
30 30
  );
31 31
}
locale/de/all
2226 2226
  'Link to'                     => 'Verknüpfen mit',
2227 2227
  'Link to invoice'             => 'Beleglink',
2228 2228
  'Link to the following project:' => 'Mit dem folgenden Projekt verknüpfen:',
2229
  'Linked'                      => 'Verknüpft',
2230 2229
  'Linked Records'              => 'Verknüpfte Belege',
2231 2230
  'Linked email and attachment to ' => 'E-Mail und Anhang verknüpft mit ',
2232 2231
  'Linked invoices'             => 'Verknüpfte Rechnungen',
2232
  'Linked to'                   => 'Verknüpft mit',
2233 2233
  'Linked to...'                => 'Verlinkt zu...',
2234 2234
  'Linking to Record'           => 'Zum Beleg hinzufügen',
2235 2235
  'Liquidity projection'        => 'Liquiditätsübersicht',
locale/en/all
2225 2225
  'Link to'                     => '',
2226 2226
  'Link to invoice'             => '',
2227 2227
  'Link to the following project:' => '',
2228
  'Linked'                      => '',
2229 2228
  'Linked Records'              => '',
2230 2229
  'Linked email and attachment to ' => '',
2231 2230
  'Linked invoices'             => '',
2231
  'Linked to'                   => '',
2232 2232
  'Linked to...'                => '',
2233 2233
  'Linking to Record'           => '',
2234 2234
  'Liquidity projection'        => '',
templates/design40_webpages/email_journal/list.html
25 25
      <th>[% L.sortable_table_header("sent_on") %]</th>
26 26
      <th>[% L.sortable_table_header("status") %]</th>
27 27
      <th>[% L.sortable_table_header("extended_status") %]</th>
28
      <th>[% L.sortable_table_header("linked") %]</th>
28
      <th>[% L.sortable_table_header("linked_to") %]</th>
29 29
    </tr>
30 30
  </thead>
31 31
  <tbody>
......
40 40
      <td>[% HTML.escape(entry.sent_on.to_lxoffice('precision' => 'second')) %]</td>
41 41
      <td> [% P.email_journal.entry_status(entry) %] </td>
42 42
      <td>[% HTML.escape(entry.extended_status) %]</td>
43
      <td>[% entry.linked ? LxERP.t8('Yes') : LxERP.t8('No') %]</td>
43
      <td>
44
        [% P.record.simple_grouped_record_list(entry.linked_records) %]
45
      </td>
44 46
    </tr>
45 47
    [% END %]
46 48
  </tbody>

Auch abrufbar als: Unified diff