diff --git a/Core/Lib/ProductType.php b/Core/Lib/ProductType.php index e5ce4f2acf..d08e4f5ad0 100644 --- a/Core/Lib/ProductType.php +++ b/Core/Lib/ProductType.php @@ -1,7 +1,7 @@ + * Copyright (C) 2023-2025 Carlos Garcia Gomez * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as @@ -27,6 +27,7 @@ */ class ProductType { + const LOCAL_BUSINESS_RENTAL = 'Arrendamiento local negocio'; const NORMAL = 'Normal'; const SECOND_HAND = 'Segunda mano'; const SERVICE = 'Servicio'; @@ -47,7 +48,8 @@ public static function all(): array self::NORMAL => 'normal', self::SECOND_HAND => 'second-hand', self::SERVICE => 'service', - self::TRAVEL => 'travel' + self::TRAVEL => 'travel', + self::LOCAL_BUSINESS_RENTAL => 'local-business-rental', ]; return array_merge($defaultTypes, self::$all); diff --git a/Core/Table/productos.xml b/Core/Table/productos.xml index 735a004984..9f99fd4579 100644 --- a/Core/Table/productos.xml +++ b/Core/Table/productos.xml @@ -97,7 +97,7 @@ tipo - character varying(20) + character varying(50) ventasinstock diff --git a/Core/View/Master/MenuTemplate.html.twig b/Core/View/Master/MenuTemplate.html.twig index 15d946b79d..77851497c8 100644 --- a/Core/View/Master/MenuTemplate.html.twig +++ b/Core/View/Master/MenuTemplate.html.twig @@ -1,7 +1,7 @@ {# /** * This file is part of FacturaScripts - * Copyright (C) 2017-2024 Carlos Garcia Gomez + * Copyright (C) 2017-2025 Carlos Garcia Gomez * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as @@ -43,8 +43,8 @@ {% include includeView['path'] %} {% endfor %} {% block css %} - - + + {% endblock %} {# Adds custom CSS assets #} @@ -59,11 +59,11 @@ {% endfor %} {% block javascripts %} - + - + {% endblock %} {# Adds custom JS assets #} diff --git a/Core/View/Master/MicroTemplate.html.twig b/Core/View/Master/MicroTemplate.html.twig index 8d7e183bd6..2d5b99ca6c 100644 --- a/Core/View/Master/MicroTemplate.html.twig +++ b/Core/View/Master/MicroTemplate.html.twig @@ -1,7 +1,7 @@ {# /** * This file is part of FacturaScripts - * Copyright (C) 2017-2023 Carlos Garcia Gomez + * Copyright (C) 2017-2025 Carlos Garcia Gomez * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as @@ -36,8 +36,8 @@ {% endblock %} {% block css %} - - + +