Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3d3b033b

Von Bernd Bleßmann vor 8 Monaten hinzugefügt

  • ID 3d3b033bfeedf75777cca162c3c90de0e37e02b4
  • Vorgänger 8bc6c3be
  • Nachfolger 8c5fc063

Filter und Anzeige interne Bemerkungen (vom Lieferanten) Bericht Kreditorenbuchungen

interne Bemerkungen lassen sich in Kreditorenbuchungen nicht Speichern - es
werden die Bemerkungen vom Lieferanten angezeigt. Deshalb wird hier auch
danach gesucht und gefiltert.

Aus Kundenprojekt. Inzwischen kann man int. Bemerkungen bei Kreditorenbuchungen
speichern. Anpassungen dafür kommen in den nächsten commits.

Unterschiede anzeigen:

bin/mozilla/ap.pl
1188 1188

  
1189 1189
  my @columns =
1190 1190
    qw(transdate id type invnumber ordnumber name netamount tax amount paid datepaid
1191
       due duedate transaction_description notes employee globalprojectnumber department
1191
       due duedate transaction_description notes intnotes employee globalprojectnumber department
1192 1192
       vendornumber country ustid taxzone payment_terms charts debit_chart direct_debit
1193 1193
       insertdate items);
1194 1194

  
1195 1195
  my @hidden_variables = map { "l_${_}" } @columns;
1196
  push @hidden_variables, "l_subtotal", qw(open closed vendor invnumber ordnumber transaction_description notes project_id
1196
  push @hidden_variables, "l_subtotal", qw(open closed vendor invnumber ordnumber transaction_description notes intnotes project_id
1197 1197
                                           transdatefrom transdateto duedatefrom duedateto datepaidfrom datepaidto
1198 1198
                                           parts_partnumber parts_description department_id taxzone_id payment_id
1199 1199
                                           fulltext insertdatefrom insertdateto);
......
1216 1216
    'duedate'                 => { 'text' => $locale->text('Due Date'), },
1217 1217
    'transaction_description' => { 'text' => $locale->text('Transaction description'), },
1218 1218
    'notes'                   => { 'text' => $locale->text('Notes'), },
1219
    'intnotes'                => { 'text' => $locale->text('Internal Notes'), },
1219 1220
    'employee'                => { 'text' => $locale->text('Employee'), },
1220 1221
    'globalprojectnumber'     => { 'text' => $locale->text('Document Project Number'), },
1221 1222
    'department'              => { 'text' => $locale->text('Department'), },
......
1231 1232
    'items'                   => { 'text' => $locale->text('Positions'), },
1232 1233
  );
1233 1234

  
1234
  foreach my $name (qw(id transdate duedate invnumber ordnumber name datepaid employee shipvia transaction_description direct_debit department taxzone insertdate)) {
1235
foreach my $name (qw(id transdate duedate invnumber ordnumber name datepaid employee shipvia transaction_description direct_debit department taxzone insertdate intnotes)) {
1235 1236
    my $sortdir                 = $form->{sort} eq $name ? 1 - $form->{sortdir} : $form->{sortdir};
1236 1237
    $column_defs{$name}->{link} = $href . "&sort=$name&sortdir=$sortdir";
1237 1238
  }
......
1261 1262
  push @options, $locale->text('Invoice Number')          . " : $form->{invnumber}"                      if ($form->{invnumber});
1262 1263
  push @options, $locale->text('Order Number')            . " : $form->{ordnumber}"                      if ($form->{ordnumber});
1263 1264
  push @options, $locale->text('Notes')                   . " : $form->{notes}"                          if ($form->{notes});
1265
  push @options, $locale->text('Internal Notes')          . " : $form->{intnotes}"                       if $form->{intnotes};
1264 1266
  push @options, $locale->text('Transaction description') . " : $form->{transaction_description}"        if ($form->{transaction_description});
1265 1267
  push @options, $locale->text('Part Description')        . " : $form->{parts_description}"              if $form->{parts_description};
1266 1268
  push @options, $locale->text('Part Number')             . " : $form->{parts_partnumber}"               if $form->{parts_partnumber};

Auch abrufbar als: Unified diff