@extends('layouts.adminLayout.admin_design') @section('content')

{{ $title }}

{{ $title }}

{{ Form::open(['url' => route('currency.update', $currency['id'] ), 'method'=>'PATCH', 'name' => 'currency', 'id' => 'currency']) }}
{{ Form::label(__('lbl.currency_name')) }} {{ Form::text('name', $currency['name'], ["class"=>"form-control mxlen_20","placeholder"=>"Currency Name","id"=>"name","name"=>"name"]) }} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{ Form::label(__('lbl.currency_code')) }} {{ Form::text('code', $currency['code'], ["class"=>"form-control mxlen_5","placeholder"=>"Currency Code","id"=>"code","name"=>"code"]) }} @if ($errors->has('currency_code')) {{ $errors->first('currency_code') }} @endif
{{ Form::label(__('lbl.currency_symbol')) }} {{ Form::select('symbol',[''=>__('lbl.currency_symbol'),'$'=>'$','£'=>'£','¥'=>'¥','€'=>'€','₹'=>'₹'],$currency['symbol'],["class"=>"form-control", "id"=>"symbol","code"=>"symbol"]) }} @if ($errors->has('currency_symbol')) {{ $errors->first('currency_symbol') }} @endif
{{ Form::button(' '.__('lbl.save'),["type"=>"submit","name"=>"submit","value"=>"submit","class"=>"clickbtncommon btn-sm btn btn-primary ".$add_edit_allowed.""]) }} {{ __('lbl.back') }}
{{ Form::close() }}
@endsection @section('pagescript') {!! Helper::pagejs(['js/backend/currency/add_edit.js']) !!} @stop