@extends('admin.layouts.master') @section('title') System Settings @stop @section('content')
System Settings
{{ Form::open(array('class'=>'form-horizontal form-bordered form-row-stripped', 'files' => true)) }}
{{ Form::label('site_title') }}
{{ Form::text('site_title', Setting::get('site_title'), array('class' => 'form-control')) }}
{{ Form::label('slug') }}
{{ Form::text('slug', Setting::get('slug'), array('class' => 'form-control')) }}
{{ Form::label('site url') }}
{{ Form::text('site_url', Setting::get('site_url'), array('class' => 'form-control')) }}
{{ Form::label('contact_email') }}
{{ Form::email('contact_email', Setting::get('contact_email'), array('class' => 'form-control')) }}
{{ Form::label('tel') }}
{{ Form::text('tel', Setting::get('tel'), array('class' => 'form-control')) }}
{{ Form::label('address') }}
{{ Form::textarea('address', Setting::get('address'), array('class' => 'form-control', 'rows' => 2)) }}
{{ Form::label('welcome_message') }}
{{ Form::textarea('welcome_message', Setting::get('welcome_message'), array('class' => 'form-control', 'id' => 'summernote_1')) }}
{{ Form::label('terms_and_conditions') }}
{{ Form::textarea('terms_and_conditions', Setting::get('terms_and_conditions'), array('class' => 'form-control', 'id' => 'summernote_2')) }}
{{ Form::label('site_background') }}
@if(Setting::get('site_background') != null) @endif {{ Form::file('site_background') }}
{{ Form::label('site_logo') }}
@if(Setting::get('site_logo') != null) @endif {{ Form::file('site_logo') }}
{{ Form::label('invoice_logo', 'invoice logo (Grayscale)') }}
@if(Setting::get('invoice_logo') != null) @endif {{ Form::file('invoice_logo') }}
{{ Form::submit('Save', array('class' => 'btn btn-primary')) }}
{{ Form::close() }}
{{ Form::open(array('class'=>'form-horizontal form-bordered form-row-stripped')) }}
{{ Form::label('invoice_logo_file') }}
{{ Form::file('invoice_logo_file') }}
{{ Form::label('invoice_footer_note') }}
{{ Form::textarea('invoice_footer_note', Setting::get('invoice_footer_note'), array('class' => 'form-control')) }}
{{ Form::label('pre_invoice_terms_and_conditions') }}
{{ Form::textarea('pre_invoice_terms_and_conditions', Setting::get('pre_invoice_terms_and_conditions'), array('class' => 'form-control')) }}
{{ Form::submit('Save', array('class' => 'btn btn-primary')) }}
{{ Form::close() }}
@stop