@extends('layouts.app') @section('content')
Emisor de tarjeta - {{isset($edit) ? 'Actualizar' : 'Nuevo'}}
@if(isset($edit)) {!! Form::model($edit,['url' => ['tarjeta/actualizar/'.$edit->franquicia_tarjeta_id ],'method'=>'PATCH','id'=>'frmClientes']) !!} @else {!! Form::open(['url' => 'tarjeta','method'=>'POST','role'=>'form','id'=>'frmContratos']) !!} @endif
{!! Form::mtext('franquicia_tarjeta_nombre',isset($edit) ? $edit->franquicia_tarjeta_nombre : null,'Nombre',$errors,6,true,true,[['onkeyup'=>'javascript:this.value=this.value.toUpperCase()']]) !!}
{!! Form::mtext('franquicia_tarjeta_caracteres_min',isset($edit) ? $edit->franquicia_tarjeta_caracteres_min : null,'Caracteres Mínimos',$errors,6,true,true,[['onkeyup'=>'javascript:this.value=this.value.toUpperCase()']]) !!}
{!! Form::mtext('franquicia_tarjeta_caracteres_max',isset($edit) ? $edit->franquicia_tarjeta_caracteres_max : null,'Caracteres Máximos',$errors,6,true,true,[['onkeyup'=>'javascript:this.value=this.value.toUpperCase()']]) !!}
{!! Form::mselect('franquicia_tarjeta_estado',$estados, isset($edit) ? ($edit->franquicia_tarjeta_estado == 0 ? 0 : 1) : 1,'Estado',$errors,6,false) !!}
{!! Form::close() !!}
@endsection @section('script') @endsection