Revision a9d80e98
Von Tamino Steinert vor 5 Monaten hinzugefügt
| SL/Controller/Inventory.pm | ||
|---|---|---|
|
sub action_stock_in {
|
||
|
my ($self) = @_;
|
||
|
|
||
|
$::form->{title} = t8('Stock');
|
||
|
$::form->{title} = t8('Store');
|
||
|
|
||
|
# Sometimes we want to open stock_in with a part already selected, but only
|
||
|
# the parts_id is passed in the url (and not also warehouse, bin and unit).
|
||
| ... | ... | |
|
for my $bar ($::request->layout->get('actionbar')) {
|
||
|
$bar->add(
|
||
|
action => [
|
||
|
t8('Stock'),
|
||
|
t8('Store'),
|
||
|
submit => [ '#form', { action => 'Inventory/stock' } ],
|
||
|
checks => [ 'check_part_selection_before_stocking' ],
|
||
|
accesskey => 'enter',
|
||
| bin/mozilla/do.pl | ||
|---|---|---|
|
my %myconfig = %main::myconfig;
|
||
|
my $locale = $main::locale;
|
||
|
|
||
|
$form->{title} = $locale->text('Stock');
|
||
|
$form->{title} = $locale->text('Store');
|
||
|
|
||
|
my $part_info = IC->get_basic_part_info('id' => $form->{parts_id});
|
||
|
|
||
| locale/de/all | ||
|---|---|---|
|
'Step 2' => 'Schritt 2',
|
||
|
'Step 2 -- Watch status' => 'Schritt 2 -- Status beobachten',
|
||
|
'Steuersatz' => 'Steuersatz',
|
||
|
'Stock' => 'Einlagern',
|
||
|
'Stock Local/Shop' => 'Bestand Lokal/Online',
|
||
|
'Stock Qty for Date' => 'Lagerbestand am',
|
||
|
'Stock for part #1' => 'Bestand für Artikel #1',
|
||
| ... | ... | |
|
'Storage Type for generated/imported PDF Documents' => 'Speichertyp für erzeugte oder importierte Dokumente',
|
||
|
'Storage Type for images' => 'Speichertyp für Bilder',
|
||
|
'Storage Type for shopimages' => 'Speichertyp für Shopbilder',
|
||
|
'Store' => 'Einlagern',
|
||
|
'Storing PDF in storage backend failed: #1' => 'Speichern der PDF-Datei im Datei-Speicher fehlgeschlagen: #1',
|
||
|
'Storing PDF to webdav folder failed: #1' => 'Speichern der PDF im WebDAV Ordner fehlgeschlagen: #1',
|
||
|
'Storing the ZUGFeRD file in the storage backend failed: #1' => 'Das Speichern der ZUGFeRD Datei im Datei-Speicher ist fehlgeschlagen: #1',
|
||
| locale/en/all | ||
|---|---|---|
|
'Step 2' => '',
|
||
|
'Step 2 -- Watch status' => '',
|
||
|
'Steuersatz' => '',
|
||
|
'Stock' => '',
|
||
|
'Stock Local/Shop' => '',
|
||
|
'Stock Qty for Date' => '',
|
||
|
'Stock for part #1' => '',
|
||
| ... | ... | |
|
'Storage Type for generated/imported PDF Documents' => '',
|
||
|
'Storage Type for images' => '',
|
||
|
'Storage Type for shopimages' => '',
|
||
|
'Store' => '',
|
||
|
'Storing PDF in storage backend failed: #1' => '',
|
||
|
'Storing PDF to webdav folder failed: #1' => '',
|
||
|
'Storing the ZUGFeRD file in the storage backend failed: #1' => '',
|
||
| menus/user/00-erp.yaml | ||
|---|---|---|
|
order: 400
|
||
|
- parent: warehouse
|
||
|
id: warehouse_stock
|
||
|
name: Stock
|
||
|
name: Store
|
||
|
order: 100
|
||
|
access: warehouse_management
|
||
|
params:
|
||
| templates/design40_webpages/part/_inventory.html | ||
|---|---|---|
|
[%- IF AUTH.assert('warehouse_management', 1) -%]
|
||
|
<div class="wrapper">
|
||
|
[% 'Actions' | $T8 %]:
|
||
|
<span><a href="controller.pl?action=Inventory/stock_in&part_id=[% HTML.escape(SELF.part.id)%]&select_default_bin=1">[% 'Stock' | $T8 %]</a></span>
|
||
|
<span><a href="controller.pl?action=Inventory/stock_in&part_id=[% HTML.escape(SELF.part.id)%]&select_default_bin=1">[% 'Store' | $T8 %]</a></span>
|
||
|
<span><a href="wh.pl?trans_type=transfer&action=transfer_warehouse_selection&parts_id=[% HTML.escape(SELF.part.id) %]">[% 'Transfer' | $T8 %]</a></span>
|
||
|
<span><a href="wh.pl?action=transfer_warehouse_selection&trans_type=removal&parts_id=[% HTML.escape(SELF.part.id) %]">[% 'Removal' | $T8 %]</a></span>
|
||
|
</div>
|
||
| templates/webpages/part/_inventory.html | ||
|---|---|---|
|
[%- IF AUTH.assert('warehouse_management', 1) -%]
|
||
|
<p>
|
||
|
[% 'Actions' | $T8 %]:
|
||
|
<span><a href="controller.pl?action=Inventory/stock_in&part_id=[% HTML.escape(SELF.part.id)%]&select_default_bin=1">[% 'Stock' | $T8 %]</a></span>
|
||
|
<span><a href="controller.pl?action=Inventory/stock_in&part_id=[% HTML.escape(SELF.part.id)%]&select_default_bin=1">[% 'Store' | $T8 %]</a></span>
|
||
|
<span><a href="wh.pl?trans_type=transfer&action=transfer_warehouse_selection&parts_id=[% HTML.escape(SELF.part.id) %]">[% 'Transfer' | $T8 %]</a></span>
|
||
|
<span><a href="wh.pl?action=transfer_warehouse_selection&trans_type=removal&parts_id=[% HTML.escape(SELF.part.id) %]">[% 'Removal' | $T8 %]</a></span>
|
||
|
</p>
|
||
Auch abrufbar als: Unified diff
'Einlagern' mit 'Store' übersetzen