@extends('header') @section('head') @parent @include('money_script') @stop @section('content') @parent {!! Former::open_for_files()->addClass('warn-on-exit') !!} {{ Former::populate($account) }} {{ Former::populateField('military_time', intval($account->military_time)) }} {{ Former::populateField('show_currency_code', intval($account->show_currency_code)) }} @include('accounts.nav', ['selected' => ACCOUNT_LOCALIZATION])

{!! trans('texts.localization') !!}

{!! Former::select('currency_id') ->addOption('','') ->fromQuery($currencies, 'name', 'id') ->onchange('updateCurrencyCodeRadio()') !!} {!! Former::radios('show_currency_code')->radios([ trans('texts.currency_symbol') . ': ' => array('name' => 'show_currency_code', 'value' => 0), trans('texts.currency_code') . ': ' => array('name' => 'show_currency_code', 'value' => 1), ])->inline() ->label(' ') ->addGroupClass('currrency_radio') !!}
{!! Former::select('language_id')->addOption('','') ->fromQuery($languages, 'name', 'id') ->help(trans('texts.translate_app', ['link' => link_to(TRANSIFEX_URL, 'Transifex.com', ['target' => '_blank'])])) !!}
 
{!! Former::select('timezone_id')->addOption('','') ->fromQuery($timezones, 'location', 'id') !!} {!! Former::select('date_format_id')->addOption('','') ->fromQuery($dateFormats) !!} {!! Former::select('datetime_format_id')->addOption('','') ->fromQuery($datetimeFormats) !!} {!! Former::checkbox('military_time')->text(trans('texts.enable'))->value(1) !!}
 
{!! Former::select('start_of_week')->addOption('','') ->fromQuery($weekdays) !!} {!! Former::select('financial_year_start') ->addOption('','') ->options($months) !!}
{!! Button::success(trans('texts.save'))->submit()->large()->appendIcon(Icon::create('floppy-disk')) !!}
{!! Former::close() !!} @stop @section('onReady') $('#currency_id').focus(); updateCurrencyCodeRadio(); @stop