2015-10-14 16:15:39 +02:00
|
|
|
@extends('header')
|
2015-03-16 22:45:25 +01:00
|
|
|
|
2016-09-23 16:00:47 +02:00
|
|
|
@section('content')
|
2015-03-16 22:45:25 +01:00
|
|
|
@parent
|
|
|
|
|
2015-10-14 16:15:39 +02:00
|
|
|
@include('accounts.nav', ['selected' => ACCOUNT_PRODUCTS])
|
|
|
|
|
2015-04-20 16:34:23 +02:00
|
|
|
{!! Former::open()->addClass('warn-on-exit') !!}
|
2017-12-21 09:28:44 +01:00
|
|
|
|
2019-01-30 11:45:46 +01:00
|
|
|
{{ Former::populateField('show_product_notes', intval($account->show_product_notes)) }}
|
2015-03-16 22:45:25 +01:00
|
|
|
{{ Former::populateField('fill_products', intval($account->fill_products)) }}
|
|
|
|
{{ Former::populateField('update_products', intval($account->update_products)) }}
|
2017-12-21 09:28:44 +01:00
|
|
|
{{ Former::populateField('convert_products', intval($account->convert_products)) }}
|
2015-03-16 22:45:25 +01:00
|
|
|
|
|
|
|
|
2015-04-20 16:34:23 +02:00
|
|
|
<div class="panel panel-default">
|
2015-04-22 21:21:04 +02:00
|
|
|
<div class="panel-heading">
|
|
|
|
<h3 class="panel-title">{!! trans('texts.product_settings') !!}</h3>
|
2016-09-23 16:00:47 +02:00
|
|
|
</div>
|
2015-04-20 16:34:23 +02:00
|
|
|
<div class="panel-body">
|
|
|
|
|
2019-01-30 11:45:46 +01:00
|
|
|
{!! Former::checkbox('show_product_notes')->text(trans('texts.show_product_notes_help'))->value(1) !!}
|
2017-01-09 16:01:51 +01:00
|
|
|
{!! Former::checkbox('fill_products')->text(trans('texts.fill_products_help'))->value(1) !!}
|
|
|
|
{!! Former::checkbox('update_products')->text(trans('texts.update_products_help'))->value(1) !!}
|
2015-04-20 16:34:23 +02:00
|
|
|
|
2018-01-16 11:46:53 +01:00
|
|
|
{!! Former::checkbox('convert_products')->text(trans('texts.convert_products_help'))
|
2018-04-12 19:40:44 +02:00
|
|
|
->help(trans('texts.convert_products_tip', [
|
|
|
|
'link' => link_to('/settings/invoice_settings#invoice_fields', trans('texts.custom_field'), ['target' => '_blank']),
|
|
|
|
'name' => trans('texts.exchange_rate')
|
|
|
|
]))->value(1) !!}
|
2017-12-21 09:28:44 +01:00
|
|
|
|
2015-10-21 13:11:08 +02:00
|
|
|
{!! Former::actions( Button::success(trans('texts.save'))->submit()->appendIcon(Icon::create('floppy-disk')) ) !!}
|
2015-04-20 16:34:23 +02:00
|
|
|
{!! Former::close() !!}
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-03-16 22:45:25 +01:00
|
|
|
|
2016-09-23 16:00:47 +02:00
|
|
|
@stop
|