szollosil 1 rok pred
rodič
commit
c6799adcfc

+ 4 - 4
custom/rollerstorage/class/rollerhistory.class.php

@@ -126,10 +126,10 @@ class RollerHistory extends CommonObject
 		'model_pdf' => array('type'=>'varchar(255)', 'label'=>'Model pdf', 'enabled'=>'1', 'position'=>1010, 'notnull'=>-1, 'visible'=>0,),
 		'status' => array('type'=>'integer', 'label'=>'Status', 'enabled'=>'1', 'position'=>2000, 'notnull'=>0, 'visible'=>0, 'index'=>1, 'arrayofkeyval'=>array('0'=>'Piszkozat', '1'=>'Hitelesítve', '9'=>'Megszakítva'), 'validate'=>'1',),
 		'fk_inventory' => array('type'=>'integer', 'label'=>'Inventory RowId', 'enabled'=>'1', 'position'=>2, 'notnull'=>1, 'visible'=>0,),
-		'warehouse_from' => array('type'=>'integer:Entrepot:product/stock/class/entrepot.class.php', 'label'=>'Honnan', 'enabled'=>'1', 'position'=>3, 'notnull'=>1, 'visible'=>1, 'foreignkey'=>'entrepot.rowid',),
-		'warehouse_to' => array('type'=>'integer:Entrepot:product/stock/class/entrepot.class.php', 'label'=>'Hova', 'enabled'=>'1', 'position'=>4, 'notnull'=>1, 'visible'=>1, 'foreignkey'=>'entrepot.rowid',),
-		'status_from' => array('type'=>'integer:Statuses:custom/rollerstorage/class/statuses.class.php', 'label'=>'Státuszból', 'enabled'=>'1', 'position'=>5, 'notnull'=>1, 'visible'=>1,),
-		'status_to' => array('type'=>'integer:Statuses:custom/rollerstorage/class/statuses.class.php', 'label'=>'Státuszba', 'enabled'=>'1', 'position'=>6, 'notnull'=>1, 'visible'=>1,),
+		'warehouse_from' => array('type'=>'integer:Entrepot:product/stock/class/entrepot.class.php', 'label'=>'From', 'enabled'=>'1', 'position'=>3, 'notnull'=>1, 'visible'=>1, 'foreignkey'=>'entrepot.rowid',),
+		'warehouse_to' => array('type'=>'integer:Entrepot:product/stock/class/entrepot.class.php', 'label'=>'To', 'enabled'=>'1', 'position'=>4, 'notnull'=>1, 'visible'=>1, 'foreignkey'=>'entrepot.rowid',),
+		'status_from' => array('type'=>'integer:Statuses:custom/rollerstorage/class/statuses.class.php', 'label'=>'FromStatus', 'enabled'=>'1', 'position'=>5, 'notnull'=>1, 'visible'=>1,),
+		'status_to' => array('type'=>'integer:Statuses:custom/rollerstorage/class/statuses.class.php', 'label'=>'ToStatus', 'enabled'=>'1', 'position'=>6, 'notnull'=>1, 'visible'=>1,),
 	);
 	public $rowid;
 	public $entity;

+ 5 - 0
custom/rollerstorage/langs/en_US/rollerstorage.lang

@@ -106,3 +106,8 @@ ScrapHistory=ScrapHistory
 
 PackageOut=Issuing packages from the warehouse
 PackageBack=Return of packages
+
+From=From
+To=To
+FromStatus=From status
+ToStatus=To status

+ 113 - 0
custom/rollerstorage/langs/hu_HU/rollerstorage.lang

@@ -0,0 +1,113 @@
+# Copyright (C) 2023 László Szollősi
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
+#
+# Generic
+#
+
+# Module label 'ModuleStorageName'
+ModuleRollerstorageName = Storage
+# Module description 'ModuleStorageDesc'
+ModuleRollerstorageDesc = Storage description
+
+#
+# Admin page
+#
+RollerstorageSetup = Storage setup
+Settings = Settings
+RollerstorageSetupPage = Storage setup page
+ROLLERSTORAGE_MYPARAM1 = My param 1
+ROLLERSTORAGE_MYPARAM1Tooltip = My param 1 tooltip
+ROLLERSTORAGE_MYPARAM2=My param 2
+ROLLERSTORAGE_MYPARAM2Tooltip=My param 2 tooltip
+
+
+#
+# About page
+#
+About = About
+RollerstorageAbout = About Storage
+RollerstorageAboutPage = Storage about page
+
+#
+# Sample page
+#
+RollerstorageArea = Eszközök kezelése
+MyPageName = My page name
+
+#
+# Sample widget
+#
+MyWidget = My widget
+MyWidgetDescription = My widget description
+
+
+ListOfInventories=List of inventories
+Roller=Device
+Rollerhistory=The history of the device
+DeleteInventory=Delete
+
+active=Active
+faulty=Faulty
+scrap=Scrap
+
+
+# Státuszok
+invarehouse=In Warehouse
+inservice=In Service
+infaulty=Faulty
+intransportation=In motion
+inoutside=Borrowed
+
+#Státuszváltás
+inoutsidestatus=Borrowed (status change)
+inwarehousestatus=Active (státustatus changeszváltás)
+infaultystatus=Faulty (status change)
+inservicestatus=In service (status change)
+
+# Átszállítás
+toservicestatus=To service
+towarehousestatus=(transfer)
+ItemHistorys=The history of the device
+
+Company=Company
+englishlabel=English label
+devicetype=Device type
+assigneddevice=Assigned device
+uniqueidentifier=Unique identifier
+fromwhere=From where
+where=Where
+fromstatus=From status
+tostatus=To status
+
+scraphandler = Scrap management
+DeviceId=Device
+minutes=Minutes
+FilePath=Minutes PDF
+ScrapHistorys=Scrap history
+FileUpload=File upload
+FileName=Download
+nofile=Upload a minutesfile
+nominutes=Set the minutes checkbox to yes if you attached a minute
+nopdf=The attachement can only be a PDF
+ScrapHistory=ScrapHistory
+
+PackageOut=Issuing packages from the warehouse
+PackageBack=Return of packages
+
+From=Honnan
+To=Hova
+FromStatus=Státuszból
+ToStatus=Státuszba

+ 1 - 1
langs/en_US/main.lang

@@ -521,7 +521,7 @@ From=From
 FromDate=From
 FromLocation=From
 to=to
-To=to
+To=To
 ToDate=to
 ToLocation=to
 at=at