@extends('layouts.app') @section('content')
{{isset($edit) ? 'Actualizar' : 'Registrar'}} Detalle de Caja Chica
@if(isset($edit)) {!! Form::model($edit,['url' => ['caja/activa/actualizar/'.$edit->caja_chica_detalle_id],'method'=>'PATCH','enctype'=>'multipart/form-data','id'=>'frmClientes']) !!} @else {!! Form::open(['url' => 'caja/activa/guardar_egreso','method'=>'POST','enctype'=>'multipart/form-data','role'=>'form','id'=>'frmAsociacion']) !!} @endif @isset($id_caja) @endisset @if(isset($mensaje))
{{ $mensaje }}
@endif @if(isset($edit))
@if(isset($edit->caja_chica_detalle_soporte_file) and !empty($edit->caja_chica_detalle_soporte_file))

Ver Adjunto Actual @endif
@else
@endif
{!! Form::mselect('tipo',$tipos, isset($edit) ? $edit->caja_chica_detalle_tipo_gasto_id : null,'Tipo de Gasto',$errors,6,true,true) !!}
{!! Form::mtext('documento',isset($edit) ? $edit->caja_chica_detalle_documento : null,'Documento',$errors,6,true,true,[['onkeyup'=>'javascript:this.value=this.value.toUpperCase()']]) !!}

{!! Form::mtext('dinero_dado',isset($edit) ? $edit->caja_chica_detalle_dado_a : null,'Dinero Dado A',$errors,6,false,true,[['onkeyup'=>'javascript:this.value=this.value.toUpperCase()']]) !!}

@if(isset($edit)) @else

caja_chica_detalle_comprobante_interno ? 'checked' : '' : ''}} data-toggle="toggle" data-onstyle="primary" data-offstyle="danger">
@endif
{!! Form::mselect('orden_servicio',$ordenes_servicio, isset($edit) ? $edit->caja_chica_detalle_orden_producto_id : null,'Orden Servicio Funerario',$errors,6,true,true) !!}
{!! Form::close() !!}
@endsection @section('script') @if(isset($edit)) @else @endif @endsection