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.
17 lines
981 B
17 lines
981 B
<?php use Facades\App\Services\InvoiceDrafts\InvoiceDraftCollection; ?>
|
|
<ul class="nav nav-tabs transaction-draft-tabs">
|
|
@foreach(InvoiceDraftCollection::content() as $key => $content)
|
|
<?php $active = ($draft->draftKey == $key) ? 'class=active' : '' ?>
|
|
<li {{ $active }} role="presentation">
|
|
<a href="{{ route('invoices.create', $key) }}">
|
|
{{ trans('invoice.invoice') }} - {{ $key }}
|
|
<form action="{{ route('cart.remove') }}" method="post" style="display:inline" onsubmit="return confirm('Yakin ingin menghapus Draft Transaksi ini?')">
|
|
{{ csrf_field() }}
|
|
{{ method_field('delete') }}
|
|
<input type="hidden" name="draft_key" value="{{ $key }}">
|
|
<input type="submit" value="x" style="margin: -2px -7px 0px 0px" class="btn-link btn-xs pull-right">
|
|
</form>
|
|
</a>
|
|
</li>
|
|
@endforeach
|
|
</ul><!-- Tab panes -->
|