@extends('admin._layouts.master') @section('content') {!! Form::model($company, ['url' => $action, 'method' => $method]) !!}
{{--INFO--}}

Bilgiler

{!! FormGroup::text('name', 'Firma Adı') !!}
{!! Form::text('slug', null, ['class' => 'form-control', 'placeholder' => 'Firma']) !!}
{!! FormGroup::text('web', 'Web adresi') !!} {!! FormGroup::text('label', 'White-label') !!} {!! FormGroup::text('payment_url', 'Ödeme linki') !!} {!! FormGroup::text('api_key', 'API key') !!} {!! FormGroup::textarea('phone', 'Telefon') !!} {!! FormGroup::textarea('address', 'Adres') !!}
id {{ $company->id }}
google_refresh_token {{ $company->google_refresh_token }}
google_id {{ $company->google_id }}
google_email {{ $company->google_email }}
google_name {{ $company->google_name }}
created_at {{ $company->created_at }}
updated_at {{ $company->updated_at }}
@transUc('admin.index.balance') {{ $company->balance }}
@if($subscription)
@transUc('generic.subscription_packages.' . $subscription->package) {{ $subscription->type === 'monthly' ? 'Aylık' : 'Yıllık' }} {{ $subscription->price }} @trySymbol @if($subscription->type !== 'monthly' && $subscription->ending) @transUc('generic.ending') : {{ $subscription->ending->format('d.m.Y') }} @endif
@endif

Fatura Geçmişi

@foreach($company->transactions as $transaction) @endforeach
@transUc('models.transaction.date') @transUc('models.transaction.change') @transUc('models.transaction.description')
{{ $transaction->paid_at->format(DATETIME_FORMAT) }} @trySymbol {{ $transaction->amount }} {!! nl2brwsp($transaction->description) !!}
{{--SETTINGS--}}

Ayarlar

@foreach($companySettings as $name => $setting) @if(array_get($setting, 'has_sub_settings'))
settingsGet($name) ? 'checked' : '' }} data-toggle="toggle" data-on="Aktif" data-off="Kapalı" data-size="mini" data-onstyle="success" data-offstyle="default"> @transUc("generic.company_settings.$name")
@foreach(array_get($setting, 'sub_settings') as $_name => $_setting)
settingsGet($_name) ? 'checked' : '' }} {{ $company->settingsGet($name) ? '' : 'disabled' }} data-toggle="toggle" data-on="Aktif" data-off="Kapalı" data-size="mini" data-onstyle="success" data-offstyle="default"> @transUc("generic.company_settings.$_name")
@endforeach
@else
settingsGet($name) ? 'checked' : '' }} data-toggle="toggle" data-on="Aktif" data-off="Kapalı" data-size="mini" data-onstyle="success" data-offstyle="default"> @transUc("generic.company_settings.$name")
@endif @endforeach
{{ label('restaurant') }} @if($orderSubscription) Aktif @if($orderSubscription->ending) Bitiş tarihi: {{ $orderSubscription->ending->format(DATE_FORMAT) }} ({{ $orderSubscription->remainingDays }} gün kaldı) @endif @else İnaktif @endif
{{ label('menu') }} @if($menuSubscription) Aktif @if($menuSubscription->ending) Bitiş tarihi: {{ $menuSubscription->ending->format(DATE_FORMAT) }} ({{ $menuSubscription->remainingDays }} gün kaldı) @endif @else İnaktif @endif
{{ label('web') }} @if($webSubscription) Aktif @if($webSubscription->ending) Bitiş tarihi: {{ $webSubscription->ending->format(DATE_FORMAT) }} ({{ $webSubscription->remainingDays }} gün kaldı) @endif @else İnaktif @endif
{{--FOOTER--}}
{!! Form::close() !!} @endsection @push('scripts') @endpush