Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 411c4ff7

Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt

  • ID 411c4ff70c8daf77cfb2578a1708144612bc5584
  • Vorgänger 72e9ee11
  • Nachfolger 0c9bb179

Rechnungsbericht VK und EK nach Zahlungsbedingung filtern können

Unterschiede anzeigen:

bin/mozilla/ar.pl
978 978
  $form->{ALL_DEPARTMENTS}    = SL::DB::Manager::Department->get_all_sorted;
979 979
  $form->{ALL_BUSINESS_TYPES} = SL::DB::Manager::Business  ->get_all_sorted;
980 980
  $form->{ALL_TAXZONES}       = SL::DB::Manager::TaxZone   ->get_all_sorted;
981
  $form->{ALL_PAYMENT_TERMS}  = SL::DB::Manager::PaymentTerm->get_all_sorted;
981 982

  
982 983
  $form->{CT_CUSTOM_VARIABLES}                  = CVar->get_configs('module' => 'CT');
983 984
  ($form->{CT_CUSTOM_VARIABLES_FILTER_CODE},
......
1055 1056
  push @hidden_variables, "l_subtotal", qw(open closed customer invnumber ordnumber cusordnumber transaction_description notes project_id
1056 1057
                                           transdatefrom transdateto duedatefrom duedateto datepaidfrom datepaidto
1057 1058
                                           employee_id salesman_id business_id parts_partnumber parts_description department_id show_marked_as_closed show_not_mailed
1058
                                           shippingpoint shipvia taxzone_id);
1059
                                           shippingpoint shipvia taxzone_id payment_id);
1059 1060
  push @hidden_variables, map { "cvar_$_->{name}" } @ct_searchable_custom_variables;
1060 1061

  
1061 1062
  $href =  $params{want_binary_pdf} ? '' : build_std_url('action=ar_transactions', grep { $form->{$_} } @hidden_variables);
......
1154 1155
  if ($form->{transaction_description}) {
1155 1156
    push @options, $locale->text('Transaction description') . " : $form->{transaction_description}";
1156 1157
  }
1158
  if ($form->{payment_id}) {
1159
    my $payment_term = SL::DB::Manager::PaymentTerm->find_by( id => $form->{payment_id} );
1160
    push @options, $locale->text('Payment Term') . " : " . $payment_term->description;
1161
  }
1157 1162
  if ($form->{parts_partnumber}) {
1158 1163
    push @options, $locale->text('Part Number') . " : $form->{parts_partnumber}";
1159 1164
  }

Auch abrufbar als: Unified diff