Revision b5a87c8f
Von Sven Schöling vor etwa 12 Jahren hinzugefügt
bin/mozilla/ic.pl | ||
---|---|---|
38 | 38 |
use SL::AM; |
39 | 39 |
use SL::CVar; |
40 | 40 |
use SL::IC; |
41 |
use SL::Helper::Flash; |
|
41 | 42 |
use SL::ReportGenerator; |
42 | 43 |
|
43 | 44 |
#use SL::PE; |
... | ... | |
1585 | 1586 |
IC->retrieve_buchungsgruppen(\%myconfig, $form); |
1586 | 1587 |
@{ $form->{BUCHUNGSGRUPPEN} } = grep { $_->{id} eq $form->{buchungsgruppen_id} || ($form->{id} && $form->{orphaned}) || !$form->{id} } @{ $form->{BUCHUNGSGRUPPEN} }; |
1587 | 1588 |
|
1589 |
if (!SL::TransNumber->new(number => $form->{partnumber}, type => $form->{item}, id => $form->{id})->is_unique) { |
|
1590 |
flash('info', $::locale->text('This partnumber is not unique. You should change it.')); |
|
1591 |
} |
|
1592 |
|
|
1588 | 1593 |
# use JavaScript Calendar or not (yes!) |
1589 | 1594 |
$form->{jsscript} = 1; |
1590 | 1595 |
|
Auch abrufbar als: Unified diff
Zusätzliche Debuginfo bei Waren mit doppelter Nummer.