1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-16 08:02:40 +01:00
invoiceninja/resources/views/accounts/products.blade.php

36 lines
1.3 KiB
PHP
Raw Normal View History

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
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">
{!! 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
&nbsp;
2018-01-16 11:46:53 +01:00
{!! 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) !!}
2017-12-21 09:28:44 +01:00
&nbsp;
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