Revision 97ac8565
Von Jan Büren vor fast 10 Jahren hinzugefügt
SL/IS.pm | ||
---|---|---|
375 | 375 |
|
376 | 376 |
CVar->get_non_editable_ic_cvars(form => $form, |
377 | 377 |
dbh => $dbh, |
378 |
row => $i,
|
|
378 |
row => $i, |
|
379 | 379 |
sub_module => 'invoice', |
380 | 380 |
may_converted_from => ['delivery_order_items', 'orderitems', 'invoice']); |
381 | 381 |
|
... | ... | |
761 | 761 |
|
762 | 762 |
CVar->get_non_editable_ic_cvars(form => $form, |
763 | 763 |
dbh => $dbh, |
764 |
row => $i,
|
|
764 |
row => $i, |
|
765 | 765 |
sub_module => 'invoice', |
766 | 766 |
may_converted_from => ['delivery_order_items', 'orderitems', 'invoice']); |
767 | 767 |
|
... | ... | |
1298 | 1298 |
sub transfer_out { |
1299 | 1299 |
$::lxdebug->enter_sub; |
1300 | 1300 |
|
1301 |
my ($self, $form, $dbh) = @_;
|
|
1301 |
my ($self, $form, $dbh) = @_; |
|
1302 | 1302 |
|
1303 | 1303 |
my (@errors, @transfers); |
1304 | 1304 |
|
... | ... | |
1327 | 1327 |
'src_bin_id' => $bin_id, |
1328 | 1328 |
'project_id' => $form->{"project_id_$i"}, |
1329 | 1329 |
'invoice_id' => $form->{"invoice_id_$i"}, |
1330 |
'comment' => $::locale->text("Default transfer invoice"), |
|
1330 | 1331 |
}; |
1331 | 1332 |
} |
1332 | 1333 |
|
... | ... | |
1384 | 1385 |
my $diff_qty = $max_qty - $part_unit_qty; |
1385 | 1386 |
if (!@errors && $diff_qty < 0) { |
1386 | 1387 |
push @errors, $::locale->text("For part \"#1\" there are missing #2 #3 in the default warehouse/bin \"#4/#5\"", |
1387 |
$part->description,
|
|
1388 |
$part->description, |
|
1388 | 1389 |
$::form->format_amount(\%::myconfig, -1*$diff_qty), |
1389 | 1390 |
$part->unit_obj->name, |
1390 | 1391 |
SL::DB::Warehouse->new(id => $wh_id)->load->description, |
Auch abrufbar als: Unified diff
Kommentar bei Lagerbewegung über Rechnung hinzugefügt
Damit hier der Bericht Lagerbewegung exakter wird, entsprechend auch
einen Kommentar für dieses Lagerverfahren.