File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11<?php
22/**
33 * This file is part of FacturaScripts
4- * Copyright (C) 2021-2024 Carlos Garcia Gomez <carlos@facturascripts.com>
4+ * Copyright (C) 2021-2026 Carlos Garcia Gomez <carlos@facturascripts.com>
55 *
66 * This program is free software: you can redistribute it and/or modify
77 * it under the terms of the GNU Lesser General Public License as
@@ -304,7 +304,7 @@ private static function codigoenv(SalesDocument $model): string
304304
305305 private static function codpais (SalesDocument $ model ): string
306306 {
307- $ options = [];
307+ $ options = [' <option value="">------</option> ' ];
308308 foreach (Paises::all () as $ pais ) {
309309 $ options [] = ($ pais ->codpais === $ model ->codpais ) ?
310310 '<option value=" ' . $ pais ->codpais . '" selected> ' . $ pais ->nombre . '</option> ' :
You can’t perform that action at this time.
0 commit comments