@extends('layouts/default') {{-- Page title --}} @section('title') @parent @stop {{-- page level styles --}} @section('header_styles') @stop {{-- Page content --}} @section('content') Account Setting Accounts Account Setting Edit Edit Voucher Type @foreach ($vouchertype as $type) @if($settingrow->voucher_type_id==$type['id']) {{--*/ $sel = "selected" /*--}} @else {{--*/ $sel = "" /*--}} @endif {{ $type['name'] }} @endforeach Department Select Department... @foreach ($department as $dept) @if($settingrow->department_id==$dept['id']) {{--*/ $sel = "selected" /*--}} @else {{--*/ $sel = "" /*--}} @endif {{ $dept['name'] }} @endforeach Voucher Name Prefix Prefix Enable @if($settingrow->is_prefix==0) {{--*/ $chk1 = "checked"; $chk2 = ""; /*--}} @else {{--*/ $chk2 = "checked"; $chk1 = ""; /*--}} @endif No Yes Voucher Number Description Debit Account Select Debit Account... @foreach ($accounts as $acc) @if($settingrow->dr_account_master_id==$acc['id']) {{--*/ $sel = "selected" /*--}} @else {{--*/ $sel = "" /*--}} @endif {{ $acc['master_name'] }} @endforeach Credit Account Select Credit Account... @foreach ($accounts as $acc) @if($settingrow->cr_account_master_id==$acc['id']) {{--*/ $sel = "selected" /*--}} @else {{--*/ $sel = "" /*--}} @endif {{ $acc['master_name'] }} @endforeach Cash Voucher @if($settingrow->is_cash_voucher==0) {{--*/ $chk1 = "checked"; $chk2 = ""; /*--}} @else {{--*/ $chk2 = "checked"; $chk1 = ""; /*--}} @endif No Yes Cash Account(Default) Select Cash Account... @foreach ($accounts as $acc) @if($settingrow->default_account_id==$acc['id']) {{--*/ $sel = "selected" /*--}} @else {{--*/ $sel = "" /*--}} @endif {{ $acc['master_name'] }} @endforeach Voucher Status @if($settingrow->status==0) {{--*/ $act1 = "checked"; $act2 = ""; /*--}} @else {{--*/ $act2 = "checked"; $act1 = ""; /*--}} @endif Disable Enable Submit Cancel @include('layouts.right_sidebar') @stop {{-- page level scripts --}} @section('footer_scripts') @stop