@extends('layout.padrao') @section('title', 'Edit - Spot Sale') @section('content') @if($errors->any())
@foreach($errors->all() as $error) {{ $error }}
@endforeach
@endif
{{ method_field('PUT') }} {{ csrf_field() }}
{!! Form::text('Sales Number', old('Sales Number', $lastSpotSaleNumber), ['class' => 'form-control disabled-field ' , 'placeholder' =>'Sales Number'])!!}
{!! Form::select('clients_id',[''=>'-- Select Required --']+$select['clients_fantasyName_id'], old('clients_id', $spotSale->clients_id), ['class' => 'form-control'], ['required' => 'required']) !!}
{!! Form::select('usuarios_id',[''=>'-- Select Required --']+$select['usuariosCSA_id'], old('usuarios_id', $spotSale->usuarios_id), ['class' => 'form-control']) !!}
Profit
Carrier {!! Form::select('carriers_id',[''=>'-- Select Required --']+$select['carriers_id'], old('carriers_id', $spotSale->carriers_id), ['class' => 'form-control']) !!}
Equipment Type {!! Form::select('container_types_id',[''=>'-- Select Required --']+$select['containerTypes_id'], old('container_types_id', $spotSale->container_types_id), ['class' => 'form-control']) !!}
Qty {!! Form::number('quantity' , old('quantity',$spotSale->quantity) , ['class'=>'form-control','placeholder'=>'Qty','onchange'=>'calcProfit()','min'=>'1','id'=>'qtyInput']) !!}
Buy {!! Form::text('purchase_price', old('purchase_price', 'USD '.str_replace('.',',',$spotSale->purchase_price)), ['class'=>'form-control','onchange'=>'calcProfit()','id'=>'buyInput','data-thousands'=>'.','data-decimal'=>',','data-prefix'=>'USD ']) !!}
Sale {!! Form::text('sale_price', old('sale_price', 'USD '.str_replace('.',',',$spotSale->sale_price)), ['class'=>'form-control','onchange'=>'calcProfit()','id'=>'saleInput','data-prefix'=>'USD ','data-thousands'=>'.','data-decimal'=>',']) !!}
Vincular Booking

Booking Information




- -





{!! Form::select('anexo_types_id[]',[''=>'-- Select Required --']+$select['anexo_types_id'], null, ['class' => 'form-control', 'style'=>'height:40px']) !!}
@include('bibliotecas.maskMoney') @include('spotSales.style') @include('spotSales.script') @endSection