Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 5b981bb6

Von Kivitendo Admin vor fast 8 Jahren hinzugefügt

  • ID 5b981bb6a5c48dbec2297af61893c0add678669b
  • Vorgänger 26e66460
  • Nachfolger bfb31beb

Fibu Schnellsuche - Datum mit to_kivitendo und oneline_summary

Unterschiede anzeigen:

SL/Controller/TopQuickSearch/GLTransaction.pm
54 54
    map(
55 55
      {
56 56
        {
57
           transdate => DateTime->from_object(object => $_->transdate)->ymd(),
58
           label     => $_->abbreviation. ": " . $_->description . " " . $_->reference . " " . $::form->format_amount(\%::myconfig, $_->{'amount'},2). " (" . $_->transdate->to_lxoffice . ")" ,
59
           id        => 'gl.pl?action=edit&id=' . $_->id,
57
           transdate => $_->transdate->to_kivitendo,
58
           label     => $_->oneline_summary,
59
           value     => '',
60
           url       => 'gl.pl?action=edit&id=' . $_->id,
60 61
        }
61 62
      }
62 63
      @{$gls}
......
67 68
    map(
68 69
      {
69 70
        {
70
           transdate => DateTime->from_object(object => $_->transdate)->ymd(),
71
           label     => $_->abbreviation . ": " . $_->invnumber . "   " . $_->customer->name . " " . $::form->format_amount(\%::myconfig, $_->amount,2)  . " (" . $_->transdate->to_lxoffice . ")" ,
72
           id        => ($_->invoice ? "is" : "ar" ) . '.pl?action=edit&id=' . $_->id,
71
           transdate => $_->transdate->to_kivitendo,
72
           label     => $_->oneline_summary,
73
           value     => "",
74
           url       => ($_->invoice ? "is" : "ar" ) . '.pl?action=edit&id=' . $_->id,
73 75
        }
74 76
      }
75 77
      @{$ars}
......
80 82
    map(
81 83
      {
82 84
        {
83
           transdate => DateTime->from_object(object => $_->transdate)->ymd(),
84
           label     => $_->abbreviation . ": " . $_->invnumber . " " . $_->vendor->name . " " . $::form->format_amount(\%::myconfig, $_->amount,2)  . " (" . $_->transdate->to_lxoffice . ")" ,
85
           transdate => $_->transdate->to_kivitendo,
86
           label     => $_->oneline_summary,
85 87
           value     => "",
86 88
           id        => ($_->invoice ? "ir" : "ap" ) . '.pl?action=edit&id=' . $_->id,
87 89
        }

Auch abrufbar als: Unified diff