You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
956 B

@extends('layouts.app')
@section('title', 'Entry Invoice')
@section('content')
<h1 class="page-header">
<div class="pull-right">
{!! FormField::formButton(['route' => 'invoices.add'], trans('invoice.create'), [
'class' => 'btn btn-default',
'name' => 'create-invoice-draft',
'id' => 'invoice-draft-create-button'
] ) !!}
</div>
{{ trans('invoice.list') }}
</h1>
<?php use Facades\App\Services\InvoiceDrafts\InvoiceDraftCollection; ?>
@includeWhen(! InvoiceDraftCollection::isEmpty(), 'invoices.partials.invoice-draft-tabs')
@if ($draft)
@if (Request::get('action') == 'confirm')
@include('invoices.partials.draft-confirm')
@else
<div class="row">
<div class="col-md-9">@include('invoices.partials.draft-item-list')</div>
<div class="col-md-3">@include('invoices.partials.form-draft-detail')</div>
</div>
@endif
@endif
@endsection