Revision 090b94e9
Von Bernd Bleßmann vor etwa 9 Jahren hinzugefügt
SL/IS.pm | ||
---|---|---|
1376 | 1376 |
parts_id => $part->id, |
1377 | 1377 |
bin_id => $bin_id); |
1378 | 1378 |
if ($error == 1) { |
1379 |
push @errors, $::locale->text("Part \"#1\" has chargenumber or best before date set. So it cannot be transfered automaticaly.",
|
|
1379 |
push @errors, $::locale->text('Part "#1" has chargenumber or best before date set. So it cannot be transfered automaticaly.',
|
|
1380 | 1380 |
$part->description); |
1381 | 1381 |
} |
1382 | 1382 |
my $form_unit_obj = SL::DB::Unit->new(name => $unit)->load; |
1383 | 1383 |
my $part_unit_qty = $form_unit_obj->convert_to($qty, $part->unit_obj); |
1384 | 1384 |
my $diff_qty = $max_qty - $part_unit_qty; |
1385 | 1385 |
if (!@errors && $diff_qty < 0) { |
1386 |
push @errors, $::locale->text("For part \"#1\" there are missing #2 #3 in the default warehouse/bin \"#4/#5\"",
|
|
1386 |
push @errors, $::locale->text('For part "#1" there are missing #2 #3 in the default warehouse/bin "#4/#5".',
|
|
1387 | 1387 |
$part->description, |
1388 | 1388 |
$::form->format_amount(\%::myconfig, -1*$diff_qty), |
1389 | 1389 |
$part->unit_obj->name, |
... | ... | |
1391 | 1391 |
SL::DB::Bin->new( id => $bin_id)->load->description); |
1392 | 1392 |
} |
1393 | 1393 |
} else { |
1394 |
push @errors, $::locale->text("For part \"#1\" there is no default warehouse and bin defined.",
|
|
1394 |
push @errors, $::locale->text('For part "#1" there is no default warehouse and bin defined.',
|
|
1395 | 1395 |
$part->description); |
1396 | 1396 |
} |
1397 | 1397 |
|
... | ... | |
1402 | 1402 |
if ($wh_id && $bin_id) { |
1403 | 1403 |
@errors = (); |
1404 | 1404 |
} else { |
1405 |
push @errors, $::locale->text("For part \"#1\" there is no default warehouse and bin for ignoring onhand defined.",
|
|
1405 |
push @errors, $::locale->text('For part "#1" there is no default warehouse and bin for ignoring onhand defined.',
|
|
1406 | 1406 |
$part->description); |
1407 | 1407 |
} |
1408 | 1408 |
} |
Auch abrufbar als: Unified diff
Auslagern in VK-Rechnung: Übersetzungen mit Anführungszeichen richtig Quoten.