2015-10-14 16:15:39 +02:00
|
|
|
@extends('header')
|
|
|
|
|
2016-05-22 12:10:58 +02:00
|
|
|
@section('content')
|
2015-10-14 16:15:39 +02:00
|
|
|
@parent
|
|
|
|
|
|
|
|
{!! Former::open_for_files()->addClass('warn-on-exit') !!}
|
|
|
|
{{ Former::populate($account) }}
|
2015-10-22 20:48:12 +02:00
|
|
|
{{ Former::populateField('military_time', intval($account->military_time)) }}
|
2016-02-04 15:19:49 +01:00
|
|
|
{{ Former::populateField('show_currency_code', intval($account->show_currency_code)) }}
|
2015-10-14 16:15:39 +02:00
|
|
|
|
|
|
|
@include('accounts.nav', ['selected' => ACCOUNT_LOCALIZATION])
|
|
|
|
|
|
|
|
<div class="row">
|
2016-05-22 12:10:58 +02:00
|
|
|
|
2016-03-22 11:08:48 +01:00
|
|
|
<div class="col-md-12">
|
2015-10-14 16:15:39 +02:00
|
|
|
|
2016-03-22 11:08:48 +01:00
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h3 class="panel-title">{!! trans('texts.localization') !!}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body form-padding-right">
|
|
|
|
|
|
|
|
{!! Former::select('currency_id')->addOption('','')
|
2016-05-22 12:10:58 +02:00
|
|
|
->fromQuery($currencies, 'name', 'id') !!}
|
2016-03-22 11:08:48 +01:00
|
|
|
{!! Former::select('language_id')->addOption('','')
|
2016-05-22 12:10:58 +02:00
|
|
|
->fromQuery($languages, 'name', 'id') !!}
|
2016-03-22 11:08:48 +01:00
|
|
|
{!! Former::select('timezone_id')->addOption('','')
|
|
|
|
->fromQuery($timezones, 'location', 'id') !!}
|
|
|
|
{!! Former::select('date_format_id')->addOption('','')
|
2016-05-22 12:10:58 +02:00
|
|
|
->fromQuery($dateFormats) !!}
|
2016-03-22 11:08:48 +01:00
|
|
|
{!! Former::select('datetime_format_id')->addOption('','')
|
2016-05-22 12:10:58 +02:00
|
|
|
->fromQuery($datetimeFormats) !!}
|
2016-03-22 11:08:48 +01:00
|
|
|
{!! Former::checkbox('military_time')->text(trans('texts.enable')) !!}
|
|
|
|
{{-- Former::checkbox('show_currency_code')->text(trans('texts.enable')) --}}
|
|
|
|
|
|
|
|
</div>
|
2015-10-14 16:15:39 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<center>
|
|
|
|
{!! Button::success(trans('texts.save'))->submit()->large()->appendIcon(Icon::create('floppy-disk')) !!}
|
|
|
|
</center>
|
|
|
|
|
|
|
|
{!! Former::close() !!}
|
|
|
|
|
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('onReady')
|
|
|
|
$('#currency_id').focus();
|
2016-05-22 12:10:58 +02:00
|
|
|
@stop
|