Merge branch 'master' of github.com:akaunting/akaunting
This commit is contained in:
commit
2e79a9b5fa
5
public/css/print.css
vendored
5
public/css/print.css
vendored
@ -546,6 +546,11 @@ html[dir='rtl'] .text-alignment-right {
|
||||
/*--Print Template Classic Finish--*/
|
||||
|
||||
/*--Print Template Modern Start--*/
|
||||
.justify-content-between
|
||||
{
|
||||
justify-content: space-between !important;
|
||||
}
|
||||
|
||||
.align-items-center
|
||||
{
|
||||
align-items: center !important;
|
||||
|
@ -27,6 +27,11 @@ return [
|
||||
'body' => 'नमस्ते,<br/><br/>{customer_name} के आवर्ती सर्कल के आधार पर, <strong>{invoice_number}</strong> चालान स्वचालित रूप से बनाया गया है।<br/><br/>आप निम्न लिंक से चालान का विवरण देख सकते हैं: <a href="{invoice_admin_link}">{invoice_number}</a>।<br/><br/>सादर,<br/>{company_name}',
|
||||
],
|
||||
|
||||
'invoice_view_admin' => [
|
||||
'subject' => '{invoice_number} चालान देखा गया',
|
||||
'body' => 'नमस्कार,<br /><br />{customer_name} ने <strong>{invoice_number}</strong> चालान देखा है।<br /><br />आप निम्न लिंक से चालान विवरण देख सकते हैं: <a href="{invoice_admin_link}">{invoice_number}</a>।<br /><br />सादर,<br />{company_name}',
|
||||
],
|
||||
|
||||
'invoice_payment_customer' => [
|
||||
'subject' => '{invoice_number} चालान के लिए भुगतान प्राप्त हुआ',
|
||||
'body' => 'प्रिय {customer_name},<br/><br/>भुगतान के लिए धन्यवाद।भुगतान का विवरण देखें:<br/><br/>-------------------------------------------------<br/><br/>राशि: <strong>{transaction_total}<br /></strong>तारीख: <strong>{transaction_paid_date}</strong><br/>चालान संख्या: <strong>{invoice_number}<br/><br/></strong>-------------------------------------------------<br/><br/>आप निम्न लिंक से कभी भी चालान का विवरण देख सकते हैं: <a href="{invoice_guest_link}">{invoice_number}</a>।<br/><br/>किसी भी प्रश्न के लिए हमसे संपर्क करने में संकोच न करें।<br/><br/>सादर,<br/>{company_name}',
|
||||
@ -47,13 +52,13 @@ return [
|
||||
'body' => 'नमस्ते,<br/><br/>{vendor_name} के आवर्ती सर्कल के आधार पर, <strong>{bill_number}</strong> चालान स्वचालित रूप से बनाया गया है।<br/><br/>आप नीचे दिए गए लिंक से बिल का विवरण देख सकते हैं: <a href="{bill_admin_link}">{bill_number}</a>।<br/><br/>सादर,<br/>{company_name}',
|
||||
],
|
||||
|
||||
'revenue_new_customer' => [
|
||||
'subject' => '{revenue_date} भुगतान बनाया गया',
|
||||
'body' => 'प्रिय {customer_name},<br /><br />हमने निम्नलिखित भुगतान तैयार किया है।<br /><br />आप निम्न लिंक से भुगतान विवरण देख सकते हैं : <a href="{revenue_guest_link}">{revenue_date}</a>.<br /><br />किसी भी प्रश्न के लिए हमसे बेझिझक संपर्क करें..<br /><br />सादर,<br />{company_name}',
|
||||
'payment_received_customer' => [
|
||||
'subject' => '{company_name} से आपकी रसीद',
|
||||
'body' => 'प्रिय {contact_name},<br /><br />भुगतान के लिए धन्यवाद। <br /><br />आप निम्न लिंक से भुगतान विवरण देख सकते हैं: <a href="{payment_guest_link}">{payment_date}</a>।<br /><br />हमसे संपर्क करने में संकोच न करें किसी भी प्रश्न के साथ।<br /><br />सादर,<br />{company_name}',
|
||||
],
|
||||
|
||||
'payment_new_vendor' => [
|
||||
'subject' => '{revenue_date} भुगतान बनाया गया',
|
||||
'body' => 'प्रिय {{vendor_name}},<br /><br />हमने निम्नलिखित भुगतान तैयार किया है।<br /><br />आप निम्न लिंक से भुगतान विवरण देख सकते हैं : <a href="{payment_admin_link}">{payment_date}</a>.<br /><br />किसी भी प्रश्न के लिए हमसे बेझिझक संपर्क करें..<br /><br />सादर,<br />{company_name}',
|
||||
'payment_made_vendor' => [
|
||||
'subject' => '{company_name} द्वारा किया गया भुगतान',
|
||||
'body' => 'प्रिय {contact_name},<br /><br />हमने निम्नलिखित भुगतान कर दिया है। <br /><br />आप निम्न लिंक से भुगतान विवरण देख सकते हैं: <a href="{payment_guest_link}">{payment_date}</a>।<br /><br />हमसे संपर्क करने में संकोच न करें किसी भी प्रश्न के साथ।<br /><br />सादर,<br />{company_name}',
|
||||
],
|
||||
];
|
||||
|
@ -36,7 +36,7 @@ return [
|
||||
'install' => 'इंस्टॉल करें',
|
||||
'buy_now' => 'अभी खरीदें',
|
||||
'get_api_key' => 'अपनी एपीआई कुंजी प्राप्त करने के लिए यहां <a href=":url" target="_blank">क्लिक</a> करें।',
|
||||
'no_apps' => 'इस श्रेणी में अभी तक कोई एप्लिकेशन नहीं हैं।',
|
||||
'no_apps' => 'अपने व्यवसाय के लिए सबसे अधिक पेशेवर ऐप्स देखें और उन्हें सर्वोत्तम मूल्य पर प्राप्त करें।',
|
||||
'become_developer' => 'क्या आप एक डेवलपर हैं? <a href=":url" target="_blank">यहां</a> आप सीख सकते हैं कि ऐप कैसे बनाएं और आज बेचना शुरू करें!',
|
||||
'recommended_apps' => 'अनुशंसित ऐप्स',
|
||||
'can_not_install' => 'मासिक सदस्यता केवल क्लाउड सेवा पर उपलब्ध है। <a href="https://akaunting.com/upgrad-to-yearly" target="_blank">और जानें।</a>',
|
||||
|
@ -40,7 +40,7 @@ return [
|
||||
'all_invoices' => 'Faça login para ver todas as faturas',
|
||||
'create_invoice' => 'Criar fatura',
|
||||
'send_invoice' => 'Enviar fatura',
|
||||
'get_paid' => 'Pagar',
|
||||
'get_paid' => 'Quitar',
|
||||
'accept_payments' => 'Aceitar Pagamentos Online',
|
||||
'payment_received' => 'Pagamento recebido',
|
||||
|
||||
|
@ -1,9 +1,17 @@
|
||||
@php
|
||||
$is_print = request()->routeIs('reports.print');
|
||||
@endphp
|
||||
|
||||
@include($class->views['summary.content.header'])
|
||||
|
||||
@foreach($class->tables as $table_key => $table_name)
|
||||
<div class="flex flex-col lg:flex-row mt-12">
|
||||
<div
|
||||
class="flex flex-col lg:flex-row mt-12">
|
||||
@include($class->views['summary.table'])
|
||||
@include($class->views['summary.chart'])
|
||||
|
||||
@if (! $is_print)
|
||||
@include($class->views['summary.chart'])
|
||||
@endif
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
|
@ -1,10 +1,20 @@
|
||||
<div>
|
||||
<div class="flex items-center justify-between text-xl text-black-400 border-b pb-2">
|
||||
<h2>{{ $table_name }}</h2>
|
||||
<span>{{ $class->has_money ? money($grand_total, default_currency(), true) : $grand_total }}</span>
|
||||
<div
|
||||
@class([
|
||||
'd-flex align-items-center justify-content-between rp-border-bottom-1 text' => $is_print,
|
||||
'flex items-center justify-between text-xl text-black-400 border-b pb-2' => !$is_print
|
||||
])
|
||||
>
|
||||
<h2>{{ $table_name }}</h2>
|
||||
<span>{{ $class->has_money ? money($grand_total, default_currency(), true) : $grand_total }}</span>
|
||||
</div>
|
||||
@if (!empty($class->row_values[$table_key]))
|
||||
<ul class="space-y-2 my-3">
|
||||
<ul
|
||||
@class([
|
||||
'print-template text-normal' => $is_print,
|
||||
'space-y-2 my-3' => !$is_print
|
||||
])
|
||||
>
|
||||
@foreach($class->row_tree_nodes[$table_key] as $id => $node)
|
||||
@include($class->views['summary.table.row'], ['tree_level' => 0])
|
||||
@endforeach
|
||||
|
@ -6,15 +6,25 @@
|
||||
|
||||
@if ($row_total = array_sum($rows))
|
||||
@if (isset($parent_id))
|
||||
<li class="collapse-sub" data-collapse="child-{{ $parent_id }}">
|
||||
<li
|
||||
@class([
|
||||
'mt-1' => $is_print,
|
||||
'collapse-sub' => !$is_print
|
||||
])
|
||||
data-collapse="child-{{ $parent_id }}">
|
||||
@else
|
||||
<li>
|
||||
@endif
|
||||
<div class="flex justify-between border-0 m-0 p-0">
|
||||
<div
|
||||
@class([
|
||||
'd-flex align-items-center justify-content-between' => $is_print,
|
||||
'flex justify-between border-0 m-0 p-0' => !$is_print
|
||||
])
|
||||
>
|
||||
@if (isset($parent_id))
|
||||
<div class="flex items-center" style="padding-left: {{ $tree_level * 20 }}px;">
|
||||
<div style="display:flex; align-items: center; padding-left: {{ $tree_level * 20 }}px;">
|
||||
@else
|
||||
<div class="flex items-center">
|
||||
<div style="display:flex; align-items: center;">
|
||||
@endif
|
||||
<span>{{ $class->row_names[$table_key][$id] }}</span>
|
||||
</div>
|
||||
@ -43,17 +53,24 @@
|
||||
|
||||
@if ($row_total = array_sum($parent_row_values))
|
||||
@if (isset($parent_id))
|
||||
<li class="collapse-sub" data-collapse="child-{{ $parent_id }}">
|
||||
<li
|
||||
@class([
|
||||
'mt-1' => $is_print,
|
||||
'collapse-sub' => !$is_print
|
||||
])
|
||||
data-collapse="child-{{ $parent_id }}">
|
||||
@else
|
||||
<li>
|
||||
@endif
|
||||
<div class="flex justify-between border-0 m-0 p-0">
|
||||
<div class="flex items-center" style="padding-left: {{ $tree_level * 20 }}px;">
|
||||
<div style="display: flex; justify-content: space-between;">
|
||||
<div style="display:flex; align-items: center; padding-left: {{ $tree_level * 20 }}px;">
|
||||
<span>{{ $class->row_names[$table_key][$id] }}</span>
|
||||
@if (array_sum($parent_row_values) != array_sum($class->row_values[$table_key][$id]))
|
||||
<button type="button" class="align-text-top flex" node="child-{{ $id }}" onClick="toggleSub('child-{{ $id }}', event)">
|
||||
<span class="material-icons transform rotate-90 transition-all text-lg leading-none">navigate_next</span>
|
||||
</button>
|
||||
@if (!$is_print)
|
||||
@if (array_sum($parent_row_values) != array_sum($class->row_values[$table_key][$id]))
|
||||
<button type="button" class="align-text-top flex" node="child-{{ $id }}" onClick="toggleSub('child-{{ $id }}', event)">
|
||||
<span class="material-icons transform rotate-90 transition-all text-lg leading-none">navigate_next</span>
|
||||
</button>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
<span>{{ $class->has_money ? money($row_total, setting('default.currency'), true) : $row_total }}</span>
|
||||
@ -64,9 +81,14 @@
|
||||
<!-- no categories part -->
|
||||
@php $rows = $class->row_values[$table_key][$id]; @endphp
|
||||
@if (($row_total = array_sum($rows)) && array_sum($parent_row_values) != array_sum($rows))
|
||||
<li class="collapse-sub" data-collapse="child-{{ $id }}">
|
||||
<div class="flex justify-between border-0 m-0 p-0">
|
||||
<div class="flex items-center" style="padding-left: {{ ($tree_level + 1) * 20 }}px;">
|
||||
<li
|
||||
@class([
|
||||
'mt-1' => $is_print,
|
||||
'collapse-sub' => !$is_print
|
||||
])
|
||||
data-collapse="child-{{ $id }}">
|
||||
<div style="display: flex; justify-content: space-between;">
|
||||
<div style="display:flex; align-items: center; padding-left: {{ ($tree_level + 1) * 20 }}px;">
|
||||
<span>{{ $class->row_names[$table_key][$id] }}</span>
|
||||
</div>
|
||||
<span>{{ $class->has_money ? money($row_total, setting('default.currency'), true) : $row_total }}</span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user