File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 102102 = LÓGICA DE TODO EL SISTEMA, INCLUIDO EL LOGIN =
103103 ====================================================================*/
104104 $ negocios = $ manager ::table ('negocios ' )->where ('activo ' , true )->get ()->toArray ();
105- $ admin = $ manager ::table ('usuarios ' )->where ('cargo ' , 'a ' )->first ();
105+ $ admin = ( array ) $ manager ::table ('usuarios ' )->where ('cargo ' , 'a ' )->first ();
106106
107107 Scripts::push (<<<HTML
108108 <script>
Original file line number Diff line number Diff line change 2626 <?php
2727 $ checked = count ($ negocios ) === 1 ? 'checked ' : '' ;
2828 foreach ($ negocios as $ negocio ):
29+ $ negocio = (array ) $ negocio ;
30+
2931 $ url = $ negocio ['logo ' ] ? "resources/images/negocios/ {$ negocio ['logo ' ]}" : 'resources/images/logoNegocio.jpg ' ;
3032 $ tooltipNombreNegocio = generarTooltip ($ negocio ['nombre ' ]);
3133 echo <<<HTML
You can’t perform that action at this time.
0 commit comments