Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 6bec941d

Von Tamino Steinert vor etwa 1 Jahr hinzugefügt

  • ID 6bec941dad4e561a746e88f3f0ab327e5f512458
  • Vorgänger e2e5606d

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
2219 2219
  'Link to'                     => 'Verknüpfen mit',
2220 2220
  'Link to invoice'             => 'Beleglink',
2221 2221
  'Link to the following project:' => 'Mit dem folgenden Projekt verknüpfen:',
2222
  'Linked'                      => 'Verknüpft',
2223 2222
  'Linked Records'              => 'Verknüpfte Belege',
2224 2223
  'Linked email and attachment to ' => 'E-Mail und Anhang verknüpft mit ',
2225 2224
  'Linked invoices'             => 'Verknüpfte Rechnungen',
2225
  'Linked to'                   => 'Verknüpft mit',
2226 2226
  'Linked to...'                => 'Verlinkt zu...',
2227 2227
  'Linking to Record'           => 'Zum Beleg hinzufügen',
2228 2228
  'Liquidity projection'        => 'Liquiditätsübersicht',
locale/en/all
2218 2218
  'Link to'                     => '',
2219 2219
  'Link to invoice'             => '',
2220 2220
  'Link to the following project:' => '',
2221
  'Linked'                      => '',
2222 2221
  'Linked Records'              => '',
2223 2222
  'Linked email and attachment to ' => '',
2224 2223
  'Linked invoices'             => '',
2224
  'Linked to'                   => '',
2225 2225
  'Linked to...'                => '',
2226 2226
  'Linking to Record'           => '',
2227 2227
  '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