Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision bc9c4ed3

Von Sven Schöling vor fast 16 Jahren hinzugefügt

  • ID bc9c4ed3ae02db0257cbff39ec1585aecdec53fd
  • Vorgänger ec2e4394
  • Nachfolger b60e2ebf

Lieferantennummer/Kundennummer in Kunden/Lieferantenberichten ersetzt durch schlicht "Nummer".
Kontext ist klar, und spart Bildschirmplatz.

Vorgeschlagen in Bug 1007.

Unterschiede anzeigen:

bin/mozilla/ct.pl
my %column_defs = (
'id' => { 'text' => $locale->text('ID'), },
"$form->{db}number" => { 'text' => $form->{IS_CUSTOMER} ? $locale->text('Customer Number') : $locale->text('Vendor Number'), },
"$form->{db}number" => { 'text' => $locale->text('Number'), },
'name' => { 'text' => $locale->text('Name'), },
'contact' => { 'text' => $locale->text('Contact'), },
'phone' => { 'text' => $locale->text('Phone'), },
......
# show history button
$form->{javascript} = qq|<script type=text/javascript src=js/show_history.js></script>|;
#/show hhistory button
CT->get_tuple(\%myconfig, \%$form);
CT->populate_drop_down_boxes(\%myconfig, \%$form);
......
unshift @{ $form->{SHIPTO} }, +{ shipto_id => '0', shiptoname => '' }, +{ shipto_id => '0', shiptoname => 'Alle' };
unshift @{ $form->{CONTACTS} }, +{ cp_id => '0', cp_name => $locale->text('New contact') };
$form->{title} = $form->{title_save}
$form->{title} = $form->{title_save}
|| $locale->text("$form->{title} " . ucfirst $form->{db}) . ($form->{title} eq "Edit" ? " $form->{name}" : '');
CT->query_titles_and_greetings(\%myconfig, \%$form);
......
# $form->save_history($form->dbconnect(\%myconfig));
# }
# # /saving the history
$form->isblank("name", $locale->text("Name missing!"));
if ($form->{"db"} eq "customer") {
CT->save_customer(\%myconfig, \%$form);
......
$form->{addition} = "DELETED";
$form->save_history($form->dbconnect(\%myconfig));
}
# /saving the history
# /saving the history
$form->redirect($locale->text($msg));
$msg = "Cannot delete $form->{db}";
......
$auth->assert('customer_vendor_edit');
CT->get_contact(\%myconfig, \%$form);
print $form->ajax_response_header(), join '__pjx__', map $form->{"cp_$_"},
print $form->ajax_response_header(), join '__pjx__', map $form->{"cp_$_"},
qw(name greeting title givenname phone1 phone2 email abteilung fax mobile1 mobile2 satphone satfax project privatphone privatemail birthday used);
$lxdebug->leave_sub();

Auch abrufbar als: Unified diff