@extends('layouts.master')
@section('page-title')
{{ $account->room->name }} - {{ $account->contact->firstName }} {{ $account->contact->lastName }}
Add sale
@endsection
@section('content')
@include('common.errors')
{{ Form::open(array('url' => action('Guest\AccountController@storeSale', ['id' => $account->id]))) }}
{{ Form::customSelect('product', $products->pluck('displayName', 'id')) }}
{{ Form::customText('quantity') }}
{{ Form::customText('customUnitPrice') }}
{{ Form::customText('date', \App\Localization\CarbonExtensions::userLocalNow(), ['class' => 'form-control datetimepicker-control']) }}
{{ Form::customText('comments') }}
{{ Form::customSubmit('Add sale') }}
{{ Form::close() }}
@endsection