|
|
|
@ -1,6 +1,6 @@ |
|
|
|
@extends('layouts.app') |
|
|
|
|
|
|
|
@section('title', trans('payment.create_fee')) |
|
|
|
@section('title', __('payment.create_fee')) |
|
|
|
|
|
|
|
@section('content') |
|
|
|
|
|
|
|
@ -8,19 +8,19 @@ |
|
|
|
<li> |
|
|
|
{{ link_to_route( |
|
|
|
'projects.index', |
|
|
|
trans('project.projects'), |
|
|
|
__('project.projects'), |
|
|
|
['status_id' => request('status_id', $project->status_id)] |
|
|
|
) }}</li> |
|
|
|
<li>{{ $project->nameLink() }}</li> |
|
|
|
<li>{{ link_to_route('projects.payments', trans('payment.list'), [$project->id]) }}</li> |
|
|
|
<li class="active">{{ trans('payment.create_fee') }}</li> |
|
|
|
<li>{{ link_to_route('projects.payments', __('payment.list'), [$project->id]) }}</li> |
|
|
|
<li class="active">{{ __('payment.create_fee') }}</li> |
|
|
|
</ul> |
|
|
|
|
|
|
|
<div class="row"> |
|
|
|
<div class="col-md-6 col-md-offset-2"> |
|
|
|
{!! Form::open(['route' => ['projects.fees.store', $project->id]]) !!} |
|
|
|
<div class="panel panel-default"> |
|
|
|
<div class="panel-heading"><h3 class="panel-title">{{ trans('payment.create_fee') }}</h3></div> |
|
|
|
<div class="panel-heading"><h3 class="panel-title">{{ __('payment.create_fee') }}</h3></div> |
|
|
|
<div class="panel-body"> |
|
|
|
<div class="row"> |
|
|
|
<div class="col-md-4"> |
|
|
|
@ -29,16 +29,16 @@ |
|
|
|
$partners, |
|
|
|
[ |
|
|
|
'placeholder' => 'Pilih Pekerja', |
|
|
|
'label' => trans('payment.customer'), |
|
|
|
'label' => __('payment.customer'), |
|
|
|
'value' => Request::get('customer_id'), |
|
|
|
] |
|
|
|
) !!} |
|
|
|
</div> |
|
|
|
<div class="col-md-4"> |
|
|
|
{!! FormField::text('date', ['label' => trans('payment.date')]) !!} |
|
|
|
{!! FormField::text('date', ['label' => __('payment.date')]) !!} |
|
|
|
</div> |
|
|
|
<div class="col-md-4"> |
|
|
|
{!! FormField::price('amount', ['label' => trans('payment.amount'), 'currency' => Option::get('money_sign', 'Rp')]) !!} |
|
|
|
{!! FormField::price('amount', ['label' => __('payment.amount'), 'currency' => Option::get('money_sign', 'Rp')]) !!} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="row"> |
|
|
|
@ -46,18 +46,18 @@ |
|
|
|
{!! FormField::radios( |
|
|
|
'type_id', |
|
|
|
PaymentType::toArray(), |
|
|
|
['label' => trans('payment.type'), 'value' => 1, 'list_style' => 'unstyled'] |
|
|
|
['label' => __('payment.type'), 'value' => 1, 'list_style' => 'unstyled'] |
|
|
|
) !!} |
|
|
|
</div> |
|
|
|
<div class="col-md-8"> |
|
|
|
{!! FormField::textarea('description', ['label' => trans('payment.description'), 'rows' => 3]) !!} |
|
|
|
{!! FormField::textarea('description', ['label' => __('payment.description'), 'rows' => 3]) !!} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="panel-footer"> |
|
|
|
{!! Form::submit(trans('payment.create'), ['class' => 'btn btn-primary']) !!} |
|
|
|
{{ link_to_route('projects.payments', trans('app.cancel'), [$project->id], ['class' => 'btn btn-default']) }} |
|
|
|
{!! Form::submit(__('payment.create'), ['class' => 'btn btn-primary']) !!} |
|
|
|
{{ link_to_route('projects.payments', __('app.cancel'), [$project->id], ['class' => 'btn btn-default']) }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
{!! Form::close() !!} |
|
|
|
|