-
{{ trans('subscription.create') }}
+
{{ __('subscription.create') }}
- {!! FormField::text('name', ['label' => trans('subscription.name')]) !!}
+ {!! FormField::text('name', ['label' => __('subscription.name')]) !!}
- {!! FormField::price('price', ['label' => trans('subscription.price'), 'currency' => Option::get('money_sign', 'Rp')]) !!}
+ {!! FormField::price('price', ['label' => __('subscription.price'), 'currency' => Option::get('money_sign', 'Rp')]) !!}
- {!! FormField::text('start_date', ['label' => trans('subscription.start_date')]) !!}
+ {!! FormField::text('start_date', ['label' => __('subscription.start_date')]) !!}
- {!! FormField::text('due_date', ['label' => trans('subscription.due_date')]) !!}
+ {!! FormField::text('due_date', ['label' => __('subscription.due_date')]) !!}
- {!! FormField::select('project_id', $projects, ['label' => trans('subscription.project'), 'value' => Request::get('project_id')]) !!}
- {!! FormField::select('vendor_id', $vendors, ['label' => trans('subscription.vendor'), 'value' => Request::get('vendor_id')]) !!}
- {!! FormField::radios('type_id', SubscriptionType::toArray(), ['label' => trans('subscription.type'), 'value' => Request::get('type_id')]) !!}
- {!! FormField::textarea('notes', ['label' => trans('subscription.notes')]) !!}
+ {!! FormField::select('project_id', $projects, ['label' => __('subscription.project'), 'value' => Request::get('project_id')]) !!}
+ {!! FormField::select('vendor_id', $vendors, ['label' => __('subscription.vendor'), 'value' => Request::get('vendor_id')]) !!}
+ {!! FormField::radios('type_id', SubscriptionType::toArray(), ['label' => __('subscription.type'), 'value' => Request::get('type_id')]) !!}
+ {!! FormField::textarea('notes', ['label' => __('subscription.notes')]) !!}
{!! Form::close() !!}
diff --git a/resources/views/subscriptions/edit.blade.php b/resources/views/subscriptions/edit.blade.php
index ae04e9e..8baf4df 100755
--- a/resources/views/subscriptions/edit.blade.php
+++ b/resources/views/subscriptions/edit.blade.php
@@ -15,41 +15,41 @@
-
{!! FormField::radios('type_id', SubscriptionType::toArray(), ['label' => trans('subscription.type'), 'value' => Request::get('type_id')]) !!}
-
{!! FormField::radios('status_id', [trans('app.in_active'), trans('app.active')], ['label' => trans('app.status')]) !!}
+
{!! FormField::radios('type_id', SubscriptionType::toArray(), ['label' => __('subscription.type'), 'value' => Request::get('type_id')]) !!}
+
{!! FormField::radios('status_id', [__('app.in_active'), __('app.active')], ['label' => __('app.status')]) !!}
- {!! FormField::text('name', ['label' => trans('subscription.name')]) !!}
+ {!! FormField::text('name', ['label' => __('subscription.name')]) !!}
- {!! FormField::price('price', ['label' => trans('subscription.price'), 'currency' => Option::get('money_sign', 'Rp')]) !!}
+ {!! FormField::price('price', ['label' => __('subscription.price'), 'currency' => Option::get('money_sign', 'Rp')]) !!}
- {!! FormField::text('start_date', ['label' => trans('subscription.start_date')]) !!}
+ {!! FormField::text('start_date', ['label' => __('subscription.start_date')]) !!}
- {!! FormField::text('due_date', ['label' => trans('subscription.due_date')]) !!}
+ {!! FormField::text('due_date', ['label' => __('subscription.due_date')]) !!}
- {!! FormField::select('project_id', $projects, ['label' => trans('subscription.project')]) !!}
- {!! FormField::select('vendor_id', $vendors, ['label' => trans('subscription.vendor')]) !!}
- {!! FormField::textarea('notes', ['label' => trans('subscription.notes')]) !!}
+ {!! FormField::select('project_id', $projects, ['label' => __('subscription.project')]) !!}
+ {!! FormField::select('vendor_id', $vendors, ['label' => __('subscription.vendor')]) !!}
+ {!! FormField::textarea('notes', ['label' => __('subscription.notes')]) !!}