Pop Updates

* Kategorie wurde hinzugefügt
* beim Bearbeiten von der Vue Table kommt man beim Speichern und Abbrechen nun wieder in die Pop Übersicht
This commit is contained in:
Daniel Spitzer
2025-12-14 19:59:35 +01:00
parent 955db848f1
commit 81fe058e3e
6 changed files with 79 additions and 11 deletions
+9
View File
@@ -3,6 +3,7 @@
class PopModel
{
public $name = null;
public $category=null;
public $network_id = null;
public $gps_lat = null;
public $gps_long = null;
@@ -30,6 +31,14 @@ class PopModel
5 => "von Techniker abgenommen (Altbestand)",
];
public static $categoryArray = [
1 => array('name' => 'Outdoor', 'comment' => 'Kasten/Schrank'),
2 => array('name' => 'Indoor', 'comment' => 'Keller Gebäude'),
3 => array('name' => 'Sender/Funk', 'comment' => 'Sendemast'),
4 => array('name' => 'Container', 'comment' => 'Garage, Container')
];
public static function find($data)
{