@extends('header') @section('head') @parent @stop @section('content') @if ($invoice)
@endif {{ Former::open($url)->method($method)->addClass('main_form')->rules(array( 'client' => 'required', 'email' => 'required', 'product_key' => 'max:20', )) }}{{ Former::hidden('data')->data_bind("value: ko.mapping.toJSON(model)") }}
{{ trans('texts.item') }} | {{ trans('texts.description') }} | {{ trans('texts.unit_cost') }} | {{ trans('texts.quantity') }} | {{ trans('texts.line_total') }} |
---|---|---|---|---|
{{ Former::text('product_key')->useDatalist(Product::getProductKeys($products), 'product_key')->onkeyup('onItemChange()') ->raw()->data_bind("value: product_key, valueUpdate: 'afterkeydown'")->addClass('datalist') }} | ||||
{{ Former::textarea('public_notes')->data_bind("value: wrapped_notes, valueUpdate: 'afterkeydown'") ->label(false)->placeholder(trans('texts.note_to_client'))->style('width: 520px; resize: none') }} {{ Former::textarea('terms')->data_bind("value: wrapped_terms, valueUpdate: 'afterkeydown'") ->label(false)->placeholder(trans('texts.invoice_terms'))->style('width: 520px; resize: none') ->addGroupClass('less-space-bottom') }} |
{{ trans('texts.subtotal') }} | |||
{{ trans('texts.paid_to_date') }} | ||||
{{ trans('texts.balance_due') }} |
{{ Former::close() }}