transaction show page file updated..

This commit is contained in:
Cüneyt Şentürk
2021-06-24 13:52:49 +03:00
parent 0f6ef79384
commit 19a417791e
32 changed files with 2743 additions and 336 deletions

View File

@ -0,0 +1 @@
<script src="{{ asset( $scriptFile . '?v=' . $version) }}"></script>

View File

@ -0,0 +1,9 @@
@if ($attachment)
<div class="row align-items-center">
@foreach ($attachment as $file)
<div class="col-xs-12 col-sm-4 mb-4">
@include('partials.media.file')
</div>
@endforeach
</div>
@endif

View File

@ -0,0 +1,58 @@
@stack('content_header_start')
@if (!$hideHeader)
<x-transactions.show.header
type="{{ $type }}"
:transaction="$transaction"
hide-header-account="{{ $hideHeaderAccount }}"
text-header-account="{{ $textHeaderAccount }}"
class-header-account="{{ $classHeaderAccount }}"
hide-header-category="{{ $hideHeaderCategory }}"
text-header-category="{{ $textHeaderCategory }}"
class-header-category="{{ $classHeaderCategory }}"
hide-header-contact="{{ $hideHeaderContact }}"
text-header-contact="{{ $textHeaderContact }}"
class-header-contact="{{ $classHeaderContact }}"
hide-header-amount="{{ $hideHeaderAmount }}"
text-header-amount="{{ $textHeaderAmount }}"
class-header-amount="{{ $classHeaderAmount }}"
hide-header-paid-at="{{ $hideHeaderPaidAt }}"
text-header-paid-at="{{ $textHeaderPaidAt }}"
class-header-paid-at="{{ $classHeaderPaidAt }}"
/>
@endif
@stack('content_header_end')
@stack('transaction_start')
<x-transactions.show.transaction
type="{{ $type }}"
:transaction="$transaction"
transaction-template="{{ $transactionTemplate }}"
logo="{{ $logo }}"
/>
@stack('transaction_end')
@stack('attachment_start')
@if (!$hideAttachment)
<x-transactions.show.attachment
type="{{ $type }}"
:transaction="$transaction"
:attachment="$attachment"
/>
@endif
@stack('attachment_end')
@stack('row_footer_start')
@if (!$hideFooter)
<x-transactions.show.footer
type="{{ $type }}"
:transaction="$transaction"
:histories="$histories"
class-footer-histories="{{ $classFooterHistories }}"
hide-footer-histories="{{ $hideFooterHistories }}"
text-histories="{{ $textHistories }}"
/>
@endif
@stack('row_footer_end')
{{ Form::hidden('transaction_id', $transaction->id, ['id' => 'transaction_id']) }}
{{ Form::hidden($type . '_id', $transaction->id, ['id' => $type . '_id']) }}

View File

@ -0,0 +1,14 @@
<div class="row">
@stack('row_footer_histories_start')
@if (!$hideFooterHistories)
<div class="{{ $classFooterHistories }}">
<x-transactions.show.histories
type="{{ $type }}"
:transaction="$transaction"
:histories="$histories"
text-histories="{{ $textHistories }}"
/>
</div>
@endif
@stack('row_footer_histories_end')
</div>

View File

@ -0,0 +1,81 @@
<div class="row" style="font-size: inherit !important">
@stack('header_account_start')
@if (!$hideHeaderAccount)
<div class="{{ $classHeaderAccount }}">
{{ trans_choice('general.accounts', 1) }}
<br>
<strong>
<span class="float-left">
{{ $transaction->account->name }}
</span>
</strong>
<br><br>
</div>
@endif
@stack('header_account_end')
@stack('header_category_start')
@if (!$hideHeaderCategory)
<div class="{{ $classHeaderCategory }}">
{{ trans_choice('general.categories', 1) }}
<br>
<strong>
<span class="float-left">
{{ $transaction->category->name }}
</span>
</strong>
<br><br>
</div>
@endif
@stack('header_category_end')
@stack('header_contact_start')
@if (!$hideHeaderContact)
<div class="{{ $classHeaderContact }}">
{{ trans_choice($textHeaderContact, 1) }}
<br>
<strong>
<span class="float-left">
{{ $transaction->contact->name }}
</span>
</strong>
<br><br>
</div>
@endif
@stack('header_contact_end')
@stack('header_amount_start')
@if (!$hideHeaderAmount)
<div class="{{ $classHeaderAmount }}">
{{ trans($textHeaderAmount) }}
<br>
<strong>
<span class="float-left">
@money($transaction->amount, $transaction->currency_code, true)
</span>
</strong>
<br><br>
</div>
@endif
@stack('header_amount_end')
@stack('header_paid_at_start')
@if (!$hideHeaderPaidAt)
<div class="{{ $classHeaderPaidAt }}">
{{ trans($textHeaderPaidAt) }}
<br>
<strong>
<span class="float-left">
@date($transaction->paid_at)
</span>
</strong>
<br><br>
</div>
@endif
@stack('header_paid_at_end')
</div>

View File

@ -0,0 +1,47 @@
<div class="accordion">
<div class="card">
<div class="card-header" id="accordion-histories-header" data-toggle="collapse" data-target="#accordion-histories-body" aria-expanded="false" aria-controls="accordion-histories-body">
<h4 class="mb-0">{{ trans($textHistories) }}</h4>
</div>
<div id="accordion-histories-body" class="collapse hide" aria-labelledby="accordion-histories-header">
<div class="table-responsive">
<table class="table table-flush table-hover">
<thead class="thead-light">
@stack('row_footer_histories_head_tr_start')
<tr class="row table-head-line">
@stack('row_footer_histories_head_start')
<th class="col-xs-4 col-sm-3">
{{ trans('general.date') }}
</th>
<th class="col-xs-8 col-sm-9 text-left long-texts">
{{ trans('general.description') }}
</th>
@stack('row_footer_histories_head_end')
</tr>
@stack('row_footer_histories_head_tr_end')
</thead>
<tbody>
@stack('row_footer_histories_body_tr_start')
@foreach($histories as $history)
<tr class="row align-items-center border-top-1 tr-py">
@stack('row_footer_histories_body_td_start')
<td class="col-xs-4 col-sm-3">
@date($history->created_at)
</td>
<td class="col-xs-4 col-sm-6 text-left long-texts">
{{ $history->description }}
</td>
@stack('row_footer_histories_body_td_end')
</tr>
@endforeach
@stack('row_footer_histories_body_tr_end')
</tbody>
</table>
</div>
</div>
</div>
</div>

View File

@ -0,0 +1,109 @@
@stack('button_group_start')
@if (!$hideButtonMoreActions)
<div class="dropup header-drop-top">
<button type="button" class="btn btn-white btn-sm" data-toggle="dropdown" aria-expanded="false">
<i class="fa fa-chevron-down"></i>&nbsp; {{ trans('general.more_actions') }}
</button>
<div class="dropdown-menu" role="menu">
@stack('button_dropdown_start')
@stack('edit_button_start')
@if (!$hideButtonEdit)
@can($permissionUpdate)
<a class="dropdown-item" href="{{ route($routeButtonEdit, $transaction->id) }}">
{{ trans('general.edit') }}
</a>
@endcan
@endif
@stack('edit_button_end')
@stack('duplicate_button_start')
@if (!$hideButtonDuplicate)
@can($permissionCreate)
<a class="dropdown-item" href="{{ route($routeButtonDuplicate, $transaction->id) }}">
{{ trans('general.duplicate') }}
</a>
@endcan
@endif
@stack('duplicate_button_end')
@stack('button_dropdown_divider_1_start')
@if (!$hideButtonGroupDivider1)
<div class="dropdown-divider"></div>
@endif
@stack('button_dropdown_divider_1_end')
@if (!$hideButtonPrint)
@stack('button_print_start')
<a class="dropdown-item" href="{{ route($routeButtonPrint, $transaction->id) }}" target="_blank">
{{ trans('general.print') }}
</a>
@stack('button_print_end')
@endif
@stack('share_button_start')
@if (!$hideButtonShare)
<a class="dropdown-item" href="{{ $signedUrl }}" target="_blank">
{{ trans('general.share') }}
</a>
@endif
@stack('share_button_end')
@stack('edit_button_start')
@if (!$hideButtonEmail)
@if($transaction->contact->email)
<a class="dropdown-item" href="{{ route($routeButtonEmail, $transaction->id) }}">
{{ trans('invoices.send_mail') }}
</a>
@else
<el-tooltip content="{{ trans('invoices.messages.email_required') }}" placement="right">
<button type="button" class="dropdown-item btn-tooltip">
<span class="text-disabled">{{ trans('invoices.send_mail') }}</span>
</button>
</el-tooltip>
@endif
@endif
@stack('edit_button_end')
@stack('button_pdf_start')
@if (!$hideButtonPdf)
<a class="dropdown-item" href="{{ route($routeButtonPdf, $transaction->id) }}">
{{ trans('general.download_pdf') }}
</a>
@endif
@stack('button_pdf_end')
@stack('button_dropdown_divider_3_start')
@if (!$hideButtonGroupDivider3)
<div class="dropdown-divider"></div>
@endif
@stack('button_dropdown_divider_3_end')
@stack('delete_button_start')
@if (!$hideButtonDelete)
@can($permissionDelete)
@if ($checkButtonReconciled)
@if (!$transaction->reconciled)
{!! Form::deleteLink($transaction, $routeButtonDelete, $textDeleteModal, 'transaction_number') !!}
@endif
@else
{!! Form::deleteLink($transaction, $routeButtonDelete, $textDeleteModal, 'transaction_number') !!}
@endif
@endcan
@endif
@stack('delete_button_end')
@stack('button_dropdown_end')
</div>
</div>
@endif
@stack('button_group_end')
@stack('add_new_button_start')
@if (!$hideButtonAddNew)
@can($permissionCreate)
<a href="{{ route($routeButtonAddNew) }}" class="btn btn-white btn-sm">
{{ trans('general.add_new') }}
</a>
@endcan
@endif
@stack('add_new_button_end')

View File

@ -0,0 +1,22 @@
<div class="card show-card" style="padding: 0; padding-left: 15px; padding-right: 15px; border-radius: 0; box-shadow: 0 4px 16px rgba(0,0,0,.2);">
<div class="card-body show-card-body">
@if ($transactionTemplate)
@switch($transactionTemplate)
@case('classic')
@break
@case('modern')
@break
@default
<x-transactions.template.ddefault
type="{{ $type }}"
:transaction="$transaction"
:payment_methods="$payment_methods"
transaction-template="{{ $transactionTemplate }}"
logo="{{ $logo }}"
/>
@endswitch
@else
@include($transactionTemplate)
@endif
</div>
</div>

View File

@ -0,0 +1,247 @@
<div class="row border-bottom-1 pt-6 pb-6">
<div class="col-16">
<div class="text company">
@stack('company_logo_start')
@if (!$hideCompanyLogo)
@if (!empty($document->contact->logo) && !empty($document->contact->logo->id))
<img src="{{ Storage::url($document->contact->logo->id) }}" height="128" width="128" alt="{{ $document->contact_name }}"/>
@else
<img src="{{ $logo }}" alt="{{ setting('company.name') }}"/>
@endif
@endif
@stack('company_logo_end')
</div>
</div>
<div class="col-42">
<div class="text company lead">
@stack('company_details_start')
@if (!$hideCompanyDetails)
@if (!$hideCompanyName)
<h2 class="mb-1">
{{ setting('company.name') }}
</h2>
@endif
@if (!$hideCompanyAddress)
<p>{!! nl2br(setting('company.address')) !!}</p>
@endif
@if (!$hideCompanyTaxNumber)
<p>
@if (setting('company.tax_number'))
{{ trans('general.tax_number') }}: {{ setting('company.tax_number') }}
@endif
</p>
@endif
@if (!$hideCompanyPhone)
<p>
@if (setting('company.phone'))
{{ setting('company.phone') }}
@endif
</p>
@endif
@if (!$hideCompanyEmail)
<p>{{ setting('company.email') }}</p>
@endif
@endif
@stack('company_details_end')
</div>
</div>
</div>
<div class="row border-bottom-1 w-100 mt-6 pb-6 d-flex flex-column">
<h2 class="text-center text-uppercase mb-6">{{ trans('invoices.revenue_made') }}</h2>
<div class="d-flex">
<div class="d-flex flex-column col-lg-7 pl-0">
<div class="d-flex mt-3">
<div class="text company show-company col-lg-4 pl-0">
<p>
<strong>{{ trans('general.date') }}:</strong>
</p>
<p>
<strong>{{ trans_choice('general.accounts', 1) }}:</strong>
</p>
<p>
{{ trans_choice('general.categories', 1) }}:</strong>
</p>
<p>
<strong>{{ trans_choice('general.payment_methods', 1) }}:</strong>
</p>
<p>
<strong>{{ trans('general.reference') }}:</strong>
</p>
<p>
<strong>{{ trans('general.description') }}:</strong>
</p>
</div>
<div class="text company col-lg-8 pr-0 show-company show-company-value">
<p class="border-bottom-1">
@date($transaction->paid_at)
</p>
<p class="border-bottom-1">
{{ $transaction->account->name }}
</p>
<p class="border-bottom-1">
{{ $transaction->category->name }}
</p>
<p class="border-bottom-1">
{{ $payment_methods[$transaction->payment_method] }}
</p>
<p class="border-bottom-1">
{{ $transaction->reference }}
</p>
<p>
{!! nl2br($transaction->description) !!}
</p>
</div>
</div>
<div class="text company mt-5">
<h2>{{ trans('general.paid_by') }}</h2>
@if ($hideContactInfo)
<strong>{{ trans($textContactInfo) }}</strong><br>
@endif
@stack('name_input_start')
@if (!$hideContactName)
<strong>{{ $transaction->contact->name }}</strong><br>
@endif
@stack('name_input_end')
@stack('address_input_start')
@if (!$hideContactAddress)
<p>{!! nl2br($transaction->contact->address) !!}</p>
@endif
@stack('address_input_end')
@stack('tax_number_input_start')
@if (!$hideContactTaxNumber)
<p>
@if ($transaction->contact->tax_number)
{{ trans('general.tax_number') }}: {{ $transaction->contact->tax_number }}
@endif
</p>
@endif
@stack('tax_number_input_end')
@stack('phone_input_start')
@if (!$hideContactPhone)
<p>
@if ($transaction->contact->phone)
{{ $transaction->contact->phone }}
@endif
</p>
@endif
@stack('phone_input_end')
@stack('email_start')
@if (!$hideContactEmail)
<p>
{{ $transaction->contact->email }}
</p>
@endif
@stack('email_input_end')
</div>
</div>
<div class="d-flex flex-column align-items-end col-lg-5 pr-0">
<div class="card bg-success show-card-bg-success border-0 mt-4 mb-0">
<div class="card-body">
<div class="row">
<div class="col card-amount-badge text-center mt-3">
<h5 class="text-muted mb-0 text-white">{{ trans('general.amount') }}</h5>
<span class="h2 font-weight-bold mb-0 text-white">
@money($transaction->amount, $transaction->currency_code, true)
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
@if ($transaction->document)
<div class="row mt-3 mb-3">
<div class="col-100">
<div class="text">
<h3>{{ trans('invoices.related_revenue') }}</h3>
<table class="table table-flush table-hover mt-3">
<thead class="thead-light">
<tr class="border-bottom-1">
<th class="item text-left">
<span>{{ trans_choice('general.numbers', 1) }}</span>
</th>
<th class="quantity">
{{ trans_choice('general.customers', 1) }}
</th>
<th class="price">
{{ trans('invoices.invoice_date') }}
</th>
<th class="price">
{{ trans('invoices.invoice_date') }}
</th>
<th class="total">
{{ trans('general.amount') }}
</th>
</tr>
</thead>
<tbody>
<tr class="border-bottom-1">
<td class="item">
<a href="{{ route('invoices.show' , $transaction->document->id) }}">
{{ $transaction->document->document_number }}
</a>
</td>
<td class="quantity">
{{ $transaction->document->contact_name }}
</td>
<td class="price">
@date($transaction->document->due_at)
</td>
<td class="price">
@money($transaction->document->amount, $transaction->document->currency_code, true)
</td>
<td class="total">
@money($transaction->amount, $transaction->currency_code, true)
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
@else
<div class="row mt-3 mb-3">
<p>
{{ trans('invoices.overdue_revenue') }}: <strong style="font-weight: bold;">@money($transaction->amount, $transaction->currency_code, true)</strong>
</p>
</div>
@endif

View File

@ -1,180 +1,17 @@
@extends('layouts.admin')
@section('title', trans('bills.payment_made') )
@section('title', trans('invoices.payment_made'))
@section('new_button')
@can('create-sales-revenues')
<a href="{{ route('revenues.create') }}" class="btn btn-white btn-sm">{{ trans('general.add_new') }}</a>
@endcan
<x-transactions.show.top-buttons type="expense" :transaction="$payment" hide-button-share />
@endsection
@section('content')
<div id="app">
<div class="row mt-3 w-100 mb-3" style="font-size: unset; padding: 0px 15px;">
<div class="d-flex w-100" style="padding: 1.5rem;">
<div class="row w-100 justify-content-between" style="font-size: unset;">
<div class="show-head">
{{ trans_choice('general.accounts', 1) }}
<strong><span class="float-left">
Account name
</span></strong>
</div>
<div class="show-head">
{{ trans_choice('general.categories', 1) }}
<strong><span class="float-left">
Category name
</span></strong>
</div>
<div class="show-head">
{{ trans_choice('general.vendors', 1) }}
<strong><span class="float-left">
Vendor name</span></strong>
</div>
<div class="show-head">
{{ trans('general.amount') }}
<strong><span class="float-left">
{{ $payment->amount }} </span></strong>
</div>
<div class="show-head">
{{ trans('general.date') }}
<strong><span class="float-left">
{{ Date::parse($payment->paid_at)->toDateString() }} </span></strong>
</div>
</div>
</div>
</div>
<div class="card show-card">
<div class="card-body show-card-body">
<div class="row border-bottom-1 pt-6 pb-6">
<div class="col-16">
<div class="text company"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAAA7EAAAOxAGVKw4bAAANp0lEQVR4nO2dfXAd1XXAf+dJtoUkjEwMZsAYWyME6cj5IP5A0frtUNuF2DID04lpQgJuJ2NQkk5G23/qdEhJ3Ib+tZo2MzFRSj7aSantTDHBdmgqwuzzKk6AIU3RJI7ikT/iCDIosQBhG1vS6R9vpZH0vvX27b73tL8Z/2Hd3XvPe+e8u3fPPfccocowTKseaFbVVhFpUdU1InIjcAOwHNUmRRpFWDzzPlUuCzqGyCgwAryhqsMickpVT4rIIDDkOvaF4D9V6ZCwBSgGw7RiCs2AIdAOrPMU31iK8VR1zDOEVxSOA64kjWKyFOMFQcUZgGFajaq6RWA7IluA1SGLdBrVPkSOAH2uY4+FLE9BVIQBGHGrXmEbwgPAPQIl+YUXi8IY8DzKfoGjbqL8HxdlawCGaQG0AV3ATmB5qAIVzghwANgHDLiOHbI46Sk7AzBMKwZ0At1AHIiFK1HRTAIJoAc4XG7rhbIxACNu1aqwU2CPqraJlI1ovqCqiMiAwhOiHHAT9njYMkEZGIBhWijcJ8pehLaw5QkEZUCFxwQOhf1oCNUAOkzrDklOjfEw5QiRhEJ3v2O/GpYAoRiAYVpNquwVYTfMdsgsQC6r0ivCY65jjwY9eKAG0BG3ADpF2AesDHLsCuCcKl3A4f5EcI+FwFbYhmktFXhKRJ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eBu1GqJtlU2ZP8ru/2vvui8CVXsOvYgwibIyMIAGUYYbPr2L4k9fAtWbTr2CcQ7iJ6HJSS0wh3uY59wq8Ofc0W7lmliaZGn0YUSfI7Nf365U/he7p417HPKrpJ0b7cV0fkg6J9im7y45k/l4I9gfnw2zM/vXTL6o8eJFmRrCoqk4fIk4I83J/oKUkQQUkMAODsmePjq1a3H1HldRG2UmXVSQLgkiqfE+ErrmOPl2qQQILwDNNaB3yPaBcxXwZJbuyUPHtbICVjvA+yHuVbUVBJNnQy+R2xPgjlQ0AzwBQdcQugU4R9ROFlczmXjLricH8ieyCnn4QSh22YVpMqe0XYDQu+buFlVXpFeCzfMC4/CTUQv8O07hDoAeJhyhEiCYXufid39G6pCLVsnPfBTYX7F5TzSBlQuB8ww1Q+hDwDzMSIW7Uq7BTYo6pt1XZKSFURkQGFJ0Q54CZK92pXCGX3LRumFQM6SZ5IilP5xS0nSR6v6wEOZzqlGxZlZwBTGKYF0AZ0ATtJehUriRGSp3L3AQO5jmiFRdkawEyMuFWvsA3hAeAegbIsee8lYXweZb/A0bkJmcqRijCAmRim1QhsQXU7IlsIP8H1aZKZN4+QzMFbUdlWK84AZmKYVkyhGTAE2lHWKdoqIiWZIVR1zKuu8oqXb98VGCq353ohVLQBpMMwrXqgWVVbRaRFVdeIyI3ADcByVJsUaRSZ7YBS5bKgY14p3RHgDVUdFpFTXmW1QZLKLvtpvRD+H3yobz2Aqs6XAAAAAElFTkSuQmCC" alt="Company - Brkcvn"></div>
</div>
<div class="col-42">
<div class="text company lead">
<h2 class="mb-1">{{ setting('company.name') }}</h2>
<p class="mb-1">{{ trans('general.tax_number') }}: <strong>{{ setting('company.tax_number') }}</strong></p>
<p class="mb-1"><a href="tel:{{ setting('company.phone') }}">{{ setting('company.phone') }}</a></p>
<p class="mb-1"><a href="mailto:{{ setting('company.email') }}">{{ setting('company.email') }}</a></p>
</div>
</div>
</div>
<div class="row border-bottom-1 w-100 mt-6 pb-6 d-flex flex-column">
<h2 class="text-center text-uppercase mb-6">{{ trans_choice('bills.payment_made', 1) }}</h2>
<div class="d-flex">
<div class="d-flex flex-column col-lg-7 pl-0">
<div class="d-flex mt-3">
<div class="text company show-company col-lg-4 pl-0">
<p>{{ trans('general.date') }}:</p>
<p>{{ trans_choice('general.accounts', 1) }}:</p>
<p>{{ trans_choice('general.categories', 1) }}:</p>
<p>{{ trans_choice('general.payment_methods', 1) }}:</p>
<p>{{ trans('general.reference') }}:</p>
<p>{{ trans('general.description') }}:</p>
</div>
<div class="text company col-lg-8 pr-0 show-company show-company-value">
<p class="border-bottom-1"><strong>12.12.2022</strong></p>
<p class="border-bottom-1"><strong>Account One</strong></p>
<p class="border-bottom-1"><strong>Data Category</strong></p>
<p class="border-bottom-1"><strong>Cash</strong></p>
<p class="border-bottom-1"><strong>Lorem Ipsum</strong></p>
<p><strong>Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum</strong></p>
</div>
</div>
<div class="text company mt-5">
<h2>{{ trans('general.paid_to') }}</h2>
<h4 class="mb-1"><a href="">Name</a></h4>
<p class="mb-1">Adress</p>
</div>
</div>
<div class="d-flex flex-column align-items-end col-lg-5 pr-0">
<div class="card bg-success show-card-bg-success border-0 mt-4 mb-0">
<div class="card-body">
<div class="row">
<div class="col card-amount-badge text-center mt-3">
<h5 class="text-muted mb-0 text-white">{{ trans('general.amount') }}</h5>
<span class="h2 font-weight-bold mb-0 text-white">₺0,00</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row mt-3 mb-3">
<div class="col-100">
<div class="text">
<h3>{{ trans('bills.related_bill') }}</h3>
<table class="table table-flush table-hover mt-3">
<thead class="thead-light">
<tr class="border-bottom-1">
<th class="item text-left"><span>{{ trans('bills.bill_number') }}</span></th>
<th class="quantity">{{ trans_choice('general.vendors', 1) }}</th>
<th class="price">{{ trans('bills.bill_date') }}</th>
<th class="total">{{ trans('general.amount') }}</th>
</tr>
</thead>
<tbody>
<tr class="border-bottom-1">
<td class="item"><a href="">BILL-123</a></td>
<td class="quantity">Vendor name</td>
<td class="price">12.12.2022</td>
<td class="total">₺6.000,00</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="row mt-3 mb-3">
<p>{{ trans('bills.overdue_payment') }}: <strong style="font-weight: bold;">₺6.000,00</strong></p>
</div>
</div>
</div>
<div class="col-sm-6 col-md-6 col-lg-6 col-xl-6 pl-0 pr-0">
<div class="accordion">
<div class="card">
<div class="card-header" id="accordion-transactions-header" data-toggle="collapse" data-target="#accordion-transactions-body" aria-expanded="false" aria-controls="accordion-transactions-body">
<h4 class="mb-0">{{ trans('bills.payment_history') }}</h4>
</div>
<div id="accordion-transactions-body" class="collapse hide" aria-labelledby="accordion-transactions-header">
<div class="table-responsive">
<table class="table table-flush table-hover">
<thead class="thead-light">
<tr class="row table-head-line">
<th class="col-xs-6 col-sm-6">{{ trans('general.revenue_date') }}</th>
<th class="col-xs-6 col-sm-6">{{ trans('general.created') }}</th>
</tr>
</thead>
<tbody>
<tr class="row align-items-center border-top-1 tr-py">
<td class="col-xs-6 col-sm-6">
12.12.2022
</td>
<td class="col-xs-6 col-sm-6">
Created name
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<x-transactions.show.content type="expense" :transaction="$payment" />
@endsection
@push('scripts_start')
<link rel="stylesheet" href="{{ asset('public/css/print.css?v=' . version('short')) }}" type="text/css">
<link rel="stylesheet" href="{{ asset('public/css/print.css?v=' . version('short')) }}" type="text/css">
<script src="{{ asset('public/js/sales/revenues.js?v=' . version('short')) }}"></script>
@endpush
<x-transactions.script type="expense" />
@endpush

View File

@ -3,178 +3,15 @@
@section('title', trans('invoices.revenue_made'))
@section('new_button')
@can('create-sales-revenues')
<a href="{{ route('revenues.create') }}" class="btn btn-white btn-sm">{{ trans('general.add_new') }}</a>
@endcan
<x-transactions.show.top-buttons type="income" :transaction="$revenue" />
@endsection
@section('content')
<div id="app">
<div class="row mt-3 w-100 mb-3" style="font-size: unset; padding: 0px 15px;">
<div class="d-flex w-100" style="padding: 1.5rem;">
<div class="row w-100 justify-content-between" style="font-size: unset;">
<div class="show-head">
{{ trans_choice('general.accounts', 1) }}
<strong><span class="float-left">
Account name
</span></strong>
</div>
<div class="show-head">
{{ trans_choice('general.categories', 1) }}
<strong><span class="float-left">
Category name
</span></strong>
</div>
<div class="show-head">
{{ trans_choice('general.customers', 1) }}
<strong><span class="float-left">
Customer name</span></strong>
</div>
<div class="show-head">
{{ trans('general.amount') }}
<strong><span class="float-left">
</span></strong>
</div>
<div class="show-head">
{{ trans('general.date') }}
<strong><span class="float-left">
</span></strong>
</div>
</div>
</div>
</div>
<div class="card show-card">
<div class="card-body show-card-body">
<div class="row border-bottom-1 pt-6 pb-6">
<div class="col-16">
<div class="text company"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAAA7EAAAOxAGVKw4bAAANp0lEQVR4nO2dfXAd1XXAf+dJtoUkjEwMZsAYWyME6cj5IP5A0frtUNuF2DID04lpQgJuJ2NQkk5G23/qdEhJ3Ib+tZo2MzFRSj7aSantTDHBdmgqwuzzKk6AIU3RJI7ikT/iCDIosQBhG1vS6R9vpZH0vvX27b73tL8Z/2Hd3XvPe+e8u3fPPfccocowTKseaFbVVhFpUdU1InIjcAOwHNUmRRpFWDzzPlUuCzqGyCgwAryhqsMickpVT4rIIDDkOvaF4D9V6ZCwBSgGw7RiCs2AIdAOrPMU31iK8VR1zDOEVxSOA64kjWKyFOMFQcUZgGFajaq6RWA7IluA1SGLdBrVPkSOAH2uY4+FLE9BVIQBGHGrXmEbwgPAPQIl+YUXi8IY8DzKfoGjbqL8HxdlawCGaQG0AV3ATmB5qAIVzghwANgHDLiOHbI46Sk7AzBMKwZ0At1AHIiFK1HRTAIJoAc4XG7rhbIxACNu1aqwU2CPqraJlI1ovqCqiMiAwhOiHHAT9njYMkEZGIBhWijcJ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PQeyNKhyqf60/YzxV637zSxInQCzw5n3sjSsKTnk4KZt6uN8O06hR9TpCKrzhaySjaJ8gO17Hn9VguyvfaEe9uEuRYUBtGEXNQBhTd1J/omXemt6IyhfYnekYRtpM8VhYRLKcRthejfPAhVazr2GeBu1GqJtlU2ZP8ru/2vvui8CVXsOvYgwibIyMIAGUYYbPr2L4k9fAtWbTr2CcQ7iJ6HJSS0wh3uY59wq8Ofc0W7lmliaZGn0YUSfI7Nf365U/he7p417HPKrpJ0b7cV0fkg6J9im7y45k/l4I9gfnw2zM/vXTL6o8eJFmRrCoqk4fIk4I83J/oKUkQQUkMAODsmePjq1a3H1HldRG2UmXVSQLgkiqfE+ErrmOPl2qQQILwDNNaB3yPaBcxXwZJbuyUPHtbICVjvA+yHuVbUVBJNnQy+R2xPgjlQ0AzwBQdcQugU4R9ROFlczmXjLricH8ieyCnn4QSh22YVpMqe0XYDQu+buFlVXpFeCzfMC4/CTUQv8O07hDoAeJhyhEiCYXufid39G6pCLVsnPfBTYX7F5TzSBlQuB8ww1Q+hDwDzMSIW7Uq7BTYo6pt1XZKSFURkQGFJ0Q54CZK92pXCGX3LRumFQM6SZ5IilP5xS0nSR6v6wEOZzqlGxZlZwBTGKYF0AZ0ATtJehUriRGSp3L3AQO5jmiFRdkawEyMuFWvsA3hAeAegbIsee8lYXweZb/A0bkJmcqRijCAmRim1QhsQXU7IlsIP8H1aZKZN4+QzMFbUdlWK84AZmKYVkyhGTAE2lHWKdoqIiWZIVR1zKuu8oqXb98VGCq353ohVLQBpMMwrXqgWVVbRaRFVdeIyI3ADcByVJsUaRSZ7YBS5bKgY14p3RHgDVUdFpFTXmW1QZLKLvtpvRD+H3yobz2Aqs6XAAAAAElFTkSuQmCC" alt="Company - Brkcvn"></div>
</div>
<div class="col-42">
<div class="text company lead">
<h2 class="mb-1">{{ setting('company.name') }}</h2>
<p class="mb-1">{{ trans('general.tax_number') }}: <strong>{{ setting('company.tax_number') }}</strong></p>
<p class="mb-1"><a href="tel:{{ setting('company.phone') }}">{{ setting('company.phone') }}</a></p>
<p class="mb-1"><a href="mailto:{{ setting('company.email') }}">{{ setting('company.email') }}</a></p>
</div>
</div>
</div>
<div class="row border-bottom-1 w-100 mt-6 pb-6 d-flex flex-column">
<h2 class="text-center text-uppercase mb-6">{{ trans('invoices.revenue_made') }}</h2>
<div class="d-flex">
<div class="d-flex flex-column col-lg-7 pl-0">
<div class="d-flex mt-3">
<div class="text company show-company col-lg-4 pl-0">
<p>{{ trans('general.date') }}:</p>
<p>{{ trans_choice('general.accounts', 1) }}:</p>
<p>{{ trans_choice('general.categories', 1) }}:</p>
<p>{{ trans_choice('general.payment_methods', 1) }}:</p>
<p>{{ trans('general.reference') }}:</p>
<p>{{ trans('general.description') }}:</p>
</div>
<div class="text company col-lg-8 pr-0 show-company show-company-value">
<p class="border-bottom-1"><strong>12.12.2022</strong></p>
<p class="border-bottom-1"><strong>Account One</strong></p>
<p class="border-bottom-1"><strong>Data Category</strong></p>
<p class="border-bottom-1"><strong>Cash</strong></p>
<p class="border-bottom-1"><strong>Lorem Ipsum</strong></p>
<p><strong>Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum</strong></p>
</div>
</div>
<div class="text company mt-5">
<h2>{{ trans('general.paid_by') }}</h2>
<h4 class="mb-1"><a href="">Name</a></h4>
<p class="mb-1">Adress</p>
</div>
</div>
<div class="d-flex flex-column align-items-end col-lg-5 pr-0">
<div class="card bg-success show-card-bg-success border-0 mt-4 mb-0">
<div class="card-body">
<div class="row">
<div class="col card-amount-badge text-center mt-3">
<h5 class="text-muted mb-0 text-white">{{ trans('general.amount') }}</h5>
<span class="h2 font-weight-bold mb-0 text-white">₺0,00</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row mt-3 mb-3">
<div class="col-100">
<div class="text">
<h3>{{ trans('invoices.related_revenue') }}</h3>
<table class="table table-flush table-hover mt-3">
<thead class="thead-light">
<tr class="border-bottom-1">
<th class="item text-left"><span>{{ trans_choice('general.numbers', 1) }}</span></th>
<th class="quantity"> {{ trans_choice('general.customers', 1) }}</th>
<th class="price">{{ trans('invoices.invoice_date') }}</th>
<th class="total">{{ trans('general.amount') }}</th>
</tr>
</thead>
<tbody>
<tr class="border-bottom-1">
<td class="item"><a href="">BILL-123</a></td>
<td class="quantity">Vendor name</td>
<td class="price">12.12.2022</td>
<td class="total">₺6.000,00</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="row mt-3 mb-3 d-none">
<p>{{ trans('invoices.overdue_revenue') }}: <strong style="font-weight: bold;">₺6.000,00</strong></p>
</div>
</div>
</div>
<div class="col-sm-6 col-md-6 col-lg-6 col-xl-6 pl-0 pr-0">
<div class="accordion">
<div class="card">
<div class="card-header" id="accordion-transactions-header" data-toggle="collapse" data-target="#accordion-transactions-body" aria-expanded="false" aria-controls="accordion-transactions-body">
<h4 class="mb-0">{{ trans('invoices.revenue_history') }}</h4>
</div>
<div id="accordion-transactions-body" class="collapse hide" aria-labelledby="accordion-transactions-header">
<div class="table-responsive">
<table class="table table-flush table-hover">
<thead class="thead-light">
<tr class="row table-head-line">
<th class="col-xs-6 col-sm-6">{{ trans('general.revenue_date') }}</th>
<th class="col-xs-6 col-sm-6">{{ trans('general.created') }}</th>
</tr>
</thead>
<tbody>
<tr class="row align-items-center border-top-1 tr-py">
<td class="col-xs-6 col-sm-6">
12.12.2022
</td>
<td class="col-xs-6 col-sm-6">
Created name
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<x-transactions.show.content type="income" :transaction="$revenue" />
@endsection
@push('scripts_start')
<link rel="stylesheet" href="{{ asset('public/css/print.css?v=' . version('short')) }}" type="text/css">
<link rel="stylesheet" href="{{ asset('public/css/print.css?v=' . version('short')) }}" type="text/css">
<script src="{{ asset('public/js/sales/revenues.js?v=' . version('short')) }}"></script>
<x-transactions.script type="income" />
@endpush