@extends('BaseSistemaWeb') @section('CSS') @stop @section('Contenido')

Correos de tienda en linea y sitios web

{{--
--}}
@if (Session::has('message'))
{{ Session::get('message') }}
@endif

Listado de plantillas de páginas de captura

@forelse($Plantillas as $Plantilla) @empty @endforelse
Nombre Modulo Imagen Acciones
{{ $Plantilla->nombre }} {{ $Plantilla->modulo }} {{-- HTML::linkRoute('SysWebPAterrizajePlantillaEditar', 'Editar', array($Plantilla->id), array('class' => 'btn btn-warning')) --}} {{ Form::open(array('method'=> 'post', 'route' => 'SysWebSWebCorreosElectronicosAdDelete', 'style' => 'display: inline-block;')) }} {{ Form::hidden('id', $Plantilla->id, array('id' => 'idP')) }} {{ Form::submit('Eliminar', array('class' => 'btn btn-danger')) }} {{ Form::close() }}
No existe ningúna plantilla agregada
{{ HTML::linkRoute('SysWebSwebCorreosElectronicosAdCrear', 'Agregar', array(), array('class' => 'btn btn-primary')) }}
@stop @section('JS') @stop @section('JSOr') $(".btnGestionPage").each(function(){ $(this).off("click").on("click", function(){ var el = $(this); var activo = (parseInt(el.attr("data-activo")))?0:1; $.post( "{{ URL::route('SysWebPlantilaCorreoGestionar') }}", { id: el.attr("data-id"), activo: activo}, function(data){ if(data.success){ new PNotify({ title: "Felicidades!", text: data.mensaje, type: "success" }); location.reload(); } else{ //if(data.mensaje != ''){ new PNotify({ title: "Error", text: data.mensaje, type: "error" }); } } }, "json" ); }); }); @stop