mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-11 21:52:35 +01:00
27 lines
657 B
PHP
27 lines
657 B
PHP
|
@extends('accounts.nav')
|
||
|
|
||
|
@section('content')
|
||
|
@parent
|
||
|
|
||
|
{{ Former::open($url)->addClass('col-md-8 col-md-offset-2 warn-on-exit') }}
|
||
|
|
||
|
|
||
|
{{ Former::legend($title) }}
|
||
|
|
||
|
@if ($product)
|
||
|
{{ Former::populate($product) }}
|
||
|
{{ Former::populateField('cost', number_format($product->cost, 2)) }}
|
||
|
@endif
|
||
|
|
||
|
{{ Former::text('product_key') }}
|
||
|
{{ Former::textarea('notes') }}
|
||
|
{{ Former::text('cost') }}
|
||
|
|
||
|
{{ Former::actions(
|
||
|
Button::lg_success_submit(trans('texts.save'))->append_with_icon('floppy-disk'),
|
||
|
Button::lg_default_link('company/products', 'Cancel')->append_with_icon('remove-circle')
|
||
|
) }}
|
||
|
|
||
|
{{ Former::close() }}
|
||
|
|
||
|
@stop
|