mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
36 lines
1.3 KiB
PHP
36 lines
1.3 KiB
PHP
@extends('header')
|
|
|
|
@section('content')
|
|
@parent
|
|
|
|
@include('accounts.nav', ['selected' => ACCOUNT_PRODUCTS])
|
|
|
|
{!! Former::open()->addClass('warn-on-exit') !!}
|
|
|
|
{{ Former::populateField('fill_products', intval($account->fill_products)) }}
|
|
{{ Former::populateField('update_products', intval($account->update_products)) }}
|
|
{{ Former::populateField('convert_products', intval($account->convert_products)) }}
|
|
|
|
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">{!! trans('texts.product_settings') !!}</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
|
|
{!! Former::checkbox('fill_products')->text(trans('texts.fill_products_help'))->value(1) !!}
|
|
{!! Former::checkbox('update_products')->text(trans('texts.update_products_help'))->value(1) !!}
|
|
|
|
{!! Former::checkbox('convert_products')->text(trans('texts.convert_products_help'))
|
|
->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) !!}
|
|
|
|
{!! Former::actions( Button::success(trans('texts.save'))->submit()->appendIcon(Icon::create('floppy-disk')) ) !!}
|
|
{!! Former::close() !!}
|
|
</div>
|
|
</div>
|
|
|
|
@stop
|