mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-24 00:58:37 -04:00
fix stock_config error message (#116)
This commit is contained in:
1 parent
8faf1285da
commit
0831089790
5 files changed
+30
-10
No files matched your search
@@ -114,7 +114,7 @@ $lang["config_show_total_discount"] = "Show total discount";
|
||||
$lang["config_stock_location"] = "Stock location";
|
||||
$lang["config_stock_location_duplicate"] = "Please use an unique location name";
|
||||
$lang["config_stock_location_invalid_chars"] = "The stock location name can not contain '_'";
|
||||
$lang["config_stock_location_required"] = "Stock location number is a required field";
|
||||
$lang["config_stock_location_required"] = "Stock location is a required field";
|
||||
$lang["config_tax_included"] = "Tax Included";
|
||||
$lang["config_thousands_separator"] = "Thousands Separator";
|
||||
$lang["config_timezone"] = "Timezone";
|
||||
|
||||
@@ -109,17 +109,35 @@ $(document).ready(function()
|
||||
|
||||
rules:
|
||||
{
|
||||
stock_location:
|
||||
<?php
|
||||
$i = 0;
|
||||
|
||||
foreach($stock_locations as $location=>$location_data)
|
||||
{
|
||||
required: true,
|
||||
stock_location: true,
|
||||
valid_chars: true
|
||||
}
|
||||
?>
|
||||
<?php echo 'stock_location_' . ++$i ?>:
|
||||
{
|
||||
required: true,
|
||||
stock_location: true,
|
||||
valid_chars: true
|
||||
},
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
},
|
||||
|
||||
messages:
|
||||
{
|
||||
stock_location:"<?php echo $this->lang->line('config_stock_location_required'); ?>"
|
||||
<?php
|
||||
$i = 0;
|
||||
|
||||
foreach($stock_locations as $location=>$location_data)
|
||||
{
|
||||
?>
|
||||
<?php echo 'stock_location_' . ++$i ?>: "<?php echo $this->lang->line('config_stock_location_required'); ?>",
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -342,6 +342,7 @@
|
||||
dataType: 'json'
|
||||
});
|
||||
},
|
||||
|
||||
rules:
|
||||
{
|
||||
name:"required",
|
||||
@@ -388,6 +389,7 @@
|
||||
number:true
|
||||
}
|
||||
},
|
||||
|
||||
messages:
|
||||
{
|
||||
name:"<?php echo $this->lang->line('items_name_required'); ?>",
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<?php
|
||||
$i = 0;
|
||||
|
||||
foreach($stock_locations as $location => $location_data)
|
||||
foreach($stock_locations as $location=>$location_data)
|
||||
{
|
||||
$location_id = $location_data['location_id'];
|
||||
$location_name = $location_data['location_name'];
|
||||
?>
|
||||
<div class="form-group form-group-sm" style="<?php echo $location_data['deleted'] ? 'display:none;' : 'display:block;' ?>">
|
||||
<?php echo form_label($this->lang->line('config_stock_location') . ' ' . ++$i, 'stock_location_' . $i, array('class'=>'control-label col-xs-2 required')); ?>
|
||||
<?php echo form_label($this->lang->line('config_stock_location') . ' ' . ++$i, 'stock_location_' . $i, array('class'=>'control-label col-xs-2 required')); ?>
|
||||
<div class='col-xs-2'>
|
||||
<?php $form_data = array(
|
||||
'name'=>'stock_location_' . $location_id,
|
||||
|
||||
@@ -113,7 +113,7 @@ config_show_total_discount,Zeige Gesamtrabatt,Toon Totale Korting,Mostrar Descue
|
||||
config_stock_location,Lagerort,Stock locatie,Ubicación de Inventario,Stock location,Stock location,Stock location,Stock location,สถานที่เก็บ,Mağaza Yeri,Lokasi Stock
|
||||
config_stock_location_duplicate,Bitte verwenden Sie einen eindeutigen Lagerort,Vul een unieke naam in,Por favor use un nombre de inventario único,Please use an unique location name,Please use an unique location name,Please use an unique location name,Please use an unique location name,,Please use an unique location name,Please use an unique location name
|
||||
config_stock_location_invalid_chars,Der Lagerort kann keine Unterstriche enthalten,De bedrijfsnaam moet ingevuld worden,Nombre de la Ubicación de Inventario no debe contener '_',The stock location name can not contain '_',The stock location name can not contain '_',The stock location name can not contain '_',The stock location name can not contain '_',The stock location name can not contain '_',The stock location name can not contain '_',The stock location name can not contain '_'
|
||||
config_stock_location_required,Lagerort Nummer ist erforderlich,Naam van de stock locatie is een verplicht veld,Número de Ubicación de Inventario es requerido,Stock location number is a required field,Stock location number is a required field,Stock location number is a required field,Stock location number is a required field,จำเป็นต้องระบุสถานที่เก็บ,Mağaza Yeri numarası zorunlu alandır,Stock location number is a required field
|
||||
config_stock_location_required,Lagerort Nummer ist erforderlich,Naam van de stock locatie is een verplicht veld,Número de Ubicación de Inventario es requerido,Stock location is a required field,Stock location number is a required field,Stock location number is a required field,Stock location number is a required field,จำเป็นต้องระบุสถานที่เก็บ,Mağaza Yeri numarası zorunlu alandır,Stock location number is a required field
|
||||
config_tax_included,MWSt inbegriffen,VAT Inbegrepen,Impuestos incluidos,Tax Included,Tax Included,Tax Included,Tax Included,รวมภาษีแล้ว,Tax Included,Dikenakan Pajak
|
||||
config_thousands_separator,Tausendertrennzeichen,Thousands Separator,Separador de miles,Thousands Separator,Thousands Separator,Thousands Separator,Thousands Separator,ตัวคั่นหลักพัน,Thousands Separator,Pemisah Ribuan
|
||||
config_timezone,Zeitzone,Tijdzone,Zona Horaria,Timezone,Fuseau Horaire,時區,Часовой пояс,โซนเวลา,Saat Dilimi,Zona Waktu
|
||||
|
||||
|
Reference in new issue
Block a user