Merge branch 'master' of https://github.com/brkcvn/akaunting into button-loading
This commit is contained in:
commit
ff640cba15
@ -975,7 +975,7 @@ abstract class Show extends Component
|
||||
|
||||
$backgroundColor = setting($this->getSettingKey($type, 'color'), '#55588b');
|
||||
|
||||
return $backgroundColor;
|
||||
return $this->convertClasstoHex($backgroundColor);
|
||||
}
|
||||
|
||||
protected function getTextDocumentTitle($type, $textDocumentTitle)
|
||||
|
@ -276,7 +276,7 @@ abstract class Template extends Component
|
||||
|
||||
$backgroundColor = setting($this->getSettingKey($type, 'color'), '#55588b');
|
||||
|
||||
return $backgroundColor;
|
||||
return $this->convertClasstoHex($backgroundColor);
|
||||
}
|
||||
|
||||
protected function getTextDocumentTitle($type, $textDocumentTitle)
|
||||
|
@ -299,6 +299,9 @@ abstract class Show extends Component
|
||||
/** @var bool */
|
||||
public $hideRecurringMessage;
|
||||
|
||||
/** @var bool */
|
||||
public $hideCreated;
|
||||
|
||||
/**
|
||||
* Create a new component instance.
|
||||
*
|
||||
@ -327,7 +330,7 @@ abstract class Show extends Component
|
||||
string $routeDocumentShow = '', string $routeTransactionShow = '', string $textButtonAddNew = '',
|
||||
|
||||
bool $hideSchedule = false, bool $hideChildren = false, bool $hideAttachment = false, $attachment = [],
|
||||
array $connectTranslations = [], string $textRecurringType = '', bool $hideRecurringMessage = false
|
||||
array $connectTranslations = [], string $textRecurringType = '', bool $hideRecurringMessage = false, bool $hideCreated = false
|
||||
) {
|
||||
$this->type = $type;
|
||||
$this->transaction = $transaction;
|
||||
@ -461,6 +464,7 @@ abstract class Show extends Component
|
||||
|
||||
$this->textRecurringType = $this->getTextRecurringType($type, $textRecurringType);
|
||||
$this->hideRecurringMessage = $hideRecurringMessage;
|
||||
$this->hideCreated = $hideCreated;
|
||||
}
|
||||
|
||||
protected function getTransactionTemplate($type, $transactionTemplate)
|
||||
|
@ -5,7 +5,7 @@ namespace App\BulkActions\Sales;
|
||||
use App\Abstracts\BulkAction;
|
||||
use App\Events\Document\DocumentCancelled;
|
||||
use App\Events\Document\DocumentCreated;
|
||||
use App\Events\Document\DocumentSent;
|
||||
use App\Events\Document\DocumentMarkedSent;
|
||||
use App\Events\Document\PaymentReceived;
|
||||
use App\Exports\Sales\Invoices as Export;
|
||||
use App\Jobs\Document\DeleteDocument;
|
||||
@ -58,7 +58,7 @@ class Invoices extends BulkAction
|
||||
continue;
|
||||
}
|
||||
|
||||
event(new DocumentSent($invoice));
|
||||
event(new DocumentMarkedSent($invoice));
|
||||
}
|
||||
}
|
||||
|
||||
|
20
app/Events/Document/DocumentMarkedSent.php
Normal file
20
app/Events/Document/DocumentMarkedSent.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Events\Document;
|
||||
|
||||
use App\Abstracts\Event;
|
||||
|
||||
class DocumentMarkedSent extends Event
|
||||
{
|
||||
public $document;
|
||||
|
||||
/**
|
||||
* Create a new event instance.
|
||||
*
|
||||
* @param $document
|
||||
*/
|
||||
public function __construct($document)
|
||||
{
|
||||
$this->document = $document;
|
||||
}
|
||||
}
|
@ -220,7 +220,7 @@ class Invoices extends Controller
|
||||
*/
|
||||
public function markSent(Document $invoice)
|
||||
{
|
||||
event(new \App\Events\Document\DocumentSent($invoice));
|
||||
event(new \App\Events\Document\DocumentMarkedSent($invoice));
|
||||
|
||||
$message = trans('documents.messages.marked_sent', ['type' => trans_choice('general.invoices', 1)]);
|
||||
|
||||
|
@ -27,7 +27,13 @@ class Favorites extends Component
|
||||
|
||||
foreach ($favorites as $favorite) {
|
||||
$favorite['active'] = false;
|
||||
$favorite['url'] = $this->getUrl($favorite);
|
||||
|
||||
try {
|
||||
$favorite['url'] = $this->getUrl($favorite);
|
||||
} catch (\Exception $e) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$favorite['id'] = $this->getId($favorite);
|
||||
|
||||
if ($this->isActive($favorite['url'])) {
|
||||
|
@ -2,7 +2,8 @@
|
||||
|
||||
namespace App\Listeners\Document;
|
||||
|
||||
use App\Events\Document\DocumentSent as Event;
|
||||
use App\Events\Document\DocumentMarkedSent;
|
||||
use App\Events\Document\DocumentSent;
|
||||
use App\Jobs\Document\CreateDocumentHistory;
|
||||
use App\Traits\Jobs;
|
||||
|
||||
@ -10,13 +11,7 @@ class MarkDocumentSent
|
||||
{
|
||||
use Jobs;
|
||||
|
||||
/**
|
||||
* Handle the event.
|
||||
*
|
||||
* @param $event
|
||||
* @return void
|
||||
*/
|
||||
public function handle(Event $event)
|
||||
public function handle(DocumentMarkedSent|DocumentSent $event): void
|
||||
{
|
||||
if ($event->document->status != 'partial') {
|
||||
$event->document->status = 'sent';
|
||||
@ -24,6 +19,11 @@ class MarkDocumentSent
|
||||
$event->document->save();
|
||||
}
|
||||
|
||||
$this->dispatch(new CreateDocumentHistory($event->document, 0, $this->getDescription($event)));
|
||||
}
|
||||
|
||||
public function getDescription(DocumentMarkedSent|DocumentSent $event): string
|
||||
{
|
||||
$type_text = '';
|
||||
|
||||
if ($alias = config('type.document.' . $event->document->type . '.alias', '')) {
|
||||
@ -34,12 +34,8 @@ class MarkDocumentSent
|
||||
|
||||
$type = trans_choice($type_text, 1);
|
||||
|
||||
$this->dispatch(
|
||||
new CreateDocumentHistory(
|
||||
$event->document,
|
||||
0,
|
||||
trans('documents.messages.marked_sent', ['type' => $type])
|
||||
)
|
||||
);
|
||||
$message = ($event instanceof DocumentMarkedSent) ? 'marked_sent' : 'email_sent';
|
||||
|
||||
return trans('documents.messages.' . $message, ['type' => $type]);
|
||||
}
|
||||
}
|
||||
|
@ -480,7 +480,7 @@ class Transaction extends Model
|
||||
'permission' => 'create-banking-transactions',
|
||||
'attributes' => [
|
||||
'id' => 'index-transactions-more-actions-connect-' . $this->id,
|
||||
'@click' => 'onConnect(\'' . route('transactions.dial', $this->id) . '\')',
|
||||
'@click' => 'onConnectTransactions(\'' . route('transactions.dial', $this->id) . '\')',
|
||||
],
|
||||
];
|
||||
|
||||
|
@ -179,24 +179,29 @@ class Document extends Model
|
||||
return $query->whereDate('due_at', '=', $date);
|
||||
}
|
||||
|
||||
public function scopeStatus(Builder $query, string $status): Builder
|
||||
{
|
||||
return $query->where($this->qualifyColumn('status'), '=', $status);
|
||||
}
|
||||
|
||||
public function scopeAccrued(Builder $query): Builder
|
||||
{
|
||||
return $query->whereNotIn('status', ['draft', 'cancelled']);
|
||||
return $query->whereNotIn($this->qualifyColumn('status'), ['draft', 'cancelled']);
|
||||
}
|
||||
|
||||
public function scopePaid(Builder $query): Builder
|
||||
{
|
||||
return $query->where('status', '=', 'paid');
|
||||
return $query->where($this->qualifyColumn('status'), '=', 'paid');
|
||||
}
|
||||
|
||||
public function scopeNotPaid(Builder $query): Builder
|
||||
{
|
||||
return $query->where('status', '<>', 'paid');
|
||||
return $query->where($this->qualifyColumn('status'), '<>', 'paid');
|
||||
}
|
||||
|
||||
public function scopeFuture(Builder $query): Builder
|
||||
{
|
||||
return $query->whereIn('status', $this->getDocumentStatusesForFuture());
|
||||
return $query->whereIn($this->qualifyColumn('status'), $this->getDocumentStatusesForFuture());
|
||||
}
|
||||
|
||||
public function scopeType(Builder $query, string $type): Builder
|
||||
@ -244,14 +249,14 @@ class Document extends Model
|
||||
|
||||
public function getSentAtAttribute(string $value = null)
|
||||
{
|
||||
$sent = $this->histories()->where('status', 'sent')->first();
|
||||
$sent = $this->histories()->where('document_histories.status', 'sent')->first();
|
||||
|
||||
return $sent->created_at ?? null;
|
||||
}
|
||||
|
||||
public function getReceivedAtAttribute(string $value = null)
|
||||
{
|
||||
$received = $this->histories()->where('status', 'received')->first();
|
||||
$received = $this->histories()->where('document_histories.status', 'received')->first();
|
||||
|
||||
return $received->created_at ?? null;
|
||||
}
|
||||
|
@ -57,6 +57,9 @@ class Event extends Provider
|
||||
'App\Listeners\Document\CreateDocumentTransaction',
|
||||
'App\Listeners\Document\SendDocumentPaymentNotification',
|
||||
],
|
||||
'App\Events\Document\DocumentMarkedSent' => [
|
||||
'App\Listeners\Document\MarkDocumentSent',
|
||||
],
|
||||
'App\Events\Document\DocumentSent' => [
|
||||
'App\Listeners\Document\MarkDocumentSent',
|
||||
],
|
||||
|
@ -3,11 +3,14 @@
|
||||
namespace App\Traits;
|
||||
|
||||
use Throwable;
|
||||
use Illuminate\Support\Arr;
|
||||
|
||||
trait Translations
|
||||
{
|
||||
public function findTranslation($keys, $number = 2)
|
||||
{
|
||||
$keys = Arr::wrap($keys);
|
||||
|
||||
try {
|
||||
foreach ($keys as $key) {
|
||||
if (is_array($key)) {
|
||||
|
@ -752,4 +752,111 @@ trait ViewComponents
|
||||
|
||||
return '';
|
||||
}
|
||||
|
||||
protected function convertClasstoHex($class)
|
||||
{
|
||||
$colors = [
|
||||
'gray' => '#6b7280',
|
||||
'gray-50' => '#f9fafb',
|
||||
'gray-100' => '#f3f4f6',
|
||||
'gray-200' => '#e5e7eb',
|
||||
'gray-300' => '#d1d5db',
|
||||
'gray-400' => '#9ca3af',
|
||||
'gray-500' => '#6b7280',
|
||||
'gray-600' => '#4b5563',
|
||||
'gray-700' => '#374151',
|
||||
'gray-800' => '#1f2937',
|
||||
'gray-900' => '#111827',
|
||||
|
||||
'red' => '#cc0000',
|
||||
'red-50' => '#fcf2f2',
|
||||
'red-100' => '#fae6e6',
|
||||
'red-200' => '#f2bfbf',
|
||||
'red-300' => '#eb9999',
|
||||
'red-400' => '#db4d4d',
|
||||
'red-500' => '#cc0000',
|
||||
'red-600' => '#b80000',
|
||||
'red-700' => '#990000',
|
||||
'red-800' => '#7a0000',
|
||||
'red-900' => '#640000',
|
||||
|
||||
'yellow' => '#eab308',
|
||||
'yellow-50' => '#fefce8',
|
||||
'yellow-100' => '#fef9c3',
|
||||
'yellow-200' => '#fef08a',
|
||||
'yellow-300' => '#fde047',
|
||||
'yellow-400' => '#facc15',
|
||||
'yellow-500' => '#eab308',
|
||||
'yellow-600' => '#ca8a04',
|
||||
'yellow-700' => '#a16207',
|
||||
'yellow-800' => '#854d0e',
|
||||
'yellow-900' => '#713f12',
|
||||
|
||||
'green' => '#6ea152',
|
||||
'green-50' => '#f8faf6',
|
||||
'green-100' => '#f1f6ee',
|
||||
'green-200' => '#dbe8d4',
|
||||
'green-300' => '#c5d9ba',
|
||||
'green-400' => '#9abd86',
|
||||
'green-500' => '#6ea152',
|
||||
'green-600' => '#63914a',
|
||||
'green-700' => '#53793e',
|
||||
'green-800' => '#426131',
|
||||
'green-900' => '#364f28',
|
||||
|
||||
'blue' => '#006ea6',
|
||||
'blue-50' => '#f2f8fb',
|
||||
'blue-100' => '#e6f1f6',
|
||||
'blue-200' => '#bfdbe9',
|
||||
'blue-300' => '#99c5db',
|
||||
'blue-400' => '#4d9ac1',
|
||||
'blue-500' => '#006ea6',
|
||||
'blue-600' => '#006395',
|
||||
'blue-700' => '#00537d',
|
||||
'blue-800' => '#004264',
|
||||
'blue-900' => '#003651',
|
||||
|
||||
'indigo' => '#6366f1',
|
||||
'indigo-50' => '#eef2ff',
|
||||
'indigo-100' => '#e0e7ff',
|
||||
'indigo-200' => '#c7d2fe',
|
||||
'indigo-300' => '#a5b4fc',
|
||||
'indigo-400' => '#818cf8',
|
||||
'indigo-500' => '#6366f1',
|
||||
'indigo-600' => '#4f46e5',
|
||||
'indigo-700' => '#4338ca',
|
||||
'indigo-800' => '#3730a3',
|
||||
'indigo-900' => '#312e81',
|
||||
|
||||
'purple' => '#55588b',
|
||||
'purple-50' => '#f7f7f9',
|
||||
'purple-100' => '#eeeef3',
|
||||
'purple-200' => '#d5d5e2',
|
||||
'purple-300' => '#bbbcd1',
|
||||
'purple-400' => '#888aae',
|
||||
'purple-500' => '#55588b',
|
||||
'purple-600' => '#4d4f7d',
|
||||
'purple-700' => '#404268',
|
||||
'purple-800' => '#333553',
|
||||
'purple-900' => '#2a2b44',
|
||||
|
||||
'pink' => '#ec4899',
|
||||
'pink-50' => '#fdf2f8',
|
||||
'pink-100' => '#fce7f3',
|
||||
'pink-200' => '#fbcfe8',
|
||||
'pink-300' => '#f9a8d4',
|
||||
'pink-400' => '#f472b6',
|
||||
'pink-500' => '#ec4899',
|
||||
'pink-600' => '#db2777',
|
||||
'pink-700' => '#be185d',
|
||||
'pink-800' => '#9d174d',
|
||||
'pink-900' => '#831843',
|
||||
];
|
||||
|
||||
if (Arr::exists($colors, $class)) {
|
||||
return $colors[$class];
|
||||
}
|
||||
|
||||
return $class;
|
||||
}
|
||||
}
|
||||
|
@ -200,7 +200,15 @@ class DeleteButton extends Component
|
||||
$page = '';
|
||||
|
||||
if (! empty($this->route)) {
|
||||
$page = explode('.', $this->route)[0];
|
||||
if (! is_array($this->route)) {
|
||||
$string = $this->route;
|
||||
}
|
||||
|
||||
if (is_array($this->route)) {
|
||||
$string = $this->route[0];
|
||||
}
|
||||
|
||||
$page = explode('.', $string)[0];
|
||||
} elseif (! empty($this->url)) {
|
||||
$page = explode('/', $this->url)[1];
|
||||
}
|
||||
|
@ -4,11 +4,12 @@ namespace App\View\Components;
|
||||
|
||||
use App\Abstracts\View\Component;
|
||||
use App\Traits\DateTime;
|
||||
use App\Traits\Translations;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
class SearchString extends Component
|
||||
{
|
||||
use DateTime;
|
||||
use DateTime, Translations;
|
||||
|
||||
public $filters;
|
||||
|
||||
@ -203,16 +204,16 @@ class SearchString extends Component
|
||||
$values = [
|
||||
[
|
||||
'key' => 0,
|
||||
'value' => empty($options['translation']) ? trans('general.no') : trans($options['translation'][0]),
|
||||
'value' => empty($options['translation']) ? trans('general.no') : $this->findTranslation($options['translation'][0], 1),
|
||||
],
|
||||
[
|
||||
'key' => 1,
|
||||
'value' => empty($options['translation']) ? trans('general.yes') : trans($options['translation'][1]),
|
||||
'value' => empty($options['translation']) ? trans('general.yes') : $this->findTranslation($options['translation'][1], 1),
|
||||
],
|
||||
];
|
||||
} else if (isset($options['values'])) {
|
||||
foreach ($options['values'] as $key => $value) {
|
||||
$values[$key] = trans($value);
|
||||
$values[$key] = $this->findTranslation($value, 1);
|
||||
}
|
||||
} else if ($search = request()->get('search', false)) {
|
||||
$fields = explode(' ', $search);
|
||||
|
@ -119,7 +119,7 @@ return [
|
||||
'hide_amount' => env('SETTING_FALLBACK_INVOICE_HIDE_AMOUNT', false),
|
||||
'payment_terms' => env('SETTING_FALLBACK_INVOICE_PAYMENT_TERMS', '0'),
|
||||
'template' => env('SETTING_FALLBACK_INVOICE_TEMPLATE', 'default'),
|
||||
'color' => env('SETTING_FALLBACK_INVOICE_COLOR', '#55588b'),
|
||||
'color' => env('SETTING_FALLBACK_INVOICE_COLOR', 'purple-500'),
|
||||
'logo_size_width' => env('SETTING_FALLBACK_INVOICE_LOGO_SIZE_WIDTH', 128),
|
||||
'logo_size_height' => env('SETTING_FALLBACK_INVOICE_LOGO_SIZE_HEIGHT', 128),
|
||||
'item_search_char_limit' => env('SETTING_FALLBACK_INVOICE_ITEM_SEARCH_CHAR_LIMIT', 3),
|
||||
@ -138,7 +138,7 @@ return [
|
||||
'quantity_name' => env('SETTING_FALLBACK_BILL_QUANTITY_NAME', 'settings.invoice.quantity'),
|
||||
'payment_terms' => env('SETTING_FALLBACK_BILL_PAYMENT_TERMS', '0'),
|
||||
'template' => env('SETTING_FALLBACK_BILL_TEMPLATE', 'default'),
|
||||
'color' => env('SETTING_FALLBACK_BILL_COLOR', '#55588b'),
|
||||
'color' => env('SETTING_FALLBACK_BILL_COLOR', 'purple-500'),
|
||||
'item_search_char_limit' => env('SETTING_FALLBACK_BILL_ITEM_SEARCH_CHAR_LIMIT', 3),
|
||||
],
|
||||
'bill-recurring' => [
|
||||
|
15
public/akaunting-js/generalAction.js
vendored
15
public/akaunting-js/generalAction.js
vendored
@ -277,4 +277,17 @@ function runTooltip(tooltipToggleEl) {
|
||||
tooltipToggleEl.addEventListener(event, hide);
|
||||
});
|
||||
}
|
||||
// Tooltip elements using [data-tooltip-target], [data-tooltip-placement]
|
||||
// Tooltip elements using [data-tooltip-target], [data-tooltip-placement]
|
||||
|
||||
//Auto Height for Textarea
|
||||
const tx = document.querySelectorAll('[textarea-auto-height]');
|
||||
for (let i = 0; i < tx.length; i++) {
|
||||
tx[i].setAttribute('style', 'height:' + (tx[i].scrollHeight) + 'px;overflow-y:hidden;');
|
||||
tx[i].addEventListener('input', OnInput, false);
|
||||
}
|
||||
|
||||
function OnInput() {
|
||||
this.style.height = 'auto';
|
||||
this.style.height = (this.scrollHeight) + 'px';
|
||||
}
|
||||
//Auto Height for Textarea
|
12828
public/css/app.css
vendored
12828
public/css/app.css
vendored
File diff suppressed because it is too large
Load Diff
52
public/css/print.css
vendored
52
public/css/print.css
vendored
@ -59,12 +59,12 @@ th, td
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.mt-1
|
||||
.print-template .mt-1
|
||||
{
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.ml-1
|
||||
.print-template .ml-1
|
||||
{
|
||||
margin-left: 8px;
|
||||
}
|
||||
@ -74,67 +74,67 @@ th, td
|
||||
padding-left: 18px;
|
||||
}
|
||||
|
||||
.mt-0
|
||||
.print-template .mt-0
|
||||
{
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
|
||||
.mt-1
|
||||
.print-template .mt-1
|
||||
{
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.mt-2
|
||||
.print-template .mt-2
|
||||
{
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.mt-3
|
||||
.print-template .mt-3
|
||||
{
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.mt-4
|
||||
.print-template .mt-4
|
||||
{
|
||||
margin-top: 32px;
|
||||
}
|
||||
|
||||
.mt-5
|
||||
.print-template .mt-5
|
||||
{
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.mt-6
|
||||
.print-template .mt-6
|
||||
{
|
||||
margin-top: 48px;
|
||||
}
|
||||
|
||||
.mt-7
|
||||
.print-template .mt-7
|
||||
{
|
||||
margin-top: 56px;
|
||||
}
|
||||
|
||||
.mt-8
|
||||
.print-template .mt-8
|
||||
{
|
||||
margin-top: 64px;
|
||||
}
|
||||
|
||||
.mt-9
|
||||
.print-template .mt-9
|
||||
{
|
||||
margin-top: 72px;
|
||||
}
|
||||
|
||||
.pb-0
|
||||
.print-template .pb-0
|
||||
{
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.pb-1
|
||||
.print-template .pb-1
|
||||
{
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
.py-1
|
||||
.print-template .py-1
|
||||
{
|
||||
padding-bottom: 3px;
|
||||
padding-top: 3px;
|
||||
@ -158,47 +158,47 @@ th, td
|
||||
padding: 0 10px 0 10px;
|
||||
}
|
||||
|
||||
.pt-2
|
||||
.print-template .pt-2
|
||||
{
|
||||
padding-top: 16px;
|
||||
}
|
||||
|
||||
.pb-2
|
||||
.print-template .pb-2
|
||||
{
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
|
||||
.pl-3
|
||||
.print-template .pl-3
|
||||
{
|
||||
padding-left: 24px;
|
||||
}
|
||||
|
||||
.pl-4
|
||||
.print-template .pl-4
|
||||
{
|
||||
padding-left: 32px;
|
||||
}
|
||||
|
||||
.pl-5
|
||||
.print-template .pl-5
|
||||
{
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
.pl-6
|
||||
.print-template .pl-6
|
||||
{
|
||||
padding-left: 48px;
|
||||
}
|
||||
|
||||
.pl-7
|
||||
.print-template .pl-7
|
||||
{
|
||||
padding-left: 56px;
|
||||
}
|
||||
|
||||
.pl-8
|
||||
.print-template .pl-8
|
||||
{
|
||||
padding-left: 64px;
|
||||
}
|
||||
|
||||
.pl-9
|
||||
.print-template .pl-9
|
||||
{
|
||||
padding-left: 72px;
|
||||
}
|
||||
@ -383,7 +383,7 @@ html[dir='rtl'] .text-alignment-right {
|
||||
.lines
|
||||
{
|
||||
border-collapse: collapse;
|
||||
table-layout: fixed;
|
||||
table-layout: auto;
|
||||
border-bottom: 1px solid #adadad;
|
||||
}
|
||||
|
||||
@ -564,7 +564,7 @@ html[dir='rtl'] .text-alignment-right {
|
||||
.modern-lines
|
||||
{
|
||||
border-collapse: collapse;
|
||||
table-layout: fixed;
|
||||
table-layout: auto;
|
||||
}
|
||||
|
||||
.modern-lines .item
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 101 KiB After Width: | Height: | Size: 102 KiB |
@ -222,7 +222,7 @@ export default {
|
||||
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
documentClasses.remove("overflow-hidden");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
@ -239,7 +239,7 @@ export default {
|
||||
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
documentClasses.remove("overflow-hidden");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
},
|
||||
},
|
||||
};
|
||||
|
@ -528,7 +528,7 @@ export default {
|
||||
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
documentClasses.remove("overflow-hidden");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
@ -544,7 +544,7 @@ export default {
|
||||
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
documentClasses.remove("overflow-hidden");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
},
|
||||
|
||||
closeIfClickedOutside(event) {
|
||||
|
@ -165,7 +165,7 @@ export default {
|
||||
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
documentClasses.remove("overflow-hidden");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
},
|
||||
},
|
||||
};
|
||||
|
@ -444,7 +444,7 @@ export default {
|
||||
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
documentClasses.remove("overflow-hidden");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
@ -463,7 +463,7 @@ export default {
|
||||
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
documentClasses.remove("overflow-hidden");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
},
|
||||
|
||||
closeIfClickedOutside(event) {
|
||||
|
@ -125,7 +125,7 @@ export default {
|
||||
if (this.show) {
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
documentClasses.add("overflow-hidden");
|
||||
documentClasses.add('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
}
|
||||
|
||||
if (this.modalDialogClass) {
|
||||
@ -158,7 +158,7 @@ export default {
|
||||
onCancel() {
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
documentClasses.remove("overflow-hidden");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
|
||||
this.$emit("cancel");
|
||||
}
|
||||
@ -169,9 +169,9 @@ export default {
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
if (val) {
|
||||
documentClasses.add("overflow-hidden");
|
||||
documentClasses.add('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
} else {
|
||||
documentClasses.remove("overflow-hidden");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -154,7 +154,7 @@ export default {
|
||||
created: function () {
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
documentClasses.add("overflow-hidden");
|
||||
documentClasses.add('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
|
||||
if (this.modalDialogClass) {
|
||||
let modal_size = this.modalDialogClass.replace('modal-', 'max-w-screen-');
|
||||
@ -311,7 +311,7 @@ export default {
|
||||
onCancel() {
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
documentClasses.remove("overflow-hidden");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
|
||||
this.$emit("cancel");
|
||||
}
|
||||
@ -322,9 +322,9 @@ export default {
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
if (val) {
|
||||
documentClasses.add("overflow-hidden");
|
||||
documentClasses.add('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
} else {
|
||||
documentClasses.remove("overflow-hidden");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -693,7 +693,7 @@ export default {
|
||||
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
documentClasses.remove("overflow-hidden");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
@ -712,7 +712,7 @@ export default {
|
||||
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
documentClasses.remove("overflow-hidden");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
},
|
||||
|
||||
addModal() {
|
||||
|
@ -5,6 +5,7 @@
|
||||
:class="[
|
||||
{'readonly': readonly},
|
||||
{'disabled': disabled},
|
||||
{'no-arrow': noArrow},
|
||||
formClasses
|
||||
]"
|
||||
:error="formError">
|
||||
@ -346,6 +347,12 @@ export default {
|
||||
description: "Selectbox disabled status"
|
||||
},
|
||||
|
||||
noArrow: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
description: "Selectbox show arrow"
|
||||
},
|
||||
|
||||
clearable: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
@ -908,7 +915,7 @@ export default {
|
||||
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
documentClasses.remove("overflow-hidden");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
@ -927,7 +934,7 @@ export default {
|
||||
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
documentClasses.remove("overflow-hidden");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
},
|
||||
|
||||
addModal() {
|
||||
|
@ -253,7 +253,7 @@ export default {
|
||||
onCancel() {
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
documentClasses.remove("overflow-hidden");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
|
||||
this.display = false;
|
||||
this.form.name = '';
|
||||
@ -272,9 +272,9 @@ export default {
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
if (val) {
|
||||
documentClasses.add("overflow-hidden");
|
||||
documentClasses.add('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
} else {
|
||||
documentClasses.remove("overflow-hidden");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -110,9 +110,9 @@
|
||||
show(val) {
|
||||
let documentClasses = document.body.classList;
|
||||
if (val) {
|
||||
documentClasses.add("overflow-hidden");
|
||||
documentClasses.add('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
} else {
|
||||
documentClasses.remove("overflow-hidden");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
39
resources/assets/js/mixins/global.js
vendored
39
resources/assets/js/mixins/global.js
vendored
@ -85,7 +85,12 @@ export default {
|
||||
"thousands_separator":",",
|
||||
},
|
||||
all_currencies: [],
|
||||
content_loading: true
|
||||
content_loading: true,
|
||||
connect: {
|
||||
show: false,
|
||||
currency: {},
|
||||
documents: [],
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
@ -627,7 +632,7 @@ export default {
|
||||
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
documentClasses.remove("modal-open");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
},
|
||||
}
|
||||
})
|
||||
@ -656,6 +661,34 @@ export default {
|
||||
copy_badge.classList.remove('flex');
|
||||
copy_html.classList.remove('hidden');
|
||||
}, 800);
|
||||
}
|
||||
},
|
||||
|
||||
//connect transactions for account, document or etc.
|
||||
onConnectTransactions(route) {
|
||||
let dial_promise = Promise.resolve(window.axios.get(route));
|
||||
|
||||
dial_promise.then(response => {
|
||||
this.connect.show = true;
|
||||
|
||||
this.connect.transaction = JSON.parse(response.data.transaction);
|
||||
|
||||
let currency = JSON.parse(response.data.currency);
|
||||
|
||||
this.connect.currency = {
|
||||
decimal_mark: currency.decimal_mark,
|
||||
precision: currency.precision,
|
||||
symbol: currency.symbol,
|
||||
symbol_first: currency.symbol_first,
|
||||
thousands_separator: currency.thousands_separator,
|
||||
};
|
||||
|
||||
this.connect.documents = JSON.parse(response.data.documents);
|
||||
})
|
||||
.catch(error => {
|
||||
})
|
||||
.finally(function () {
|
||||
// always executed
|
||||
});
|
||||
},
|
||||
}
|
||||
}
|
||||
|
@ -29,42 +29,10 @@ const app = new Vue({
|
||||
return {
|
||||
form: new Form('transaction'),
|
||||
bulk_action: new BulkAction('transactions'),
|
||||
connect: {
|
||||
show: false,
|
||||
currency: {},
|
||||
documents: [],
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
onConnect(route) {
|
||||
let dial_promise = Promise.resolve(window.axios.get(route));
|
||||
|
||||
dial_promise.then(response => {
|
||||
this.connect.show = true;
|
||||
|
||||
this.connect.transaction = JSON.parse(response.data.transaction);
|
||||
|
||||
let currency = JSON.parse(response.data.currency);
|
||||
|
||||
this.connect.currency = {
|
||||
decimal_mark: currency.decimal_mark,
|
||||
precision: currency.precision,
|
||||
symbol: currency.symbol,
|
||||
symbol_first: currency.symbol_first,
|
||||
thousands_separator: currency.thousands_separator,
|
||||
};
|
||||
|
||||
this.connect.documents = JSON.parse(response.data.documents);
|
||||
})
|
||||
.catch(error => {
|
||||
})
|
||||
.finally(function () {
|
||||
// always executed
|
||||
});
|
||||
},
|
||||
|
||||
async onEmail(route) {
|
||||
let email = {
|
||||
modal: false,
|
||||
@ -110,7 +78,7 @@ const app = new Vue({
|
||||
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
documentClasses.remove("modal-open");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
},
|
||||
}
|
||||
})
|
||||
|
41
resources/assets/js/views/common/documents.js
vendored
41
resources/assets/js/views/common/documents.js
vendored
@ -68,7 +68,13 @@ const app = new Vue({
|
||||
dynamic_taxes: [],
|
||||
show_discount: false,
|
||||
show_discount_text: true,
|
||||
delete_discount: false
|
||||
delete_discount: false,
|
||||
regex_condition: [
|
||||
'..',
|
||||
'.,',
|
||||
',.',
|
||||
',,'
|
||||
],
|
||||
}
|
||||
},
|
||||
|
||||
@ -488,11 +494,14 @@ const app = new Vue({
|
||||
|
||||
onChangeDiscountType(type) {
|
||||
this.form.discount_type = type;
|
||||
|
||||
this.onAddTotalDiscount();
|
||||
this.onCalculateTotal();
|
||||
},
|
||||
|
||||
onChangeLineDiscountType(item_index, type) {
|
||||
this.items[item_index].discount_type = type;
|
||||
|
||||
this.onCalculateTotal();
|
||||
},
|
||||
|
||||
@ -669,7 +678,7 @@ const app = new Vue({
|
||||
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
documentClasses.remove("modal-open");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
},
|
||||
}
|
||||
})
|
||||
@ -787,7 +796,7 @@ const app = new Vue({
|
||||
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
documentClasses.remove("modal-open");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
},
|
||||
}
|
||||
})
|
||||
@ -844,7 +853,7 @@ const app = new Vue({
|
||||
|
||||
let documentClasses = document.body.classList;
|
||||
|
||||
documentClasses.remove("modal-open");
|
||||
documentClasses.remove('overflow-y-hidden', 'overflow-overlay', '-ml-4');
|
||||
},
|
||||
}
|
||||
})
|
||||
@ -1062,5 +1071,27 @@ const app = new Vue({
|
||||
}
|
||||
|
||||
this.page_loaded = true;
|
||||
}
|
||||
},
|
||||
|
||||
watch: {
|
||||
'form.discount': function (newVal, oldVal) {
|
||||
if (newVal != '' && newVal.search('^(?=.*?[0-9])[0-9.,]+$') !== 0) {
|
||||
this.form.discount = oldVal;
|
||||
this.form.discount = this.form.discount.replace(',', '.');
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
for (let item of this.regex_condition) {
|
||||
if (this.form.discount.includes(item)) {
|
||||
const removeLastChar = newVal.length - 1;
|
||||
const inputShown = newVal.slice(0, removeLastChar);
|
||||
|
||||
this.form.discount = inputShown;
|
||||
}
|
||||
}
|
||||
|
||||
this.form.discount = this.form.discount.replace(',', '.');
|
||||
},
|
||||
},
|
||||
});
|
||||
|
19
resources/assets/js/views/modules/apps.js
vendored
19
resources/assets/js/views/modules/apps.js
vendored
@ -82,12 +82,15 @@ const app = new Vue({
|
||||
html: ''
|
||||
},
|
||||
|
||||
addToCartLoading: false,
|
||||
loadMoreLoading: false,
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
addToCart(alias, subscription_type) {
|
||||
this.addToCartLoading = true;
|
||||
|
||||
let add_to_cart_promise = Promise.resolve(axios.get(url + '/apps/' + alias + '/' + subscription_type +'/add'));
|
||||
|
||||
add_to_cart_promise.then(response => {
|
||||
@ -95,25 +98,15 @@ const app = new Vue({
|
||||
this.$notify({
|
||||
message: response.data.message,
|
||||
timeout: 0,
|
||||
icon: "fas fa-bell",
|
||||
icon: "shopping_cart_checkout",
|
||||
type: 'success'
|
||||
});
|
||||
}
|
||||
|
||||
if (response.data.error) {
|
||||
this.installation.status = 'exception';
|
||||
this.installation.html = '<div class="text-red">' + response.data.message + '</div>';
|
||||
}
|
||||
|
||||
// Set steps
|
||||
if (response.data.data) {
|
||||
this.installation.steps = response.data.data;
|
||||
this.installation.steps_total = this.installation.steps.length;
|
||||
|
||||
this.next();
|
||||
}
|
||||
this.addToCartLoading = false;
|
||||
})
|
||||
.catch(error => {
|
||||
this.addToCartLoading = false;
|
||||
});
|
||||
},
|
||||
|
||||
|
6
resources/assets/sass/app.css
vendored
6
resources/assets/sass/app.css
vendored
@ -185,7 +185,7 @@
|
||||
}
|
||||
|
||||
.overflow-overlay {
|
||||
overflow: overlay;
|
||||
overflow-x: overlay;
|
||||
}
|
||||
|
||||
.py-top {
|
||||
@ -357,6 +357,10 @@
|
||||
content: "\e6e1";
|
||||
}
|
||||
|
||||
.no-arrow .el-select__caret {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.el-input .el-icon-circle-close {
|
||||
transform: unset !important;
|
||||
transition: unset !important;
|
||||
|
@ -2,84 +2,80 @@
|
||||
|
||||
return [
|
||||
|
||||
'edit_columns' => 'Izmjena kolona',
|
||||
'empty_items' => 'Niste dodali nijednu stavku.',
|
||||
'edit_columns' => 'Izmjena kolona',
|
||||
'empty_items' => 'Niste dodali nijednu stavku.',
|
||||
'grand_total' => 'TOTAL',
|
||||
'accept_payment_online' => 'Prihvatite plaćanja na mreži',
|
||||
'transaction' => 'Plaćanje za :iznos je izvršeno pomoću :računa.',
|
||||
'billing' => 'Naplata',
|
||||
'advanced' => 'Napredno',
|
||||
|
||||
'invoice_detail' => [
|
||||
'marked' => '<b> Vi </b> označili ste ovu fakturu kao',
|
||||
'services' => 'Usluge',
|
||||
'another_item' => 'Druga stavka',
|
||||
'another_description' => 'i drugi opis',
|
||||
'more_item' => '+:count više stavki',
|
||||
'invoice_detail' => [
|
||||
'marked' => '<b> Vi </b> označili ste ovu fakturu kao',
|
||||
'services' => 'Usluge',
|
||||
'another_item' => 'Druga stavka',
|
||||
'another_description' => 'i drugi opis',
|
||||
'more_item' => '+:count više stavki',
|
||||
],
|
||||
|
||||
'grand_total' => 'TOTAL',
|
||||
|
||||
'accept_payment_online' => 'Prihvatite plaćanja na mreži',
|
||||
|
||||
'transaction' => 'Plaćanje za :iznos je izvršeno pomoću :računa.',
|
||||
|
||||
'billing' => 'Naplata',
|
||||
'advanced' => 'Napredno',
|
||||
|
||||
'statuses' => [
|
||||
'draft' => 'U pripremi',
|
||||
'sent' => 'Poslano',
|
||||
'expired' => 'Isteklo',
|
||||
'viewed' => 'Pregledano',
|
||||
'approved' => 'Odobreno',
|
||||
'received' => 'Primjeno',
|
||||
'refused' => 'Odbijeno',
|
||||
'restored' => 'Vraćeno',
|
||||
'reversed' => 'Obrnuto',
|
||||
'partial' => 'Djelomično',
|
||||
'paid' => 'Plaćeno',
|
||||
'pending' => 'Na čekanju',
|
||||
'invoiced' => 'Fakturisano',
|
||||
'overdue' => 'Kasni uplata',
|
||||
'unpaid' => 'Neplaćeno',
|
||||
'cancelled' => 'Otkazano',
|
||||
'voided' => 'Poništeno',
|
||||
'completed' => 'Završenoi',
|
||||
'shipped' => 'Dostavljeno',
|
||||
'refunded' => 'Izvršiti povrat novca',
|
||||
'failed' => 'Neuspješno',
|
||||
'denied' => 'Odbijenos',
|
||||
'processed' => 'U obradi',
|
||||
'open' => 'Otvoreno',
|
||||
'closed' => 'Zatvoreno',
|
||||
'billed' => 'Naplaćeno',
|
||||
'delivered' => 'Dostavljeno',
|
||||
'returned' => 'Vraćeno',
|
||||
'drawn' => 'Izvučeno',
|
||||
'not_billed' => 'Nije naplaćeno',
|
||||
'issued' => 'Izdato',
|
||||
'not_invoiced' => 'Nije fakturisano',
|
||||
'confirmed' => 'Potvrđeno',
|
||||
'not_confirmed' => 'Nije potvrđeno',
|
||||
'active' => 'Aktivan',
|
||||
'ended' => 'Završeno',
|
||||
'draft' => 'U pripremi',
|
||||
'sent' => 'Poslano',
|
||||
'expired' => 'Isteklo',
|
||||
'viewed' => 'Pregledano',
|
||||
'approved' => 'Odobreno',
|
||||
'received' => 'Primjeno',
|
||||
'refused' => 'Odbijeno',
|
||||
'restored' => 'Vraćeno',
|
||||
'reversed' => 'Obrnuto',
|
||||
'partial' => 'Djelomično',
|
||||
'paid' => 'Plaćeno',
|
||||
'pending' => 'Na čekanju',
|
||||
'invoiced' => 'Fakturisano',
|
||||
'overdue' => 'Kasni uplata',
|
||||
'unpaid' => 'Neplaćeno',
|
||||
'cancelled' => 'Otkazano',
|
||||
'voided' => 'Poništeno',
|
||||
'completed' => 'Završenoi',
|
||||
'shipped' => 'Dostavljeno',
|
||||
'refunded' => 'Izvršiti povrat novca',
|
||||
'failed' => 'Neuspješno',
|
||||
'denied' => 'Odbijenos',
|
||||
'processed' => 'U obradi',
|
||||
'open' => 'Otvoreno',
|
||||
'closed' => 'Zatvoreno',
|
||||
'billed' => 'Naplaćeno',
|
||||
'delivered' => 'Dostavljeno',
|
||||
'returned' => 'Vraćeno',
|
||||
'drawn' => 'Izvučeno',
|
||||
'not_billed' => 'Nije naplaćeno',
|
||||
'issued' => 'Izdato',
|
||||
'not_invoiced' => 'Nije fakturisano',
|
||||
'confirmed' => 'Potvrđeno',
|
||||
'not_confirmed' => 'Nije potvrđeno',
|
||||
'active' => 'Aktivan',
|
||||
'ended' => 'Završeno',
|
||||
],
|
||||
|
||||
'form_description' => [
|
||||
'companies' => 'Promijenite adresu, logo i druge informacije za svoju kompaniju.',
|
||||
'billing' => 'Detalji naplate se pojavljuju u vašem dokumentu.',
|
||||
'advanced' => 'Odaberite kategoriju, dodajte ili uredite podnožje i dodajte priloge svom :type.',
|
||||
'attachment' => 'Preuzmite datoteke priložene ovom :type',
|
||||
'companies' => 'Promijenite adresu, logo i druge informacije za svoju kompaniju.',
|
||||
'billing' => 'Detalji naplate se pojavljuju u vašem dokumentu.',
|
||||
'advanced' => 'Odaberite kategoriju, dodajte ili uredite podnožje i dodajte priloge svom :type.',
|
||||
'attachment' => 'Preuzmite datoteke priložene ovom :type',
|
||||
],
|
||||
|
||||
'messages' => [
|
||||
'email_sent' => ':type email je poslan!',
|
||||
'marked_as' => ':type prebačen je u :status!',
|
||||
'marked_sent' => ':type označen je kao poslan!',
|
||||
'marked_paid' => ':type označen je kao plaćen!',
|
||||
'marked_viewed' => ':type označen je kao pregledan!',
|
||||
'marked_cancelled' => ':type označen je kao otkazan!',
|
||||
'marked_received' => ':type označen je kao primljen!',
|
||||
'email_sent' => ':type email je poslan!',
|
||||
'marked_as' => ':type prebačen je u :status!',
|
||||
'marked_sent' => ':type označen je kao poslan!',
|
||||
'marked_paid' => ':type označen je kao plaćen!',
|
||||
'marked_viewed' => ':type označen je kao pregledan!',
|
||||
'marked_cancelled' => ':type označen je kao otkazan!',
|
||||
'marked_received' => ':type označen je kao primljen!',
|
||||
],
|
||||
|
||||
'recurring' => [
|
||||
'auto_generated' => 'Auto-generisani',
|
||||
'auto_generated' => 'Auto-generisani',
|
||||
|
||||
'tooltip' => [
|
||||
'document_date' => 'Datum :type će biti automatski dodijeljen na osnovu :type rasporeda i učestalosti.',
|
||||
|
@ -4,7 +4,6 @@ return [
|
||||
|
||||
'dashboards' => 'Kontrolna ploča|Kontrolna ploče',
|
||||
'items' => 'Stavka|Stavke',
|
||||
'incomes' => 'Prihod|Prihodi',
|
||||
'invoices' => 'Faktura|Fakture',
|
||||
'recurring_invoices' => 'Ponavljajuća faktura|Ponavljajuće fakture',
|
||||
'customers' => 'Kupac|Kupci',
|
||||
@ -70,6 +69,7 @@ return [
|
||||
'invitations' => 'Pozivnica|Pozivnice',
|
||||
'attachments' => 'Prilog|Prilozi',
|
||||
'histories' => 'Istorija|Istorije',
|
||||
'your_notifications' => 'Vaše obavještenje|Vaša obavještenja',
|
||||
|
||||
'welcome' => 'Dobrodošli',
|
||||
'banking' => 'Bankarstvo',
|
||||
@ -184,6 +184,7 @@ return [
|
||||
'no_matching_data' => 'Nema podudaranja podataka',
|
||||
'clear_cache' => 'Očisti cache',
|
||||
'go_to_dashboard' => 'Idite na nadzornu ploču',
|
||||
'create_first_invoice' => 'Kreiraj prvu fakturu',
|
||||
'is' => 'je',
|
||||
'isnot' => 'nije',
|
||||
'recurring_and_more' => 'Ponavlja se i više',
|
||||
@ -199,7 +200,6 @@ return [
|
||||
'email_send_me' => 'Pošalji kopiju meni na email :email',
|
||||
'connect' => 'Poveži',
|
||||
'assign' => 'Dodijeliti',
|
||||
'your_notifications' => 'Vaše obavještenje|Vaša obavještenja',
|
||||
'new' => 'Novo',
|
||||
'new_more' => 'Novo...',
|
||||
'number' => 'Broj',
|
||||
|
@ -15,6 +15,27 @@ return [
|
||||
'weeks' => 'Sedmice(a)',
|
||||
'months' => 'Mjesec(i)',
|
||||
'years' => 'Godine(a)',
|
||||
'frequency' => 'Frekvencija',
|
||||
'duration' => 'Trajanje',
|
||||
'last_issued' => 'Zadnje izdavanje',
|
||||
'after' => 'Nakon',
|
||||
'on' => 'Uključeno',
|
||||
'never' => 'Nikad',
|
||||
'ends_after' => 'Ističe nakon :times puta',
|
||||
'ends_never' => 'Nikad ne završi',
|
||||
'ends_date' => 'Završava :date',
|
||||
'next_date' => 'Slijedeći :date ',
|
||||
'end' => 'Kraj ponavljanja',
|
||||
'child' => ':url je automatski kreiran :date',
|
||||
'message' => 'Ovo je ponavljajući :type i sljedeći :type će automatski biti generiran :date',
|
||||
'message_parent' => 'Ovaj :type je automatski generisan ovdje :link',
|
||||
|
||||
'frequency_type' => 'Ponovite ovo :type',
|
||||
'limit_date' => 'Kreirajte prvo :type',
|
||||
'limit_middle' => 'i kraj',
|
||||
|
||||
'form_description' => [
|
||||
'schedule' => 'Odaberite uslove i vrijeme početka/završetka kako biste osigurali da vaš kupac dobije vaš :type na ispravan dan.',
|
||||
],
|
||||
|
||||
];
|
||||
|
@ -2,27 +2,42 @@
|
||||
|
||||
return [
|
||||
|
||||
'years' => 'Godina|Godine',
|
||||
'this_year' => 'Tekuća godina',
|
||||
'previous_year' => 'Prethodna godina',
|
||||
'this_quarter' => 'Ovaj kvartal',
|
||||
'previous_quarter' => 'Prethodni kvartal',
|
||||
'last_12_months' => 'Zadnjih 12 mjeseci',
|
||||
'profit_loss' => 'Dobit i gubitak',
|
||||
'gross_profit' => 'Bruto dobit',
|
||||
'net_profit' => 'Neto dobit',
|
||||
'total_expenses' => 'Ukupni troškovi',
|
||||
'net' => 'Neto',
|
||||
'income_expense' => 'Prihod i rashod',
|
||||
'income_summary' => 'Sažetak prihoda',
|
||||
'expense_summary' => 'Sažetak troškova',
|
||||
'income_expense_summary' => 'Prihodi nasuprot troškovima',
|
||||
'tax_summary' => 'Sažetak poreza',
|
||||
'years' => 'Godina|Godine',
|
||||
'preferences' => 'Benefit|Benefiti',
|
||||
'this_year' => 'Tekuća godina',
|
||||
'previous_year' => 'Prethodna godina',
|
||||
'this_quarter' => 'Ovaj kvartal',
|
||||
'previous_quarter' => 'Prethodni kvartal',
|
||||
'last_12_months' => 'Zadnjih 12 mjeseci',
|
||||
'profit_loss' => 'Dobit i gubitak',
|
||||
'income_summary' => 'Sažetak prihoda',
|
||||
'expense_summary' => 'Sažetak troškova',
|
||||
'income_expense_summary' => 'Prihodi nasuprot troškovima',
|
||||
'tax_summary' => 'Sažetak poreza',
|
||||
'gross_profit' => 'Bruto dobit',
|
||||
'net_profit' => 'Neto dobit',
|
||||
'total_expenses' => 'Ukupni troškovi',
|
||||
'net' => 'Neto',
|
||||
'income_expense' => 'Prihod i rashod',
|
||||
'pin' => 'Zakačite svoj izvještaj',
|
||||
|
||||
'charts' => [
|
||||
'line' => 'Crta',
|
||||
'bar' => 'Graf',
|
||||
'pie' => 'Pita',
|
||||
'income_expense_description' => 'Opis izvještaja o prihodima i rashodima',
|
||||
'accounting_description' => 'Opis za računovodstvene izvještaje',
|
||||
|
||||
'form_description' => [
|
||||
'general' => 'Ovdje možete unijeti opće informacije izvještaja kao što su naziv, tip, opis itd.',
|
||||
'preferences' => 'Podešavanja vam pomažu da prilagodite svoje izvještaje.'
|
||||
],
|
||||
|
||||
'charts' => [
|
||||
'line' => 'Crta',
|
||||
'bar' => 'Graf',
|
||||
'pie' => 'Pita',
|
||||
],
|
||||
|
||||
'pin_text' => [
|
||||
'unpin_report' => 'Otkačite svoj izvještaj',
|
||||
'pin_report' => 'Zakačite svoj izvještaj',
|
||||
]
|
||||
|
||||
];
|
||||
|
@ -2,84 +2,80 @@
|
||||
|
||||
return [
|
||||
|
||||
'edit_columns' => 'Edita les columnes',
|
||||
'empty_items' => 'No has afegit cap element.',
|
||||
'edit_columns' => 'Edita les columnes',
|
||||
'empty_items' => 'No has afegit cap element.',
|
||||
'grand_total' => 'Suma total',
|
||||
'accept_payment_online' => 'Accepta pagaments en línia',
|
||||
'transaction' => 'S\'ha efectuat un pagament de :amount utilitzant :account',
|
||||
'billing' => 'Facturació',
|
||||
'advanced' => 'Avançat',
|
||||
|
||||
'invoice_detail' => [
|
||||
'marked' => '<b> Tu </b> has marcat aquesta factura com',
|
||||
'services' => 'Serveis',
|
||||
'another_item' => 'Un altre article',
|
||||
'another_description' => 'i una altra descripció',
|
||||
'more_item' => '+:count més article(s)',
|
||||
'invoice_detail' => [
|
||||
'marked' => '<b> Tu </b> has marcat aquesta factura com',
|
||||
'services' => 'Serveis',
|
||||
'another_item' => 'Un altre article',
|
||||
'another_description' => 'i una altra descripció',
|
||||
'more_item' => '+:count més article(s)',
|
||||
],
|
||||
|
||||
'grand_total' => 'Suma total',
|
||||
|
||||
'accept_payment_online' => 'Accepta pagaments en línia',
|
||||
|
||||
'transaction' => 'S\'ha efectuat un pagament de :amount utilitzant :account',
|
||||
|
||||
'billing' => 'Facturació',
|
||||
'advanced' => 'Avançat',
|
||||
|
||||
'statuses' => [
|
||||
'draft' => 'Esborrany',
|
||||
'sent' => 'Enviat',
|
||||
'expired' => 'Vençut',
|
||||
'viewed' => 'Vist',
|
||||
'approved' => 'Aprovat',
|
||||
'received' => 'Rebut',
|
||||
'refused' => 'Refusat',
|
||||
'restored' => 'Restablert',
|
||||
'reversed' => 'Capgirat',
|
||||
'partial' => 'Parcial',
|
||||
'paid' => 'Pagat',
|
||||
'pending' => 'Pendent',
|
||||
'invoiced' => 'Facturat',
|
||||
'overdue' => 'Vençut',
|
||||
'unpaid' => 'Pendent de pagament',
|
||||
'cancelled' => 'Cancel·lat',
|
||||
'voided' => 'Invalidat',
|
||||
'completed' => 'Completat',
|
||||
'shipped' => 'Enviat',
|
||||
'refunded' => 'Reemborsat',
|
||||
'failed' => 'S\'ha produït un error',
|
||||
'denied' => 'Denegat',
|
||||
'processed' => 'Processat',
|
||||
'open' => 'Obert',
|
||||
'closed' => 'Tancat',
|
||||
'billed' => 'Facturat',
|
||||
'delivered' => 'Enviat',
|
||||
'returned' => 'Retornat',
|
||||
'drawn' => 'Retirat',
|
||||
'not_billed' => 'No cobrat',
|
||||
'issued' => 'Emès',
|
||||
'not_invoiced' => 'No facturat',
|
||||
'confirmed' => 'Confirmat',
|
||||
'not_confirmed' => 'No confirmat',
|
||||
'active' => 'Actiu',
|
||||
'ended' => 'Finalitzat',
|
||||
'draft' => 'Esborrany',
|
||||
'sent' => 'Enviat',
|
||||
'expired' => 'Vençut',
|
||||
'viewed' => 'Vist',
|
||||
'approved' => 'Aprovat',
|
||||
'received' => 'Rebut',
|
||||
'refused' => 'Refusat',
|
||||
'restored' => 'Restablert',
|
||||
'reversed' => 'Capgirat',
|
||||
'partial' => 'Parcial',
|
||||
'paid' => 'Pagat',
|
||||
'pending' => 'Pendent',
|
||||
'invoiced' => 'Facturat',
|
||||
'overdue' => 'Vençut',
|
||||
'unpaid' => 'Pendent de pagament',
|
||||
'cancelled' => 'Cancel·lat',
|
||||
'voided' => 'Invalidat',
|
||||
'completed' => 'Completat',
|
||||
'shipped' => 'Enviat',
|
||||
'refunded' => 'Reemborsat',
|
||||
'failed' => 'S\'ha produït un error',
|
||||
'denied' => 'Denegat',
|
||||
'processed' => 'Processat',
|
||||
'open' => 'Obert',
|
||||
'closed' => 'Tancat',
|
||||
'billed' => 'Facturat',
|
||||
'delivered' => 'Enviat',
|
||||
'returned' => 'Retornat',
|
||||
'drawn' => 'Retirat',
|
||||
'not_billed' => 'No cobrat',
|
||||
'issued' => 'Emès',
|
||||
'not_invoiced' => 'No facturat',
|
||||
'confirmed' => 'Confirmat',
|
||||
'not_confirmed' => 'No confirmat',
|
||||
'active' => 'Actiu',
|
||||
'ended' => 'Finalitzat',
|
||||
],
|
||||
|
||||
'form_description' => [
|
||||
'companies' => 'Canvia l\'adreça, el logotip i altra informació de la teva empresa.',
|
||||
'billing' => 'Els detalls de facturació apareixen al teu document.',
|
||||
'advanced' => 'Selecciona la categoria, afegeix o edita el peu de pàgina i afegeix adjunts al teu :type.',
|
||||
'attachment' => 'Descarrega els arxius enllaçats a aquest :type',
|
||||
'companies' => 'Canvia l\'adreça, el logotip i altra informació de la teva empresa.',
|
||||
'billing' => 'Els detalls de facturació apareixen al teu document.',
|
||||
'advanced' => 'Selecciona la categoria, afegeix o edita el peu de pàgina i afegeix adjunts al teu :type.',
|
||||
'attachment' => 'Descarrega els arxius enllaçats a aquest :type',
|
||||
],
|
||||
|
||||
'messages' => [
|
||||
'email_sent' => 'S\'ha enviat :type per correu!',
|
||||
'marked_as' => 'S\'ha marcat :type com :status!',
|
||||
'marked_sent' => 'S\'ha marcat :type com enviat!',
|
||||
'marked_paid' => 'S\'ha marcat :type com enviat!',
|
||||
'marked_viewed' => 'S\'ha marcat :type com enviat!',
|
||||
'marked_cancelled' => 'S\'ha marcat :type com cancel·lat!',
|
||||
'marked_received' => 'S\'ha marcat :type com rebut!',
|
||||
'email_sent' => 'S\'ha enviat :type per correu!',
|
||||
'marked_as' => 'S\'ha marcat :type com :status!',
|
||||
'marked_sent' => 'S\'ha marcat :type com enviat!',
|
||||
'marked_paid' => 'S\'ha marcat :type com enviat!',
|
||||
'marked_viewed' => 'S\'ha marcat :type com enviat!',
|
||||
'marked_cancelled' => 'S\'ha marcat :type com cancel·lat!',
|
||||
'marked_received' => 'S\'ha marcat :type com rebut!',
|
||||
],
|
||||
|
||||
'recurring' => [
|
||||
'auto_generated' => 'Auto-generat',
|
||||
'auto_generated' => 'Auto-generat',
|
||||
|
||||
'tooltip' => [
|
||||
'document_date' => 'La data de :type s\'assignarà automàticament en funció de la planificació i frequència de :type.',
|
||||
|
@ -2,84 +2,80 @@
|
||||
|
||||
return [
|
||||
|
||||
'edit_columns' => 'Edit Columns',
|
||||
'empty_items' => 'You have not added any items.',
|
||||
'edit_columns' => 'Edit Columns',
|
||||
'empty_items' => 'You have not added any items.',
|
||||
'grand_total' => 'Grand Total',
|
||||
'accept_payment_online' => 'Accept Payments Online',
|
||||
'transaction' => 'A payment for :amount was made using :account.',
|
||||
'billing' => 'Billing',
|
||||
'advanced' => 'Advanced',
|
||||
|
||||
'invoice_detail' => [
|
||||
'marked' => '<b> You </b> marked this invoice as',
|
||||
'services' => 'Services',
|
||||
'another_item' => 'Another Item',
|
||||
'another_description' => 'and another description',
|
||||
'more_item' => '+:count more item',
|
||||
'invoice_detail' => [
|
||||
'marked' => '<b> You </b> marked this invoice as',
|
||||
'services' => 'Services',
|
||||
'another_item' => 'Another Item',
|
||||
'another_description' => 'and another description',
|
||||
'more_item' => '+:count more item',
|
||||
],
|
||||
|
||||
'grand_total' => 'Grand Total',
|
||||
|
||||
'accept_payment_online' => 'Accept Payments Online',
|
||||
|
||||
'transaction' => 'A payment for :amount was made using :account.',
|
||||
|
||||
'billing' => 'Billing',
|
||||
'advanced' => 'Advanced',
|
||||
|
||||
'statuses' => [
|
||||
'draft' => 'Draft',
|
||||
'sent' => 'Sent',
|
||||
'expired' => 'Expired',
|
||||
'viewed' => 'Viewed',
|
||||
'approved' => 'Approved',
|
||||
'received' => 'Received',
|
||||
'refused' => 'Refused',
|
||||
'restored' => 'Restored',
|
||||
'reversed' => 'Reversed',
|
||||
'partial' => 'Partial',
|
||||
'paid' => 'Paid',
|
||||
'pending' => 'Pending',
|
||||
'invoiced' => 'Invoiced',
|
||||
'overdue' => 'Overdue',
|
||||
'unpaid' => 'Unpaid',
|
||||
'cancelled' => 'Cancelled',
|
||||
'voided' => 'Voided',
|
||||
'completed' => 'Completed',
|
||||
'shipped' => 'Shipped',
|
||||
'refunded' => 'Refunded',
|
||||
'failed' => 'Failed',
|
||||
'denied' => 'Denied',
|
||||
'processed' => 'Processed',
|
||||
'open' => 'Open',
|
||||
'closed' => 'Closed',
|
||||
'billed' => 'Billed',
|
||||
'delivered' => 'Delivered',
|
||||
'returned' => 'Returned',
|
||||
'drawn' => 'Drawn',
|
||||
'not_billed' => 'Not Billed',
|
||||
'issued' => 'Issued',
|
||||
'not_invoiced' => 'Not Invoiced',
|
||||
'confirmed' => 'Confirmed',
|
||||
'not_confirmed' => 'Not Confirmed',
|
||||
'active' => 'Active',
|
||||
'ended' => 'Ended',
|
||||
'draft' => 'Draft',
|
||||
'sent' => 'Sent',
|
||||
'expired' => 'Expired',
|
||||
'viewed' => 'Viewed',
|
||||
'approved' => 'Approved',
|
||||
'received' => 'Received',
|
||||
'refused' => 'Refused',
|
||||
'restored' => 'Restored',
|
||||
'reversed' => 'Reversed',
|
||||
'partial' => 'Partial',
|
||||
'paid' => 'Paid',
|
||||
'pending' => 'Pending',
|
||||
'invoiced' => 'Invoiced',
|
||||
'overdue' => 'Overdue',
|
||||
'unpaid' => 'Unpaid',
|
||||
'cancelled' => 'Cancelled',
|
||||
'voided' => 'Voided',
|
||||
'completed' => 'Completed',
|
||||
'shipped' => 'Shipped',
|
||||
'refunded' => 'Refunded',
|
||||
'failed' => 'Failed',
|
||||
'denied' => 'Denied',
|
||||
'processed' => 'Processed',
|
||||
'open' => 'Open',
|
||||
'closed' => 'Closed',
|
||||
'billed' => 'Billed',
|
||||
'delivered' => 'Delivered',
|
||||
'returned' => 'Returned',
|
||||
'drawn' => 'Drawn',
|
||||
'not_billed' => 'Not Billed',
|
||||
'issued' => 'Issued',
|
||||
'not_invoiced' => 'Not Invoiced',
|
||||
'confirmed' => 'Confirmed',
|
||||
'not_confirmed' => 'Not Confirmed',
|
||||
'active' => 'Active',
|
||||
'ended' => 'Ended',
|
||||
],
|
||||
|
||||
'form_description' => [
|
||||
'companies' => 'Change the address, logo, and other information for your company.',
|
||||
'billing' => 'Billing details appears in your document.',
|
||||
'advanced' => 'Select the category, add or edit the footer, and add attachments to your :type.',
|
||||
'attachment' => 'Download the files attached to this :type',
|
||||
'companies' => 'Change the address, logo, and other information for your company.',
|
||||
'billing' => 'Billing details appears in your document.',
|
||||
'advanced' => 'Select the category, add or edit the footer, and add attachments to your :type.',
|
||||
'attachment' => 'Download the files attached to this :type',
|
||||
],
|
||||
|
||||
'messages' => [
|
||||
'email_sent' => ':type email has been sent!',
|
||||
'marked_as' => ':type marked as :status!',
|
||||
'marked_sent' => ':type marked as sent!',
|
||||
'marked_paid' => ':type marked as paid!',
|
||||
'marked_viewed' => ':type marked as viewed!',
|
||||
'marked_cancelled' => ':type marked as cancelled!',
|
||||
'marked_received' => ':type marked as received!',
|
||||
'email_sent' => ':type email has been sent!',
|
||||
'marked_as' => ':type marked as :status!',
|
||||
'marked_sent' => ':type marked as sent!',
|
||||
'marked_paid' => ':type marked as paid!',
|
||||
'marked_viewed' => ':type marked as viewed!',
|
||||
'marked_cancelled' => ':type marked as cancelled!',
|
||||
'marked_received' => ':type marked as received!',
|
||||
],
|
||||
|
||||
'recurring' => [
|
||||
'auto_generated' => 'Auto-generated',
|
||||
'auto_generated' => 'Auto-generated',
|
||||
|
||||
'tooltip' => [
|
||||
'document_date' => 'The :type date will be automatically assigned based on the :type schedule and frequency.',
|
||||
|
@ -4,7 +4,6 @@ return [
|
||||
|
||||
'dashboards' => 'Dashboard|Dashboards',
|
||||
'items' => 'Item|Items',
|
||||
'incomes' => 'Income|Incomes',
|
||||
'invoices' => 'Invoice|Invoices',
|
||||
'recurring_invoices' => 'Recurring Invoice|Recurring Invoices',
|
||||
'customers' => 'Customer|Customers',
|
||||
@ -70,6 +69,7 @@ return [
|
||||
'invitations' => 'Invitation|Invitations',
|
||||
'attachments' => 'Attachment|Attachments',
|
||||
'histories' => 'History|Histories',
|
||||
'your_notifications' => 'Your notification|Your notifications',
|
||||
|
||||
'welcome' => 'Welcome',
|
||||
'banking' => 'Banking',
|
||||
@ -184,6 +184,7 @@ return [
|
||||
'no_matching_data' => 'No matching data',
|
||||
'clear_cache' => 'Clear Cache',
|
||||
'go_to_dashboard' => 'Go to dashboard',
|
||||
'create_first_invoice' => 'Create your first invoice',
|
||||
'is' => 'is',
|
||||
'isnot' => 'is not',
|
||||
'recurring_and_more' => 'Recurring and more..',
|
||||
@ -199,7 +200,6 @@ return [
|
||||
'email_send_me' => 'Send a copy to myself at :email',
|
||||
'connect' => 'Connect',
|
||||
'assign' => 'Assign',
|
||||
'your_notifications' => 'Your notification|Your notifications',
|
||||
'new' => 'New',
|
||||
'new_more' => 'New ...',
|
||||
'number' => 'Number',
|
||||
|
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
'AF' => 'Afghanistan',
|
||||
'AX' => 'Åland Islands',
|
||||
'AL' => 'Albania',
|
||||
@ -119,6 +120,7 @@ return [
|
||||
'KZ' => 'Kazakhstan',
|
||||
'KE' => 'Kenya',
|
||||
'KI' => 'Kiribati',
|
||||
'XK' => 'Kosovo',
|
||||
'KW' => 'Kuwait',
|
||||
'KG' => 'Kyrgyzstan',
|
||||
'LA' => 'Laos',
|
||||
@ -250,4 +252,5 @@ return [
|
||||
'YE' => 'Yemen',
|
||||
'ZM' => 'Zambia',
|
||||
'ZW' => 'Zimbabwe',
|
||||
|
||||
];
|
||||
|
@ -2,84 +2,80 @@
|
||||
|
||||
return [
|
||||
|
||||
'edit_columns' => 'Edit Columns',
|
||||
'empty_items' => 'You have not added any items.',
|
||||
'edit_columns' => 'Edit Columns',
|
||||
'empty_items' => 'You have not added any items.',
|
||||
'grand_total' => 'Grand Total',
|
||||
'accept_payment_online' => 'Accept Payments Online',
|
||||
'transaction' => 'A payment for :amount was made using :account.',
|
||||
'billing' => 'Billing',
|
||||
'advanced' => 'Advanced',
|
||||
|
||||
'invoice_detail' => [
|
||||
'marked' => '<b> You </b> marked this invoice as',
|
||||
'services' => 'Services',
|
||||
'another_item' => 'Another Item',
|
||||
'another_description' => 'and another description',
|
||||
'more_item' => '+:count more item',
|
||||
'invoice_detail' => [
|
||||
'marked' => '<b>You</b> marked this invoice as',
|
||||
'services' => 'Services',
|
||||
'another_item' => 'Another Item',
|
||||
'another_description' => 'and another description',
|
||||
'more_item' => '+:count more item',
|
||||
],
|
||||
|
||||
'grand_total' => 'Grand Total',
|
||||
|
||||
'accept_payment_online' => 'Accept Payments Online',
|
||||
|
||||
'transaction' => 'A payment for :amount was made using :account.',
|
||||
|
||||
'billing' => 'Billing',
|
||||
'advanced' => 'Advanced',
|
||||
|
||||
'statuses' => [
|
||||
'draft' => 'Draft',
|
||||
'sent' => 'Sent',
|
||||
'expired' => 'Expired',
|
||||
'viewed' => 'Viewed',
|
||||
'approved' => 'Approved',
|
||||
'received' => 'Received',
|
||||
'refused' => 'Refused',
|
||||
'restored' => 'Restored',
|
||||
'reversed' => 'Reversed',
|
||||
'partial' => 'Partial',
|
||||
'paid' => 'Paid',
|
||||
'pending' => 'Pending',
|
||||
'invoiced' => 'Invoiced',
|
||||
'overdue' => 'Overdue',
|
||||
'unpaid' => 'Unpaid',
|
||||
'cancelled' => 'Cancelled',
|
||||
'voided' => 'Voided',
|
||||
'completed' => 'Completed',
|
||||
'shipped' => 'Shipped',
|
||||
'refunded' => 'Refunded',
|
||||
'failed' => 'Failed',
|
||||
'denied' => 'Denied',
|
||||
'processed' => 'Processed',
|
||||
'open' => 'Open',
|
||||
'closed' => 'Closed',
|
||||
'billed' => 'Billed',
|
||||
'delivered' => 'Delivered',
|
||||
'returned' => 'Returned',
|
||||
'drawn' => 'Drawn',
|
||||
'not_billed' => 'Not Billed',
|
||||
'issued' => 'Issued',
|
||||
'not_invoiced' => 'Not Invoiced',
|
||||
'confirmed' => 'Confirmed',
|
||||
'not_confirmed' => 'Not Confirmed',
|
||||
'active' => 'Active',
|
||||
'ended' => 'Ended',
|
||||
'draft' => 'Draft',
|
||||
'sent' => 'Sent',
|
||||
'expired' => 'Expired',
|
||||
'viewed' => 'Viewed',
|
||||
'approved' => 'Approved',
|
||||
'received' => 'Received',
|
||||
'refused' => 'Refused',
|
||||
'restored' => 'Restored',
|
||||
'reversed' => 'Reversed',
|
||||
'partial' => 'Partial',
|
||||
'paid' => 'Paid',
|
||||
'pending' => 'Pending',
|
||||
'invoiced' => 'Invoiced',
|
||||
'overdue' => 'Overdue',
|
||||
'unpaid' => 'Unpaid',
|
||||
'cancelled' => 'Cancelled',
|
||||
'voided' => 'Voided',
|
||||
'completed' => 'Completed',
|
||||
'shipped' => 'Shipped',
|
||||
'refunded' => 'Refunded',
|
||||
'failed' => 'Failed',
|
||||
'denied' => 'Denied',
|
||||
'processed' => 'Processed',
|
||||
'open' => 'Open',
|
||||
'closed' => 'Closed',
|
||||
'billed' => 'Billed',
|
||||
'delivered' => 'Delivered',
|
||||
'returned' => 'Returned',
|
||||
'drawn' => 'Drawn',
|
||||
'not_billed' => 'Not Billed',
|
||||
'issued' => 'Issued',
|
||||
'not_invoiced' => 'Not Invoiced',
|
||||
'confirmed' => 'Confirmed',
|
||||
'not_confirmed' => 'Not Confirmed',
|
||||
'active' => 'Active',
|
||||
'ended' => 'Ended',
|
||||
],
|
||||
|
||||
'form_description' => [
|
||||
'companies' => 'Change the address, logo, and other information for your company.',
|
||||
'billing' => 'Billing details appears in your document.',
|
||||
'advanced' => 'Select the category, add or edit the footer, and add attachments to your :type.',
|
||||
'attachment' => 'Download the files attached to this :type',
|
||||
'companies' => 'Change the address, logo, and other information for your company.',
|
||||
'billing' => 'Billing details appears in your document.',
|
||||
'advanced' => 'Select the category, add or edit the footer, and add attachments to your :type.',
|
||||
'attachment' => 'Download the files attached to this :type',
|
||||
],
|
||||
|
||||
'messages' => [
|
||||
'email_sent' => ':type email has been sent!',
|
||||
'marked_as' => ':type marked as :status!',
|
||||
'marked_sent' => ':type marked as sent!',
|
||||
'marked_paid' => ':type marked as paid!',
|
||||
'marked_viewed' => ':type marked as viewed!',
|
||||
'marked_cancelled' => ':type marked as cancelled!',
|
||||
'marked_received' => ':type marked as received!',
|
||||
'email_sent' => ':type email has been sent!',
|
||||
'marked_as' => ':type marked as :status!',
|
||||
'marked_sent' => ':type marked as sent!',
|
||||
'marked_paid' => ':type marked as paid!',
|
||||
'marked_viewed' => ':type marked as viewed!',
|
||||
'marked_cancelled' => ':type marked as cancelled!',
|
||||
'marked_received' => ':type marked as received!',
|
||||
],
|
||||
|
||||
'recurring' => [
|
||||
'auto_generated' => 'Auto-generated',
|
||||
'auto_generated' => 'Auto-generated',
|
||||
|
||||
'tooltip' => [
|
||||
'document_date' => 'The :type date will be automatically assigned based on the :type schedule and frequency.',
|
||||
|
@ -2,84 +2,80 @@
|
||||
|
||||
return [
|
||||
|
||||
'edit_columns' => 'Editer les colonnes',
|
||||
'empty_items' => 'Vous n\'avez ajouté aucun élément.',
|
||||
'edit_columns' => 'Editer les colonnes',
|
||||
'empty_items' => 'Vous n\'avez ajouté aucun élément.',
|
||||
'grand_total' => 'Total global',
|
||||
'accept_payment_online' => 'Accepter les paiements en ligne',
|
||||
'transaction' => 'Un paiement de :amount a été effectué en utilisant :account.',
|
||||
'billing' => 'Facturation',
|
||||
'advanced' => 'Avancé',
|
||||
|
||||
'invoice_detail' => [
|
||||
'marked' => '<b> Vous </b> avez marqué cette facture comme',
|
||||
'services' => 'Services',
|
||||
'another_item' => 'Un autre élément',
|
||||
'another_description' => 'et une autre description',
|
||||
'more_item' => '+:count plus d\'élément',
|
||||
'invoice_detail' => [
|
||||
'marked' => '<b> Vous </b> avez marqué cette facture comme',
|
||||
'services' => 'Services',
|
||||
'another_item' => 'Un autre élément',
|
||||
'another_description' => 'et une autre description',
|
||||
'more_item' => '+:count plus d\'élément',
|
||||
],
|
||||
|
||||
'grand_total' => 'Total global',
|
||||
|
||||
'accept_payment_online' => 'Accepter les paiements en ligne',
|
||||
|
||||
'transaction' => 'Un paiement de :amount a été effectué en utilisant :account.',
|
||||
|
||||
'billing' => 'Facturation',
|
||||
'advanced' => 'Avancé',
|
||||
|
||||
'statuses' => [
|
||||
'draft' => 'Brouillon',
|
||||
'sent' => 'Envoyé',
|
||||
'expired' => 'Expiré',
|
||||
'viewed' => 'Vu',
|
||||
'approved' => 'Approuvé',
|
||||
'received' => 'Reçu',
|
||||
'refused' => 'Refusé',
|
||||
'restored' => 'Restauré',
|
||||
'reversed' => 'Inversé',
|
||||
'partial' => 'Partiel',
|
||||
'paid' => 'Payé',
|
||||
'pending' => 'En attente',
|
||||
'invoiced' => 'Facturé',
|
||||
'overdue' => 'En retard',
|
||||
'unpaid' => 'Impayé',
|
||||
'cancelled' => 'Annulé',
|
||||
'voided' => 'Annulé',
|
||||
'completed' => 'Terminé',
|
||||
'shipped' => 'Envoyé',
|
||||
'refunded' => 'Remboursé',
|
||||
'failed' => 'Echoué',
|
||||
'denied' => 'Refusé',
|
||||
'processed' => 'Traité',
|
||||
'open' => 'Ouvert',
|
||||
'closed' => 'Fermé',
|
||||
'billed' => 'Facturé',
|
||||
'delivered' => 'Livré',
|
||||
'returned' => 'Retourné',
|
||||
'drawn' => 'Dessiné',
|
||||
'not_billed' => 'Non facturé',
|
||||
'issued' => 'Résolu',
|
||||
'not_invoiced' => 'Non facturé',
|
||||
'confirmed' => 'Confirmé',
|
||||
'not_confirmed' => 'Non confirmé',
|
||||
'active' => 'Actif',
|
||||
'ended' => 'Terminé',
|
||||
'draft' => 'Brouillon',
|
||||
'sent' => 'Envoyé',
|
||||
'expired' => 'Expiré',
|
||||
'viewed' => 'Vu',
|
||||
'approved' => 'Approuvé',
|
||||
'received' => 'Reçu',
|
||||
'refused' => 'Refusé',
|
||||
'restored' => 'Restauré',
|
||||
'reversed' => 'Inversé',
|
||||
'partial' => 'Partiel',
|
||||
'paid' => 'Payé',
|
||||
'pending' => 'En attente',
|
||||
'invoiced' => 'Facturé',
|
||||
'overdue' => 'En retard',
|
||||
'unpaid' => 'Impayé',
|
||||
'cancelled' => 'Annulé',
|
||||
'voided' => 'Annulé',
|
||||
'completed' => 'Terminé',
|
||||
'shipped' => 'Envoyé',
|
||||
'refunded' => 'Remboursé',
|
||||
'failed' => 'Echoué',
|
||||
'denied' => 'Refusé',
|
||||
'processed' => 'Traité',
|
||||
'open' => 'Ouvert',
|
||||
'closed' => 'Fermé',
|
||||
'billed' => 'Facturé',
|
||||
'delivered' => 'Livré',
|
||||
'returned' => 'Retourné',
|
||||
'drawn' => 'Dessiné',
|
||||
'not_billed' => 'Non facturé',
|
||||
'issued' => 'Résolu',
|
||||
'not_invoiced' => 'Non facturé',
|
||||
'confirmed' => 'Confirmé',
|
||||
'not_confirmed' => 'Non confirmé',
|
||||
'active' => 'Actif',
|
||||
'ended' => 'Terminé',
|
||||
],
|
||||
|
||||
'form_description' => [
|
||||
'companies' => 'Changez l\'adresse, le logo et d\'autres informations pour votre entreprise.',
|
||||
'billing' => 'Les détails de facturation apparaissent dans votre document.',
|
||||
'advanced' => 'Sélectionnez la catégorie, ajoutez ou modifiez le pied de page et ajoutez des pièces jointes à votre :type.',
|
||||
'attachment' => 'Télécharger les fichiers attachés à ce :type',
|
||||
'companies' => 'Changez l\'adresse, le logo et d\'autres informations pour votre entreprise.',
|
||||
'billing' => 'Les détails de facturation apparaissent dans votre document.',
|
||||
'advanced' => 'Sélectionnez la catégorie, ajoutez ou modifiez le pied de page et ajoutez des pièces jointes à votre :type.',
|
||||
'attachment' => 'Télécharger les fichiers attachés à ce :type',
|
||||
],
|
||||
|
||||
'messages' => [
|
||||
'email_sent' => ':type L\'email vous a été envoyé.',
|
||||
'marked_as' => ':type marqué comme :status!',
|
||||
'marked_sent' => ':type marqué comme envoyé!',
|
||||
'marked_paid' => ':type marqué comme payé !',
|
||||
'marked_viewed' => ':type marqué comme vu !',
|
||||
'marked_cancelled' => ':type marqué comme annulé !',
|
||||
'marked_received' => ':type marqué comme reçu!',
|
||||
'email_sent' => ':type L\'email vous a été envoyé.',
|
||||
'marked_as' => ':type marqué comme :status!',
|
||||
'marked_sent' => ':type marqué comme envoyé!',
|
||||
'marked_paid' => ':type marqué comme payé !',
|
||||
'marked_viewed' => ':type marqué comme vu !',
|
||||
'marked_cancelled' => ':type marqué comme annulé !',
|
||||
'marked_received' => ':type marqué comme reçu!',
|
||||
],
|
||||
|
||||
'recurring' => [
|
||||
'auto_generated' => 'Généré automatiquement',
|
||||
'auto_generated' => 'Généré automatiquement',
|
||||
|
||||
'tooltip' => [
|
||||
'document_date' => 'La date de :type sera automatiquement assignée en fonction du planning et de la fréquence :type.',
|
||||
|
@ -4,7 +4,6 @@ return [
|
||||
|
||||
'dashboards' => 'Tableau de bord|Tableaux de bord',
|
||||
'items' => 'Article|Articles',
|
||||
'incomes' => 'Revenu|Revenus',
|
||||
'invoices' => 'Facture|Factures',
|
||||
'recurring_invoices' => 'Factures récurrentes|Factures récurrentes',
|
||||
'customers' => 'Client|Clients',
|
||||
@ -70,6 +69,7 @@ return [
|
||||
'invitations' => 'Invitation|Invitations',
|
||||
'attachments' => 'Pièce jointe|Pièces jointes',
|
||||
'histories' => 'Historique|Historiques',
|
||||
'your_notifications' => 'Votre notification|Vos notifications',
|
||||
|
||||
'welcome' => 'Bienvenue',
|
||||
'banking' => 'Banque',
|
||||
@ -184,6 +184,7 @@ return [
|
||||
'no_matching_data' => 'Aucune donnée correspondante',
|
||||
'clear_cache' => 'Vider le cache',
|
||||
'go_to_dashboard' => 'Aller au tableau de bord',
|
||||
'create_first_invoice' => 'Créez votre première facture',
|
||||
'is' => 'est',
|
||||
'isnot' => 'n\'est pas',
|
||||
'recurring_and_more' => 'Récurrents et plus..',
|
||||
@ -199,7 +200,6 @@ return [
|
||||
'email_send_me' => 'Envoyez-moi une copie à :email',
|
||||
'connect' => 'Connecter',
|
||||
'assign' => 'Attribuer',
|
||||
'your_notifications' => 'Votre notification|Vos notifications',
|
||||
'new' => 'Nouveau',
|
||||
'new_more' => 'Nouveau...',
|
||||
'number' => 'Numéro',
|
||||
|
@ -2,84 +2,80 @@
|
||||
|
||||
return [
|
||||
|
||||
'edit_columns' => 'Rediģēt kolonnas',
|
||||
'empty_items' => 'Jūs neesat pievienojis nevienu vienumu.',
|
||||
'edit_columns' => 'Rediģēt kolonnas',
|
||||
'empty_items' => 'Jūs neesat pievienojis nevienu vienumu.',
|
||||
'grand_total' => 'Kopsumma',
|
||||
'accept_payment_online' => 'Pieņemt maksājumus tiešsaistē',
|
||||
'transaction' => 'Maksājums par :amount tika veikts, izmantojot :account',
|
||||
'billing' => 'Norēķini',
|
||||
'advanced' => 'Papildu',
|
||||
|
||||
'invoice_detail' => [
|
||||
'marked' => '<b> Jūs </b> atzīmējāt šo rēķinu kā',
|
||||
'services' => 'Pakalpojumi',
|
||||
'another_item' => 'Cits vienums',
|
||||
'another_description' => 'un cits apraksts',
|
||||
'more_item' => '+:count vairāk preču',
|
||||
'invoice_detail' => [
|
||||
'marked' => '<b> Jūs </b> atzīmējāt šo rēķinu kā',
|
||||
'services' => 'Pakalpojumi',
|
||||
'another_item' => 'Cits vienums',
|
||||
'another_description' => 'un cits apraksts',
|
||||
'more_item' => '+:count vairāk preču',
|
||||
],
|
||||
|
||||
'grand_total' => 'Kopsumma',
|
||||
|
||||
'accept_payment_online' => 'Pieņemt maksājumus tiešsaistē',
|
||||
|
||||
'transaction' => 'Maksājums par :amount tika veikts, izmantojot :account',
|
||||
|
||||
'billing' => 'Norēķini',
|
||||
'advanced' => 'Papildu',
|
||||
|
||||
'statuses' => [
|
||||
'draft' => 'Melnraksts',
|
||||
'sent' => 'Nosūtīts',
|
||||
'expired' => 'Termiņš beidzies',
|
||||
'viewed' => 'Skatīts',
|
||||
'approved' => 'Apstiprināts',
|
||||
'received' => 'Saņemts',
|
||||
'refused' => 'Atteikts',
|
||||
'restored' => 'Atjaunots',
|
||||
'reversed' => 'Reverss',
|
||||
'partial' => 'Daļējs',
|
||||
'paid' => 'Samaksāts',
|
||||
'pending' => 'Gaida',
|
||||
'invoiced' => 'Izrakstīts',
|
||||
'overdue' => 'Nokavēts',
|
||||
'unpaid' => 'Neapmaksāts',
|
||||
'cancelled' => 'Atcelts',
|
||||
'voided' => 'Anulēts',
|
||||
'completed' => 'Pabeigts',
|
||||
'shipped' => 'Nosūtīts',
|
||||
'refunded' => 'Atmaksāts',
|
||||
'failed' => 'Neizdevās',
|
||||
'denied' => 'Atteikts',
|
||||
'processed' => 'Apstrādāts',
|
||||
'open' => 'Atvērums',
|
||||
'closed' => 'Slēgts',
|
||||
'billed' => 'Izrakstīts',
|
||||
'delivered' => 'Piegādāts',
|
||||
'returned' => 'Atgriezts',
|
||||
'drawn' => 'Uzzīmēts',
|
||||
'not_billed' => 'Nav izrakstīts rēķins',
|
||||
'issued' => 'Izdots',
|
||||
'not_invoiced' => 'Nav iekļauts rēķinā',
|
||||
'confirmed' => 'Apstiprināts',
|
||||
'not_confirmed' => 'Nav apstiprināts',
|
||||
'active' => 'Aktīvs',
|
||||
'ended' => 'Beidzies',
|
||||
'draft' => 'Melnraksts',
|
||||
'sent' => 'Nosūtīts',
|
||||
'expired' => 'Termiņš beidzies',
|
||||
'viewed' => 'Skatīts',
|
||||
'approved' => 'Apstiprināts',
|
||||
'received' => 'Saņemts',
|
||||
'refused' => 'Atteikts',
|
||||
'restored' => 'Atjaunots',
|
||||
'reversed' => 'Reverss',
|
||||
'partial' => 'Daļējs',
|
||||
'paid' => 'Samaksāts',
|
||||
'pending' => 'Gaida',
|
||||
'invoiced' => 'Izrakstīts',
|
||||
'overdue' => 'Nokavēts',
|
||||
'unpaid' => 'Neapmaksāts',
|
||||
'cancelled' => 'Atcelts',
|
||||
'voided' => 'Anulēts',
|
||||
'completed' => 'Pabeigts',
|
||||
'shipped' => 'Nosūtīts',
|
||||
'refunded' => 'Atmaksāts',
|
||||
'failed' => 'Neizdevās',
|
||||
'denied' => 'Atteikts',
|
||||
'processed' => 'Apstrādāts',
|
||||
'open' => 'Atvērums',
|
||||
'closed' => 'Slēgts',
|
||||
'billed' => 'Izrakstīts',
|
||||
'delivered' => 'Piegādāts',
|
||||
'returned' => 'Atgriezts',
|
||||
'drawn' => 'Uzzīmēts',
|
||||
'not_billed' => 'Nav izrakstīts rēķins',
|
||||
'issued' => 'Izdots',
|
||||
'not_invoiced' => 'Nav iekļauts rēķinā',
|
||||
'confirmed' => 'Apstiprināts',
|
||||
'not_confirmed' => 'Nav apstiprināts',
|
||||
'active' => 'Aktīvs',
|
||||
'ended' => 'Beidzies',
|
||||
],
|
||||
|
||||
'form_description' => [
|
||||
'companies' => 'Mainiet sava uzņēmuma adresi, logotipu un citu informāciju.',
|
||||
'billing' => 'Norēķinu informācija tiek parādīta jūsu dokumentā.',
|
||||
'advanced' => 'Atlasiet kategoriju, pievienojiet vai rediģējiet kājeni un pievienojiet pielikumus savam :type.',
|
||||
'attachment' => 'Lejupielādējiet šim :type pievienotos failus',
|
||||
'companies' => 'Mainiet sava uzņēmuma adresi, logotipu un citu informāciju.',
|
||||
'billing' => 'Norēķinu informācija tiek parādīta jūsu dokumentā.',
|
||||
'advanced' => 'Atlasiet kategoriju, pievienojiet vai rediģējiet kājeni un pievienojiet pielikumus savam :type.',
|
||||
'attachment' => 'Lejupielādējiet šim :type pievienotos failus',
|
||||
],
|
||||
|
||||
'messages' => [
|
||||
'email_sent' => ':veids e-pasts nosūtīts veiksmīgi!',
|
||||
'marked_as' => ':veids atzīmēts kā :status!',
|
||||
'marked_sent' => ':veids atzīmēts kā nosūtīts!',
|
||||
'marked_paid' => ':veids atzīmēts kā samaksāts!',
|
||||
'marked_viewed' => ':type atzīmēts kā skatīts!',
|
||||
'marked_cancelled' => ':veids atzīmēts kā atcelts!',
|
||||
'marked_received' => ':veids atzīmēts kā saņemts!',
|
||||
'email_sent' => ':veids e-pasts nosūtīts veiksmīgi!',
|
||||
'marked_as' => ':veids atzīmēts kā :status!',
|
||||
'marked_sent' => ':veids atzīmēts kā nosūtīts!',
|
||||
'marked_paid' => ':veids atzīmēts kā samaksāts!',
|
||||
'marked_viewed' => ':type atzīmēts kā skatīts!',
|
||||
'marked_cancelled' => ':veids atzīmēts kā atcelts!',
|
||||
'marked_received' => ':veids atzīmēts kā saņemts!',
|
||||
],
|
||||
|
||||
'recurring' => [
|
||||
'auto_generated' => 'Automātiski ģenerēts',
|
||||
'auto_generated' => 'Automātiski ģenerēts',
|
||||
|
||||
'tooltip' => [
|
||||
'document_date' => ':type datums tiks automātiski piešķirts, pamatojoties uz :type grafiku un biežumu.',
|
||||
|
@ -4,7 +4,6 @@ return [
|
||||
|
||||
'dashboards' => 'Informācijas panelis',
|
||||
'items' => 'Preces|Preces',
|
||||
'incomes' => 'Ienākumi|Ienākumi',
|
||||
'invoices' => 'Rēķini|Rēķini',
|
||||
'recurring_invoices' => 'Atkārtots rēķins|Atkārtoti rēķini',
|
||||
'customers' => 'Pircēji|Pircēji',
|
||||
@ -70,6 +69,7 @@ return [
|
||||
'invitations' => 'Ielūgums|Ielūgumi',
|
||||
'attachments' => 'Pielikums|Pielikumi',
|
||||
'histories' => 'Vēsture|Vēstures',
|
||||
'your_notifications' => 'Jūsu paziņojums|Jūsu paziņojumi',
|
||||
|
||||
'welcome' => 'Laipni lūdzam',
|
||||
'banking' => 'Banka',
|
||||
@ -184,6 +184,7 @@ return [
|
||||
'no_matching_data' => 'Nav sakritību datos',
|
||||
'clear_cache' => 'Notīrīt kešatmiņu',
|
||||
'go_to_dashboard' => 'Doties uz galveno paneli',
|
||||
'create_first_invoice' => 'Izveidojiet savu pirmo rēķinu',
|
||||
'is' => 'ir',
|
||||
'isnot' => 'nav',
|
||||
'recurring_and_more' => 'Atkārtojas un vairāk..',
|
||||
@ -199,7 +200,6 @@ return [
|
||||
'email_send_me' => 'Nosūtīt kopiju man uz :email',
|
||||
'connect' => 'Pieslēgties',
|
||||
'assign' => 'Piešķirt',
|
||||
'your_notifications' => 'Jūsu paziņojums|Jūsu paziņojumi',
|
||||
'new' => 'Jauns',
|
||||
'new_more' => 'Jauns...',
|
||||
'number' => 'Numurs',
|
||||
|
@ -2,9 +2,179 @@
|
||||
|
||||
return [
|
||||
|
||||
'whoops' => 'Whoops!',
|
||||
'whoops' => 'Klau!',
|
||||
'hello' => 'Sveicināts!',
|
||||
'salutation' => 'Sveicieniem,<br> : company_name',
|
||||
'subcopy' => 'Ja rodas problēmas, noklikšķinot uz ": tekstu" pogu, nokopējiet šo URL un ielīmējiet to savā web pārlūkprogrammā: [: url](:url)',
|
||||
'salutation' => 'Sveicināti,<br>:uzņēmuma nosaukums',
|
||||
'subcopy' => 'Ja rodas problēmas, noklikšķinot uz ": tekstu" pogu, nokopējiet šo URL un ielīmējiet to savā web pārlūkprogrammā: [:url](:url)',
|
||||
'mark_read' => 'Atzīmēt kā izlasītu',
|
||||
'mark_read_all' => 'Atzīmēt visu kā izlasītu',
|
||||
'empty' => 'Oho, nav jaunu paziņojumu!',
|
||||
|
||||
'update' => [
|
||||
|
||||
'mail' => [
|
||||
|
||||
'title' => '⚠️ Atjaunināšana neizdevās :domain',
|
||||
'description' => 'Šāda atjaunināšana no :alias :current_version uz :new_version neizdevās <strong>:solis</strong> solis ar šādu ziņojumu: :error_message',
|
||||
|
||||
],
|
||||
|
||||
'slack' => [
|
||||
|
||||
'description' => 'Atjaunināšana neizdevās :domain',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'import' => [
|
||||
|
||||
'completed' => [
|
||||
|
||||
'title' => 'Importēšana pabeigta',
|
||||
'description' => 'Importēšana ir pabeigta, un ieraksti ir pieejami panelī.',
|
||||
|
||||
],
|
||||
|
||||
'failed' => [
|
||||
|
||||
'title' => 'Importēšana neizdevās',
|
||||
'description' => 'Failu nevar importēt šādu problēmu dēļ:',
|
||||
|
||||
],
|
||||
],
|
||||
|
||||
'export' => [
|
||||
|
||||
'completed' => [
|
||||
|
||||
'title' => 'Eksportēšana ir pabeigta',
|
||||
'description' => 'Eksportēšanas fails ir gatavs lejupielādei no šīs saites:',
|
||||
|
||||
],
|
||||
|
||||
'failed' => [
|
||||
|
||||
'title' => 'Eksportēšana neizdevās',
|
||||
'description' => 'Nevar izveidot eksportēšanas failu šādas problēmas dēļ:',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'menu' => [
|
||||
|
||||
'export_completed' => [
|
||||
|
||||
'title' => 'Eksportēšana ir pabeigta',
|
||||
'description' => 'Jūsu <strong>:type</strong> eksporta fails ir gatavs <a href=":url" target="_blank"><strong>lejupielādei</strong></a>.',
|
||||
|
||||
],
|
||||
|
||||
'export_failed' => [
|
||||
|
||||
'title' => 'Eksportēšana neizdevās',
|
||||
'description' => 'Nevar izveidot eksporta failu šādas problēmas dēļ: :issues',
|
||||
|
||||
],
|
||||
|
||||
'import_completed' => [
|
||||
|
||||
'title' => 'Importēšana pabeigta',
|
||||
'description' => 'Jūsu <strong>:type</strong> līnijas <strong>:count</strong> dati ir veiksmīgi importēti.',
|
||||
|
||||
],
|
||||
|
||||
'new_apps' => [
|
||||
|
||||
'title' => 'Jauna lietotne',
|
||||
'description' => '<strong>:name</strong> lietotne ir beigusies. Jūs varat <a href=":url">nospiežot šeit</a> redzēt detaļas.',
|
||||
|
||||
],
|
||||
|
||||
'invoice_new_customer' => [
|
||||
|
||||
'title' => 'Jauns rēķins',
|
||||
'description' => '<strong>:invoice_number</strong>rēķins ir izveidots. Jūs varat <a href=":invoice_portal_link">noklikšķiniet šeit</a> lai redzētu detalizētu informāciju un turpinātu maksājumu.',
|
||||
|
||||
],
|
||||
|
||||
'invoice_remind_customer' => [
|
||||
|
||||
'title' => 'Nokavēts rēķins',
|
||||
'description' => '<strong>:invoice_number</strong> rēķins bija jāsamaksā <strong>:invoice_due_date</strong>. Varat <a href=":invoice_portal_link">noklikšķināt šeit</a> lai skatītu detalizētu informāciju un turpinātu maksājumu.',
|
||||
|
||||
],
|
||||
|
||||
'invoice_remind_admin' => [
|
||||
|
||||
'title' => 'Nokavēts rēķins',
|
||||
'description' => '<strong>:invoice_number</strong> rēķins bija jāsamaksā<strong>:invoice_due_date</strong>. Varat <a href=":invoice_admin_link">noklikšķināt šeit</a> lai skatītu detalizētu informāciju.',
|
||||
|
||||
],
|
||||
|
||||
'invoice_recur_customer' => [
|
||||
|
||||
'title' => 'Jauns periodisks rēķins',
|
||||
'description' => 'Rēķins <strong>:invoice_number</strong> tiek izveidots, pamatojoties uz jūsu periodiskumu. Varat <a href=":invoice_portal_link">noklikšķināt šeit</a>, lai skatītu detalizētu informāciju un turpinātu maksājumu.',
|
||||
|
||||
],
|
||||
|
||||
'invoice_recur_admin' => [
|
||||
|
||||
'title' => 'Jauns periodisks rēķins',
|
||||
'description' => '<strong>:invoice_number</strong> rēķins tiek izveidots, pamatojoties uz <strong>:customer_name</strong> periodiskumu. Varat <a href=":invoice_admin_link">noklikšķināt šeit</a>, lai skatītu detalizētu informāciju.',
|
||||
|
||||
],
|
||||
|
||||
'invoice_view_admin' => [
|
||||
|
||||
'title' => 'Rēķins skatīts',
|
||||
'description' => '<strong>:customer_name</strong> ir skatījis <strong>:invoice_number</strong> rēķinu. Varat <a href=":invoice_admin_link">noklikšķināt šeit</a>, lai skatītu detalizētu informāciju.',
|
||||
|
||||
],
|
||||
|
||||
'revenue_new_customer' => [
|
||||
|
||||
'title' => 'Saņemts maksājums',
|
||||
'description' => 'Paldies par apmaksu rēķinam <strong>:invoice_number</strong>. Varat <a href=":invoice_portal_link">noklikšķināt šeit</a>, lai skatītu detalizētu informāciju.',
|
||||
|
||||
],
|
||||
|
||||
'invoice_payment_customer' => [
|
||||
|
||||
'title' => 'Saņemts maksājums',
|
||||
'description' => 'Paldies par apmaksu rēķinam <strong>:invoice_number</strong>. Varat <a href=":invoice_portal_link">noklikšķināt šeit</a>, lai skatītu detalizētu informāciju.',
|
||||
|
||||
],
|
||||
|
||||
'invoice_payment_admin' => [
|
||||
|
||||
'title' => 'Saņemts maksājums',
|
||||
'description' => ':customer_name reģistrēts maksājums par rēķinu<strong>:invoice_number</strong>. Varat <a href=":invoice_admin_link">noklikšķināt šeit</a>, lai skatītu detalizētu informāciju.',
|
||||
|
||||
],
|
||||
|
||||
'bill_remind_admin' => [
|
||||
|
||||
'title' => 'Rēķins Nokavēts ',
|
||||
'description' => '<strong>:bill_number</strong> rēķins bija jāsamaksā <strong>:bill_demis_date</strong>. Varat <a href=":bill_admin_link">noklikšķināt šeit</a>, lai skatītu detalizētu informāciju.',
|
||||
|
||||
],
|
||||
|
||||
'bill_recur_admin' => [
|
||||
|
||||
'title' => 'Jauns periodisks rēķins',
|
||||
'description' => 'Rēķins <strong>:bill_number</strong> tiek izveidots, pamatojoties uz <strong>:vendor_name</strong> periodiskumu. Varat <a href=":bill_admin_link">noklikšķināt šeit</a>, lai skatītu detalizētu informāciju.',
|
||||
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
'messages' => [
|
||||
|
||||
'mark_read' => ':veids ir izlasīts šis paziņojums!',
|
||||
'mark_read_all' => ':veids ir izlasīti visi paziņojumi!',
|
||||
|
||||
],
|
||||
];
|
||||
|
@ -167,7 +167,7 @@ return [
|
||||
],
|
||||
|
||||
'scheduling' => [
|
||||
'name' => 'Ieplānotšana',
|
||||
'name' => 'Plānošana',
|
||||
'description' => 'Automātiskie atgādinātāji un komandas atkārtojumu veikšanai',
|
||||
'search_keywords' => 'automātisks, atgādinājums, atkārtots, cron, komanda',
|
||||
'send_invoice' => 'Sūtīt rēķinu atgādinājumus',
|
||||
|
@ -2,84 +2,80 @@
|
||||
|
||||
return [
|
||||
|
||||
'edit_columns' => 'Editar colunas',
|
||||
'empty_items' => 'Você não adicionou nenhum item.',
|
||||
'edit_columns' => 'Editar colunas',
|
||||
'empty_items' => 'Você não adicionou nenhum item.',
|
||||
'grand_total' => 'Total Geral',
|
||||
'accept_payment_online' => 'Aceite Pagamentos Online',
|
||||
'transaction' => 'Um pagamento para :amount foi feito usando :account.',
|
||||
'billing' => 'Cobrança',
|
||||
'advanced' => 'Avançado',
|
||||
|
||||
'invoice_detail' => [
|
||||
'marked' => '<b> Você </b> marcou esta fatura como',
|
||||
'services' => 'Serviços',
|
||||
'another_item' => 'Outro item',
|
||||
'another_description' => 'e outra descrição',
|
||||
'more_item' => '+:count mais itens',
|
||||
'invoice_detail' => [
|
||||
'marked' => '<b> Você </b> marcou esta fatura como',
|
||||
'services' => 'Serviços',
|
||||
'another_item' => 'Outro item',
|
||||
'another_description' => 'e outra descrição',
|
||||
'more_item' => '+:count mais itens',
|
||||
],
|
||||
|
||||
'grand_total' => 'Total Geral',
|
||||
|
||||
'accept_payment_online' => 'Aceite Pagamentos Online',
|
||||
|
||||
'transaction' => 'Um pagamento para :amount foi feito usando :account.',
|
||||
|
||||
'billing' => 'Cobrança',
|
||||
'advanced' => 'Avançado',
|
||||
|
||||
'statuses' => [
|
||||
'draft' => 'Rascunho',
|
||||
'sent' => 'Enviado',
|
||||
'expired' => 'Expirado',
|
||||
'viewed' => 'Visualizado',
|
||||
'approved' => 'Aprovado',
|
||||
'received' => 'Recebido',
|
||||
'refused' => 'Recusado',
|
||||
'restored' => 'Restaurado',
|
||||
'reversed' => 'Revertido',
|
||||
'partial' => 'Parcial',
|
||||
'paid' => 'Pago',
|
||||
'pending' => 'Pendente',
|
||||
'invoiced' => 'Faturado',
|
||||
'overdue' => 'Vencido',
|
||||
'unpaid' => 'Não Pago',
|
||||
'cancelled' => 'Cancelado',
|
||||
'voided' => 'Anulado',
|
||||
'completed' => 'Concluído',
|
||||
'shipped' => 'Enviado',
|
||||
'refunded' => 'Reembolsado',
|
||||
'failed' => 'Falhou',
|
||||
'denied' => 'Negado',
|
||||
'processed' => 'Processado',
|
||||
'open' => 'Aberto',
|
||||
'closed' => 'Fechado',
|
||||
'billed' => 'Faturado',
|
||||
'delivered' => 'Entregue',
|
||||
'returned' => 'Devolvido',
|
||||
'drawn' => 'Rascunho',
|
||||
'not_billed' => 'Não faturado',
|
||||
'issued' => 'Emitido',
|
||||
'not_invoiced' => 'Não faturado',
|
||||
'confirmed' => 'Confirmado',
|
||||
'not_confirmed' => 'Não confirmado',
|
||||
'active' => 'Ativo',
|
||||
'ended' => 'Finalizado',
|
||||
'draft' => 'Rascunho',
|
||||
'sent' => 'Enviado',
|
||||
'expired' => 'Expirado',
|
||||
'viewed' => 'Visualizado',
|
||||
'approved' => 'Aprovado',
|
||||
'received' => 'Recebido',
|
||||
'refused' => 'Recusado',
|
||||
'restored' => 'Restaurado',
|
||||
'reversed' => 'Revertido',
|
||||
'partial' => 'Parcial',
|
||||
'paid' => 'Pago',
|
||||
'pending' => 'Pendente',
|
||||
'invoiced' => 'Faturado',
|
||||
'overdue' => 'Vencido',
|
||||
'unpaid' => 'Não Pago',
|
||||
'cancelled' => 'Cancelado',
|
||||
'voided' => 'Anulado',
|
||||
'completed' => 'Concluído',
|
||||
'shipped' => 'Enviado',
|
||||
'refunded' => 'Reembolsado',
|
||||
'failed' => 'Falhou',
|
||||
'denied' => 'Negado',
|
||||
'processed' => 'Processado',
|
||||
'open' => 'Aberto',
|
||||
'closed' => 'Fechado',
|
||||
'billed' => 'Faturado',
|
||||
'delivered' => 'Entregue',
|
||||
'returned' => 'Devolvido',
|
||||
'drawn' => 'Rascunho',
|
||||
'not_billed' => 'Não faturado',
|
||||
'issued' => 'Emitido',
|
||||
'not_invoiced' => 'Não faturado',
|
||||
'confirmed' => 'Confirmado',
|
||||
'not_confirmed' => 'Não confirmado',
|
||||
'active' => 'Ativo',
|
||||
'ended' => 'Finalizado',
|
||||
],
|
||||
|
||||
'form_description' => [
|
||||
'companies' => 'Altere o endereço, logotipo, e outras informações para sua empresa.',
|
||||
'billing' => 'Detalhes de faturamento aparecem no seu documento.',
|
||||
'advanced' => 'Selecione a categoria, adicione ou edite o rodapé e adicione anexos ao seu :type.',
|
||||
'attachment' => 'Baixar os arquivos anexados a esse :type',
|
||||
'companies' => 'Altere o endereço, logotipo, e outras informações para sua empresa.',
|
||||
'billing' => 'Detalhes de faturamento aparecem no seu documento.',
|
||||
'advanced' => 'Selecione a categoria, adicione ou edite o rodapé e adicione anexos ao seu :type.',
|
||||
'attachment' => 'Baixar os arquivos anexados a esse :type',
|
||||
],
|
||||
|
||||
'messages' => [
|
||||
'email_sent' => 'E-mail :type foi enviado!',
|
||||
'marked_as' => ':type marcado como :status!',
|
||||
'marked_sent' => ':type marcado como enviado!',
|
||||
'marked_paid' => ':type marcado como pago!',
|
||||
'marked_viewed' => ':type marcado como visualizado!',
|
||||
'marked_cancelled' => ':type marcado como cancelado!',
|
||||
'marked_received' => ':type marcado como recebido!',
|
||||
'email_sent' => 'E-mail :type foi enviado!',
|
||||
'marked_as' => ':type marcado como :status!',
|
||||
'marked_sent' => ':type marcado como enviado!',
|
||||
'marked_paid' => ':type marcado como pago!',
|
||||
'marked_viewed' => ':type marcado como visualizado!',
|
||||
'marked_cancelled' => ':type marcado como cancelado!',
|
||||
'marked_received' => ':type marcado como recebido!',
|
||||
],
|
||||
|
||||
'recurring' => [
|
||||
'auto_generated' => 'Gerado automaticamente',
|
||||
'auto_generated' => 'Gerado automaticamente',
|
||||
|
||||
'tooltip' => [
|
||||
'document_date' => 'A data :type será automaticamente atribuída com base no agendamento e frequência :type.',
|
||||
|
@ -4,11 +4,10 @@ return [
|
||||
|
||||
'dashboards' => 'Painel | Painéis',
|
||||
'items' => 'Item | Itens',
|
||||
'incomes' => 'Renda|Rendas',
|
||||
'invoices' => 'Fatura|Faturas',
|
||||
'recurring_invoices' => 'Fatura recorrente|Faturas recorrentes',
|
||||
'customers' => 'Cliente|Clientes',
|
||||
'incomes' => 'Receita|Receitas',
|
||||
'incomes' => 'Renda|Rendas',
|
||||
'recurring_incomes' => 'Receita recorrente|Receitas recorrentes',
|
||||
'expenses' => 'Despesa|Despesas',
|
||||
'recurring_expenses' => 'Despesa recorrente|Despesas recorrentes',
|
||||
@ -70,6 +69,7 @@ return [
|
||||
'invitations' => 'Convite|Convites',
|
||||
'attachments' => 'Anexo|Anexos',
|
||||
'histories' => 'Histórico|Históricos',
|
||||
'your_notifications' => 'Sua notificação|Suas notificações',
|
||||
|
||||
'welcome' => 'Bem-vindo',
|
||||
'banking' => 'Banco',
|
||||
@ -184,6 +184,7 @@ return [
|
||||
'no_matching_data' => 'Não há dados correspondentes',
|
||||
'clear_cache' => 'Limpar o Cache',
|
||||
'go_to_dashboard' => 'Ir para o Painel',
|
||||
'create_first_invoice' => 'Crie sua primeira fatura',
|
||||
'is' => 'é',
|
||||
'isnot' => 'não é',
|
||||
'recurring_and_more' => 'Recorrente e mais..',
|
||||
@ -199,7 +200,6 @@ return [
|
||||
'email_send_me' => 'Enviar uma cópia para mim mesmo em :email',
|
||||
'connect' => 'Conectar',
|
||||
'assign' => 'Atribuir',
|
||||
'your_notifications' => 'Sua notificação|Suas notificações',
|
||||
'new' => 'Novo',
|
||||
'new_more' => 'Novo ...',
|
||||
'number' => 'Número',
|
||||
|
@ -291,11 +291,17 @@
|
||||
<x-slot name="first">
|
||||
{{ $item->contact->name }}
|
||||
</x-slot>
|
||||
<x-slot name="second">
|
||||
<x-slot name="second" class="w-20 font-normal group">
|
||||
@if ($item->document)
|
||||
<div data-tooltip-target="tooltip-information-{{ $item->document_id }}" data-tooltip-placement="left" override="class">
|
||||
<a href="{{ route($item->route_name, $item->route_id) }}" class="font-normal truncate border-b border-black border-dashed">
|
||||
{{ $item->document->document_number }}
|
||||
</a>
|
||||
|
||||
<div class="w-28 absolute h-10 -ml-12 -mt-6"></div>
|
||||
|
||||
<x-documents.index.information :document="$item->document" />
|
||||
</div>
|
||||
@else
|
||||
<x-empty-data />
|
||||
@endif
|
||||
@ -444,6 +450,16 @@
|
||||
</x-show.content.right>
|
||||
</x-show.content>
|
||||
</x-show.container>
|
||||
|
||||
<akaunting-connect-transactions
|
||||
:show="connect.show"
|
||||
:transaction="connect.transaction"
|
||||
:currency="connect.currency"
|
||||
:documents="connect.documents"
|
||||
:translations="{{ json_encode($transactions) }}"
|
||||
modal-dialog-class="max-w-screen-lg"
|
||||
v-on:close-modal="connect.show = false"
|
||||
></akaunting-connect-transactions>
|
||||
</x-slot>
|
||||
|
||||
<x-script folder="banking" file="accounts" />
|
||||
|
@ -8,7 +8,7 @@
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="buttons">
|
||||
<x-transactions.show.buttons type="{{ $recurring_transaction->type }}" :transaction="$recurring_transaction" />
|
||||
<x-transactions.show.buttons type="{{ $recurring_transaction->type }}" :transaction="$recurring_transaction" hide-divider4 hide-button-delete />
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="moreButtons">
|
||||
@ -21,8 +21,8 @@
|
||||
hide-button-share
|
||||
hide-button-email
|
||||
hide-divider-2
|
||||
hide-button-delete
|
||||
hide-divider-4
|
||||
hide-button-delete
|
||||
/>
|
||||
</x-slot>
|
||||
|
||||
|
@ -59,6 +59,7 @@
|
||||
<x-slot name="third"
|
||||
amount="{{ money($totals['profit'], setting('default.currency'), true) }}"
|
||||
title="{{ trans_choice('general.profits', 1) }}"
|
||||
class="cursor-default"
|
||||
></x-slot>
|
||||
</x-index.summary>
|
||||
|
||||
@ -162,15 +163,18 @@
|
||||
<x-slot name="first">
|
||||
{{ $item->contact->name }}
|
||||
</x-slot>
|
||||
<x-slot name="second" class="w-20 font-normal group" data-tooltip-target="tooltip-information-{{ $item->id }}" data-tooltip-placement="left" override="class">
|
||||
<x-slot name="second" class="w-20 font-normal group">
|
||||
@if ($item->document)
|
||||
<a href="{{ route($item->route_name, $item->route_id) }}" class="font-normal truncate border-b border-black border-dashed">
|
||||
{{ $item->document->document_number }}
|
||||
</a>
|
||||
<div data-tooltip-target="tooltip-information-{{ $item->document_id }}" data-tooltip-placement="left" override="class">
|
||||
<a href="{{ route($item->route_name, $item->route_id) }}" class="font-normal truncate border-b border-black border-dashed">
|
||||
{{ $item->document->document_number }}
|
||||
</a>
|
||||
|
||||
<div class="w-28 absolute h-10 -ml-12 -mt-6"></div>
|
||||
<div class="w-28 absolute h-10 -ml-12 -mt-6">
|
||||
</div>
|
||||
|
||||
<x-documents.index.information :document="$item->document" />
|
||||
<x-documents.index.information :document="$item->document" />
|
||||
</div>
|
||||
@else
|
||||
<x-empty-data />
|
||||
@endif
|
||||
|
@ -215,12 +215,12 @@
|
||||
{{ $item->contact_name }}
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="second" class="relative w-20 font-normal group" data-tooltip-target="tooltip-information-{{ $item->id }}" data-tooltip-placement="left" override="class,data-tooltip-target,data-tooltip-placement">
|
||||
<x-slot name="second" class="w-20 font-normal group" data-tooltip-target="tooltip-information-{{ $item->id }}" data-tooltip-placement="left" override="class,data-tooltip-target,data-tooltip-placement">
|
||||
<span class="border-black border-b border-dashed">
|
||||
{{ $item->document_number }}
|
||||
</span>
|
||||
|
||||
<div class="w-full absolute h-10 -left-10 -mt-6"></div>
|
||||
<div class="w-28 absolute h-10 -left-10 -mt-6"></div>
|
||||
|
||||
<x-documents.index.information :document="$item" />
|
||||
</x-slot>
|
||||
|
@ -65,7 +65,7 @@
|
||||
<td class="px-3 py-3 border-b-0 description">
|
||||
@if (! $hideItemDescription)
|
||||
<textarea
|
||||
class="form-element mt-1.5 resize-none"
|
||||
class="form-element mt-1.5"
|
||||
style="height:42px;"
|
||||
:ref="'items-' + index + '-description'"
|
||||
placeholder="{{ trans('items.enter_item_description') }}"
|
||||
|
@ -8,5 +8,6 @@
|
||||
form-label-class="lg:text-lg"
|
||||
form-group-class="border-b pb-2 mb-3.5"
|
||||
rows="1"
|
||||
textarea-auto-height
|
||||
/>
|
||||
</div>
|
||||
|
@ -106,7 +106,7 @@
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<x-form.group.number name="pre_discount" id="pre-discount" form-group-class="-mt-1" v-model="form.discount" @input="onAddTotalDiscount" />
|
||||
<x-form.group.text name="pre_discount" id="pre-discount" form-group-class="-mt-1" v-model="form.discount" @input="onAddTotalDiscount" />
|
||||
</div>
|
||||
</td>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div id="tooltip-information-{{ $document->id }}" role="tooltip" class="w-96 inline-block absolute z-10 text-sm font-medium rounded-lg border border-gray-200 shadow-sm whitespace-nowrap tooltip-content transition-visible bg-lilac-900 border-none text-black p-6 cursor-auto opacity-0 invisible">
|
||||
<div id="tooltip-information-{{ $document->id }}" role="tooltip" class="w-96 inline-block absolute left-0 z-10 text-sm font-medium rounded-lg border border-gray-200 shadow-sm whitespace-nowrap tooltip-content transition-visible bg-lilac-900 border-none text-black p-6 cursor-auto opacity-0 invisible">
|
||||
<div class="absolute w-2 h-2 inset-y-1/2 -right-1 before:content-[' '] before:absolute before:w-2 before:h-2 before:bg-lilac-900 before:border-gray-200 before:transform before:rotate-45 before:border before:border-t-0 before:border-l-0 data-popper-arrow"></div>
|
||||
|
||||
<ul>
|
||||
|
@ -130,8 +130,6 @@
|
||||
<x-dropdown.link href="{{ route($endRoute, $document->id) }}">
|
||||
{{ trans('recurring.end') }}
|
||||
</x-dropdown.link>
|
||||
|
||||
<x-dropdown.divider />
|
||||
@endif
|
||||
|
||||
@stack('end_button_end')
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div class="p-7 shadow-2xl rounded-2xl print-template">
|
||||
<div class="p-7 shadow-2xl rounded-2xl">
|
||||
@if ($documentTemplate)
|
||||
@switch($documentTemplate)
|
||||
@case('classic')
|
||||
|
@ -1,387 +1,389 @@
|
||||
<div class="row">
|
||||
<div class="col-100">
|
||||
<div class="text text-dark">
|
||||
<h3>
|
||||
{{ $textDocumentTitle }}
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-58">
|
||||
<div class="text">
|
||||
@stack('company_logo_start')
|
||||
@if (! $hideCompanyLogo)
|
||||
@if (!empty($document->contact->logo) && !empty($document->contact->logo->id))
|
||||
<img class="c-logo w-image" src="{{ $logo }}" alt="{{ $document->contact_name }}"/>
|
||||
@else
|
||||
<img class="c-logo w-image" src="{{ $logo }}" alt="{{ setting('company.name') }}" />
|
||||
@endif
|
||||
@endif
|
||||
@stack('company_logo_end')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-42">
|
||||
<div class="text right-column">
|
||||
@stack('company_details_start')
|
||||
@if ($textDocumentSubheading)
|
||||
<p class="text-normal font-semibold">
|
||||
{{ $textDocumentSubheading }}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyDetails)
|
||||
@if (! $hideCompanyName)
|
||||
<p>{{ setting('company.name') }}</p>
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyAddress)
|
||||
<p>
|
||||
{!! nl2br(setting('company.address')) !!}
|
||||
{!! $document->company->location !!}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyTaxNumber)
|
||||
@if (setting('company.tax_number'))
|
||||
<p>
|
||||
<span class="text-medium text-default">
|
||||
{{ trans('general.tax_number') }}:
|
||||
</span>
|
||||
{{ setting('company.tax_number') }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyPhone)
|
||||
@if (setting('company.phone'))
|
||||
<p>
|
||||
{{ setting('company.phone') }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyEmail)
|
||||
<p class="small-text">
|
||||
{{ setting('company.email') }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('company_details_end')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mt-2">
|
||||
<div class="col-33">
|
||||
<div class="invoice-classic-line mb-1 mt-4" style="background-color:{{ $backgroundColor }};"></div>
|
||||
<div class="invoice-classic-line" style="background-color:{{ $backgroundColor }};"></div>
|
||||
</div>
|
||||
|
||||
<div class="col-33">
|
||||
<div class="invoice-classic-frame ml-1 mt-1" style="border: 1px solid {{ $backgroundColor }}">
|
||||
<div class="invoice-classic-inline-frame text-center" style="border: 1px solid {{ $backgroundColor }}">
|
||||
@stack('invoice_number_input_start')
|
||||
@if (! $hideDocumentNumber)
|
||||
<div class="text small-text text-semibold mt-classic">
|
||||
<span>
|
||||
{{ trans($textDocumentNumber) }}:
|
||||
</span>
|
||||
|
||||
<br>
|
||||
|
||||
{{ $document->document_number }}
|
||||
</div>
|
||||
@endif
|
||||
@stack('invoice_number_input_end')
|
||||
<div class="print-template">
|
||||
<div class="row">
|
||||
<div class="col-100">
|
||||
<div class="text text-dark">
|
||||
<h3>
|
||||
{{ $textDocumentTitle }}
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-33">
|
||||
<div class="invoice-classic-line mb-1 mt-4" style="background-color:{{ $backgroundColor }};"></div>
|
||||
<div class="invoice-classic-line" style="background-color:{{ $backgroundColor }};"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-58">
|
||||
<div class="text">
|
||||
@stack('company_logo_start')
|
||||
@if (! $hideCompanyLogo)
|
||||
@if (!empty($document->contact->logo) && !empty($document->contact->logo->id))
|
||||
<img class="c-logo w-image" src="{{ $logo }}" alt="{{ $document->contact_name }}"/>
|
||||
@else
|
||||
<img class="c-logo w-image" src="{{ $logo }}" alt="{{ setting('company.name') }}" />
|
||||
@endif
|
||||
@endif
|
||||
@stack('company_logo_end')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row top-spacing">
|
||||
<div class="col-60">
|
||||
<div class="text p-index-left">
|
||||
@if (! $hideContactInfo)
|
||||
<p class="text-semibold mb-0">
|
||||
{{ trans($textContactInfo) }}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@stack('name_input_start')
|
||||
@if (! $hideContactName)
|
||||
<p>
|
||||
{{ $document->contact_name }}
|
||||
<div class="col-42">
|
||||
<div class="text right-column">
|
||||
@stack('company_details_start')
|
||||
@if ($textDocumentSubheading)
|
||||
<p class="text-normal font-semibold">
|
||||
{{ $textDocumentSubheading }}
|
||||
</p>
|
||||
@endif
|
||||
@stack('name_input_end')
|
||||
|
||||
@stack('address_input_start')
|
||||
@if (! $hideContactAddress)
|
||||
<p>
|
||||
{!! nl2br($document->contact_address) !!}
|
||||
<br>
|
||||
{!! $document->contact_location !!}
|
||||
</p>
|
||||
@endif
|
||||
@stack('address_input_end')
|
||||
@if (! $hideCompanyDetails)
|
||||
@if (! $hideCompanyName)
|
||||
<p>{{ setting('company.name') }}</p>
|
||||
@endif
|
||||
|
||||
@stack('tax_number_input_start')
|
||||
@if (! $hideContactTaxNumber)
|
||||
@if ($document->contact_tax_number)
|
||||
@if (! $hideCompanyAddress)
|
||||
<p>
|
||||
<span class="text-medium text-default">
|
||||
{{ trans('general.tax_number') }}:
|
||||
</span>
|
||||
{{ $document->contact_tax_number }}
|
||||
{!! nl2br(setting('company.address')) !!}
|
||||
{!! $document->company->location !!}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyTaxNumber)
|
||||
@if (setting('company.tax_number'))
|
||||
<p>
|
||||
<span class="text-medium text-default">
|
||||
{{ trans('general.tax_number') }}:
|
||||
</span>
|
||||
{{ setting('company.tax_number') }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyPhone)
|
||||
@if (setting('company.phone'))
|
||||
<p>
|
||||
{{ setting('company.phone') }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyEmail)
|
||||
<p class="small-text">
|
||||
{{ setting('company.email') }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('tax_number_input_end')
|
||||
|
||||
@stack('phone_input_start')
|
||||
@if (! $hideContactPhone)
|
||||
@if ($document->contact_phone)
|
||||
<p>
|
||||
{{ $document->contact_phone }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('phone_input_end')
|
||||
|
||||
@stack('email_start')
|
||||
@if (! $hideContactEmail)
|
||||
<p class="small-text">
|
||||
{{ $document->contact_email }}
|
||||
</p>
|
||||
@endif
|
||||
@stack('email_input_end')
|
||||
@stack('company_details_end')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-40">
|
||||
<div class="text p-index-right">
|
||||
@stack('order_number_input_start')
|
||||
@if (! $hideOrderNumber)
|
||||
@if ($document->order_number)
|
||||
<div class="row mt-2">
|
||||
<div class="col-33">
|
||||
<div class="invoice-classic-line mb-1 mt-4" style="background-color:{{ $backgroundColor }};"></div>
|
||||
<div class="invoice-classic-line" style="background-color:{{ $backgroundColor }};"></div>
|
||||
</div>
|
||||
|
||||
<div class="col-33">
|
||||
<div class="invoice-classic-frame ml-1 mt-1" style="border: 1px solid {{ $backgroundColor }}">
|
||||
<div class="invoice-classic-inline-frame text-center" style="border: 1px solid {{ $backgroundColor }}">
|
||||
@stack('invoice_number_input_start')
|
||||
@if (! $hideDocumentNumber)
|
||||
<div class="text small-text text-semibold mt-classic">
|
||||
<span>
|
||||
{{ trans($textDocumentNumber) }}:
|
||||
</span>
|
||||
|
||||
<br>
|
||||
|
||||
{{ $document->document_number }}
|
||||
</div>
|
||||
@endif
|
||||
@stack('invoice_number_input_end')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-33">
|
||||
<div class="invoice-classic-line mb-1 mt-4" style="background-color:{{ $backgroundColor }};"></div>
|
||||
<div class="invoice-classic-line" style="background-color:{{ $backgroundColor }};"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row top-spacing">
|
||||
<div class="col-60">
|
||||
<div class="text p-index-left">
|
||||
@if (! $hideContactInfo)
|
||||
<p class="text-semibold mb-0">
|
||||
{{ trans($textContactInfo) }}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@stack('name_input_start')
|
||||
@if (! $hideContactName)
|
||||
<p>
|
||||
{{ $document->contact_name }}
|
||||
</p>
|
||||
@endif
|
||||
@stack('name_input_end')
|
||||
|
||||
@stack('address_input_start')
|
||||
@if (! $hideContactAddress)
|
||||
<p>
|
||||
{!! nl2br($document->contact_address) !!}
|
||||
<br>
|
||||
{!! $document->contact_location !!}
|
||||
</p>
|
||||
@endif
|
||||
@stack('address_input_end')
|
||||
|
||||
@stack('tax_number_input_start')
|
||||
@if (! $hideContactTaxNumber)
|
||||
@if ($document->contact_tax_number)
|
||||
<p>
|
||||
<span class="text-medium text-default">
|
||||
{{ trans('general.tax_number') }}:
|
||||
</span>
|
||||
{{ $document->contact_tax_number }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('tax_number_input_end')
|
||||
|
||||
@stack('phone_input_start')
|
||||
@if (! $hideContactPhone)
|
||||
@if ($document->contact_phone)
|
||||
<p>
|
||||
{{ $document->contact_phone }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('phone_input_end')
|
||||
|
||||
@stack('email_start')
|
||||
@if (! $hideContactEmail)
|
||||
<p class="small-text">
|
||||
{{ $document->contact_email }}
|
||||
</p>
|
||||
@endif
|
||||
@stack('email_input_end')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-40">
|
||||
<div class="text p-index-right">
|
||||
@stack('order_number_input_start')
|
||||
@if (! $hideOrderNumber)
|
||||
@if ($document->order_number)
|
||||
<p class="mb-0">
|
||||
<span class="text-semibold spacing">
|
||||
{{ trans($textOrderNumber) }}:
|
||||
</span>
|
||||
|
||||
<span class="float-right spacing">
|
||||
{{ $document->order_number }}
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('order_number_input_end')
|
||||
|
||||
@stack('issued_at_input_start')
|
||||
@if (! $hideIssuedAt)
|
||||
<p class="mb-0">
|
||||
<span class="text-semibold spacing">
|
||||
{{ trans($textOrderNumber) }}:
|
||||
{{ trans($textIssuedAt) }}:
|
||||
</span>
|
||||
|
||||
<span class="float-right spacing">
|
||||
{{ $document->order_number }}
|
||||
@date($document->issued_at)
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('order_number_input_end')
|
||||
@stack('issued_at_input_end')
|
||||
|
||||
@stack('issued_at_input_start')
|
||||
@if (! $hideIssuedAt)
|
||||
<p class="mb-0">
|
||||
<span class="text-semibold spacing">
|
||||
{{ trans($textIssuedAt) }}:
|
||||
</span>
|
||||
@stack('due_at_input_start')
|
||||
@if (! $hideDueAt)
|
||||
<p class="mb-0">
|
||||
<span class="text-semibold spacing">
|
||||
{{ trans($textDueAt) }}:
|
||||
</span>
|
||||
|
||||
<span class="float-right spacing">
|
||||
@date($document->issued_at)
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@stack('issued_at_input_end')
|
||||
<span class="float-right spacing">
|
||||
@date($document->due_at)
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@stack('due_at_input_end')
|
||||
|
||||
@stack('due_at_input_start')
|
||||
@if (! $hideDueAt)
|
||||
<p class="mb-0">
|
||||
<span class="text-semibold spacing">
|
||||
{{ trans($textDueAt) }}:
|
||||
</span>
|
||||
@foreach ($document->totals_sorted as $total)
|
||||
@if ($total->code == 'total')
|
||||
<p class="mb-0">
|
||||
<span class="text-semibold spacing">
|
||||
{{ trans($total->name) }}:
|
||||
</span>
|
||||
|
||||
<span class="float-right spacing">
|
||||
@date($document->due_at)
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@stack('due_at_input_end')
|
||||
|
||||
@foreach ($document->totals_sorted as $total)
|
||||
@if ($total->code == 'total')
|
||||
<p class="mb-0">
|
||||
<span class="text-semibold spacing">
|
||||
{{ trans($total->name) }}:
|
||||
</span>
|
||||
|
||||
<span class="float-right spacing">
|
||||
@money($total->amount - $document->paid, $document->currency_code, true)
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if (! $hideItems)
|
||||
<div class="row">
|
||||
<div class="col-100">
|
||||
<div class="text extra-spacing">
|
||||
<table class="c-lines">
|
||||
<thead>
|
||||
<tr>
|
||||
@stack('name_th_start')
|
||||
@if (! $hideItems || (! $hideName && ! $hideDescription))
|
||||
<th class="item text text-semibold text-alignment-left text-left">
|
||||
{{ (trans_choice($textItems, 2) != $textItems) ? trans_choice($textItems, 2) : trans($textItems) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('name_th_end')
|
||||
|
||||
@stack('quantity_th_start')
|
||||
@if (! $hideQuantity)
|
||||
<th class="quantity text text-semibold text-alignment-right text-right">
|
||||
{{ trans($textQuantity) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('quantity_th_end')
|
||||
|
||||
@stack('price_th_start')
|
||||
@if (! $hidePrice)
|
||||
<th class="price text text-semibold text-alignment-right text-right">
|
||||
{{ trans($textPrice) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('price_th_end')
|
||||
|
||||
@if (! $hideDiscount)
|
||||
@if (in_array(setting('localisation.discount_location', 'total'), ['item', 'both']))
|
||||
@stack('discount_td_start')
|
||||
<th class="discount text text-semibold text-alignment-right text-right">
|
||||
{{ trans('invoices.discount') }}
|
||||
</th>
|
||||
@stack('discount_td_end')
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@stack('total_th_start')
|
||||
@if (! $hideAmount)
|
||||
<th class="total text text-semibold text-alignment-right text-right">
|
||||
{{ trans($textAmount) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('total_th_end')
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@if ($document->items->count())
|
||||
@foreach($document->items as $item)
|
||||
<x-documents.template.line-item
|
||||
type="{{ $type }}"
|
||||
:item="$item"
|
||||
:document="$document"
|
||||
hide-items="{{ $hideItems }}"
|
||||
hide-name="{{ $hideName }}"
|
||||
hide-description="{{ $hideDescription }}"
|
||||
hide-quantity="{{ $hideQuantity }}"
|
||||
hide-price="{{ $hidePrice }}"
|
||||
hide-discount="{{ $hideDiscount }}"
|
||||
hide-amount="{{ $hideAmount }}"
|
||||
/>
|
||||
@endforeach
|
||||
@else
|
||||
<tr>
|
||||
<td colspan="5" class="text-center text empty-items">
|
||||
{{ trans('documents.empty_items') }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
</tbody>
|
||||
</table>
|
||||
<span class="float-right spacing">
|
||||
@money($total->amount - $document->paid, $document->currency_code, true)
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="row mt-4 clearfix">
|
||||
<div class="col-60">
|
||||
<div class="text p-index-right">
|
||||
@stack('notes_input_start')
|
||||
@if ($hideNote)
|
||||
@if ($document->notes)
|
||||
<strong>
|
||||
{{ trans_choice('general.notes', 2) }}
|
||||
</strong>
|
||||
|
||||
{!! nl2br($document->notes) !!}
|
||||
@endif
|
||||
@endif
|
||||
@stack('notes_input_end')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-40 float-right text-right">
|
||||
@foreach ($document->totals_sorted as $total)
|
||||
@if ($total->code != 'total')
|
||||
@stack($total->code . '_total_tr_start')
|
||||
<div class="text border-bottom-dashed py-1">
|
||||
<strong class="float-left text-semibold">
|
||||
{{ trans($total->title) }}:
|
||||
</strong>
|
||||
|
||||
<span>
|
||||
@money($total->amount, $document->currency_code, true)
|
||||
</span>
|
||||
</div>
|
||||
@stack($total->code . '_total_tr_end')
|
||||
@else
|
||||
@if ($document->paid)
|
||||
@stack('paid_total_tr_start')
|
||||
<div class="text border-bottom-dashed py-1">
|
||||
<span class="float-left text-semibold">
|
||||
{{ trans('invoices.paid') }}:
|
||||
</span>
|
||||
|
||||
<span>
|
||||
- @money($document->paid, $document->currency_code, true)
|
||||
</span>
|
||||
</div>
|
||||
@stack('paid_total_tr_end')
|
||||
@endif
|
||||
|
||||
@stack('grand_total_tr_start')
|
||||
<div class="text border-bottom-dashed py-1">
|
||||
<span class="float-left text-semibold">
|
||||
{{ trans($total->name) }}:
|
||||
</span>
|
||||
|
||||
<span>
|
||||
@money($document->amount_due, $document->currency_code, true)
|
||||
</span>
|
||||
</div>
|
||||
@stack('grand_total_tr_end')
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if (! $hideFooter)
|
||||
@if ($document->footer)
|
||||
<div class="row mt-1">
|
||||
@if (! $hideItems)
|
||||
<div class="row">
|
||||
<div class="col-100">
|
||||
<div class="text company">
|
||||
<strong>
|
||||
{!! nl2br($document->footer) !!}
|
||||
</strong>
|
||||
<div class="text extra-spacing">
|
||||
<table class="c-lines">
|
||||
<thead>
|
||||
<tr>
|
||||
@stack('name_th_start')
|
||||
@if (! $hideItems || (! $hideName && ! $hideDescription))
|
||||
<th class="item text text-semibold text-alignment-left text-left">
|
||||
{{ (trans_choice($textItems, 2) != $textItems) ? trans_choice($textItems, 2) : trans($textItems) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('name_th_end')
|
||||
|
||||
@stack('quantity_th_start')
|
||||
@if (! $hideQuantity)
|
||||
<th class="quantity text text-semibold text-alignment-right text-right">
|
||||
{{ trans($textQuantity) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('quantity_th_end')
|
||||
|
||||
@stack('price_th_start')
|
||||
@if (! $hidePrice)
|
||||
<th class="price text text-semibold text-alignment-right text-right">
|
||||
{{ trans($textPrice) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('price_th_end')
|
||||
|
||||
@if (! $hideDiscount)
|
||||
@if (in_array(setting('localisation.discount_location', 'total'), ['item', 'both']))
|
||||
@stack('discount_td_start')
|
||||
<th class="discount text text-semibold text-alignment-right text-right">
|
||||
{{ trans('invoices.discount') }}
|
||||
</th>
|
||||
@stack('discount_td_end')
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@stack('total_th_start')
|
||||
@if (! $hideAmount)
|
||||
<th class="total text text-semibold text-alignment-right text-right">
|
||||
{{ trans($textAmount) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('total_th_end')
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@if ($document->items->count())
|
||||
@foreach($document->items as $item)
|
||||
<x-documents.template.line-item
|
||||
type="{{ $type }}"
|
||||
:item="$item"
|
||||
:document="$document"
|
||||
hide-items="{{ $hideItems }}"
|
||||
hide-name="{{ $hideName }}"
|
||||
hide-description="{{ $hideDescription }}"
|
||||
hide-quantity="{{ $hideQuantity }}"
|
||||
hide-price="{{ $hidePrice }}"
|
||||
hide-discount="{{ $hideDiscount }}"
|
||||
hide-amount="{{ $hideAmount }}"
|
||||
/>
|
||||
@endforeach
|
||||
@else
|
||||
<tr>
|
||||
<td colspan="5" class="text-center text empty-items">
|
||||
{{ trans('documents.empty_items') }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
<div class="row mt-4 clearfix">
|
||||
<div class="col-60">
|
||||
<div class="text p-index-right">
|
||||
@stack('notes_input_start')
|
||||
@if ($hideNote)
|
||||
@if ($document->notes)
|
||||
<strong>
|
||||
{{ trans_choice('general.notes', 2) }}
|
||||
</strong>
|
||||
|
||||
{!! nl2br($document->notes) !!}
|
||||
@endif
|
||||
@endif
|
||||
@stack('notes_input_end')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-40 float-right text-right">
|
||||
@foreach ($document->totals_sorted as $total)
|
||||
@if ($total->code != 'total')
|
||||
@stack($total->code . '_total_tr_start')
|
||||
<div class="text border-bottom-dashed py-1">
|
||||
<strong class="float-left text-semibold">
|
||||
{{ trans($total->title) }}:
|
||||
</strong>
|
||||
|
||||
<span>
|
||||
@money($total->amount, $document->currency_code, true)
|
||||
</span>
|
||||
</div>
|
||||
@stack($total->code . '_total_tr_end')
|
||||
@else
|
||||
@if ($document->paid)
|
||||
@stack('paid_total_tr_start')
|
||||
<div class="text border-bottom-dashed py-1">
|
||||
<span class="float-left text-semibold">
|
||||
{{ trans('invoices.paid') }}:
|
||||
</span>
|
||||
|
||||
<span>
|
||||
- @money($document->paid, $document->currency_code, true)
|
||||
</span>
|
||||
</div>
|
||||
@stack('paid_total_tr_end')
|
||||
@endif
|
||||
|
||||
@stack('grand_total_tr_start')
|
||||
<div class="text border-bottom-dashed py-1">
|
||||
<span class="float-left text-semibold">
|
||||
{{ trans($total->name) }}:
|
||||
</span>
|
||||
|
||||
<span>
|
||||
@money($document->amount_due, $document->currency_code, true)
|
||||
</span>
|
||||
</div>
|
||||
@stack('grand_total_tr_end')
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if (! $hideFooter)
|
||||
@if ($document->footer)
|
||||
<div class="row mt-1">
|
||||
<div class="col-100">
|
||||
<div class="text company">
|
||||
<strong>
|
||||
{!! nl2br($document->footer) !!}
|
||||
</strong>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
|
@ -1,346 +1,348 @@
|
||||
<div class="row">
|
||||
<div class="col-100">
|
||||
<div class="text text-dark">
|
||||
<h3>
|
||||
{{ $textDocumentTitle }}
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row border-bottom-1">
|
||||
<div class="col-58">
|
||||
<div class="text">
|
||||
@stack('company_logo_start')
|
||||
@if (! $hideCompanyLogo)
|
||||
@if (! empty($document->contact->logo) && ! empty($document->contact->logo->id))
|
||||
<img class="d-logo w-image" src="{{ $logo }}" alt="{{ $document->contact_name }}"/>
|
||||
@else
|
||||
<img class="d-logo w-image" src="{{ $logo }}" alt="{{ setting('company.name') }}"/>
|
||||
@endif
|
||||
@endif
|
||||
@stack('company_logo_end')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-42">
|
||||
<div class="text right-column">
|
||||
@stack('company_details_start')
|
||||
@if ($textDocumentSubheading)
|
||||
<p class="text-normal font-semibold">
|
||||
{{ $textDocumentSubheading }}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyDetails)
|
||||
@if (! $hideCompanyName)
|
||||
<p>{{ setting('company.name') }}</p>
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyAddress)
|
||||
<p>
|
||||
{!! nl2br(setting('company.address')) !!}
|
||||
{!! $document->company->location !!}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyTaxNumber)
|
||||
|
||||
@if (setting('company.tax_number'))
|
||||
<p>
|
||||
{{ trans('general.tax_number') }}: {{ setting('company.tax_number') }}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyPhone)
|
||||
@if (setting('company.phone'))
|
||||
<p>
|
||||
{{ setting('company.phone') }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyEmail)
|
||||
<p class="small-text">{{ setting('company.email') }}</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('company_details_end')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row top-spacing">
|
||||
<div class="col-60">
|
||||
<div class="text p-index-left">
|
||||
@if (! $hideContactInfo)
|
||||
<p class="text-semibold mb-0">{{ trans($textContactInfo) }}</p>
|
||||
@endif
|
||||
|
||||
@stack('name_input_start')
|
||||
@if (! $hideContactName)
|
||||
<p>{{ $document->contact_name }}</p>
|
||||
@endif
|
||||
@stack('name_input_end')
|
||||
|
||||
@stack('address_input_start')
|
||||
@if (! $hideContactAddress)
|
||||
<p>
|
||||
{!! nl2br($document->contact_address) !!}
|
||||
<br>
|
||||
{!! $document->contact_location !!}
|
||||
</p>
|
||||
@endif
|
||||
@stack('address_input_end')
|
||||
|
||||
@stack('tax_number_input_start')
|
||||
@if (! $hideContactTaxNumber)
|
||||
@if ($document->contact_tax_number)
|
||||
<p>
|
||||
<span class="text-medium text-default">
|
||||
{{ trans('general.tax_number') }}:
|
||||
</span>
|
||||
{{ $document->contact_tax_number }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('tax_number_input_end')
|
||||
|
||||
@stack('phone_input_start')
|
||||
@if (! $hideContactPhone)
|
||||
@if ($document->contact_phone)
|
||||
<p>
|
||||
{{ $document->contact_phone }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('phone_input_end')
|
||||
|
||||
@stack('email_start')
|
||||
@if (! $hideContactEmail)
|
||||
<p class="small-text">
|
||||
{{ $document->contact_email }}
|
||||
</p>
|
||||
@endif
|
||||
@stack('email_input_end')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-40">
|
||||
<div class="text p-index-right">
|
||||
@stack('document_number_input_start')
|
||||
@if (! $hideDocumentNumber)
|
||||
<p class="mb-0">
|
||||
<span class="font-semibold spacing w-numbers">
|
||||
{{ trans($textDocumentNumber) }}:
|
||||
</span>
|
||||
|
||||
<span class="float-right spacing">
|
||||
{{ $document->document_number }}
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@stack('document_number_input_end')
|
||||
|
||||
@stack('order_number_input_start')
|
||||
@if (! $hideOrderNumber)
|
||||
@if ($document->order_number)
|
||||
<p class="mb-0">
|
||||
<span class="font-semibold spacing w-numbers">
|
||||
{{ trans($textOrderNumber) }}:
|
||||
</span>
|
||||
|
||||
<span class="float-right spacing">
|
||||
{{ $document->order_number }}
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('order_number_input_end')
|
||||
|
||||
@stack('issued_at_input_start')
|
||||
@if (! $hideIssuedAt)
|
||||
<p class="mb-0">
|
||||
<span class="font-semibold spacing w-numbers">
|
||||
{{ trans($textIssuedAt) }}:
|
||||
</span>
|
||||
|
||||
<span class="float-right spacing">
|
||||
@date($document->issued_at)
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@stack('issued_at_input_end')
|
||||
|
||||
@stack('due_at_input_start')
|
||||
@if (! $hideDueAt)
|
||||
<p class="mb-0">
|
||||
<span class="font-semibold spacing w-numbers">
|
||||
{{ trans($textDueAt) }}:
|
||||
</span>
|
||||
|
||||
<span class="float-right spacing">
|
||||
@date($document->due_at)
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@stack('due_at_input_end')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if (! $hideItems)
|
||||
<div class="print-template">
|
||||
<div class="row">
|
||||
<div class="col-100">
|
||||
<div class="text extra-spacing">
|
||||
<table class="lines">
|
||||
<thead class="bg-{{ $backgroundColor }}" style="background-color:{{ $backgroundColor }} !important; -webkit-print-color-adjust: exact;">
|
||||
<tr>
|
||||
@stack('name_th_start')
|
||||
@if (! $hideItems || (! $hideName && ! $hideDescription))
|
||||
<th class="item text text-semibold text-alignment-left text-left text-white border-radius-first">
|
||||
{{ (trans_choice($textItems, 2) != $textItems) ? trans_choice($textItems, 2) : trans($textItems) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('name_th_end')
|
||||
|
||||
@stack('quantity_th_start')
|
||||
@if (! $hideQuantity)
|
||||
<th class="quantity text text-semibold text-alignment-right text-right text-white">
|
||||
{{ trans($textQuantity) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('quantity_th_end')
|
||||
|
||||
@stack('price_th_start')
|
||||
@if (! $hidePrice)
|
||||
<th class="price text text-semibold text-alignment-right text-right text-white">
|
||||
{{ trans($textPrice) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('price_th_end')
|
||||
|
||||
@if (! $hideDiscount)
|
||||
@if (in_array(setting('localisation.discount_location', 'total'), ['item', 'both']))
|
||||
@stack('discount_td_start')
|
||||
<th class="discount text text-semibold text-alignment-right text-right text-white">
|
||||
{{ trans('invoices.discount') }}
|
||||
</th>
|
||||
@stack('discount_td_end')
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@stack('total_th_start')
|
||||
@if (! $hideAmount)
|
||||
<th class="total text text-semibold text-white text-alignment-right text-right border-radius-last">
|
||||
{{ trans($textAmount) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('total_th_end')
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@if ($document->items->count())
|
||||
@foreach($document->items as $item)
|
||||
<x-documents.template.line-item
|
||||
type="{{ $type }}"
|
||||
:item="$item"
|
||||
:document="$document"
|
||||
hide-items="{{ $hideItems }}"
|
||||
hide-name="{{ $hideName }}"
|
||||
hide-description="{{ $hideDescription }}"
|
||||
hide-quantity="{{ $hideQuantity }}"
|
||||
hide-price="{{ $hidePrice }}"
|
||||
hide-discount="{{ $hideDiscount }}"
|
||||
hide-amount="{{ $hideAmount }}"
|
||||
/>
|
||||
@endforeach
|
||||
@else
|
||||
<tr>
|
||||
<td colspan="5" class="text text-center empty-items">
|
||||
{{ trans('documents.empty_items') }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="text text-dark">
|
||||
<h3>
|
||||
{{ $textDocumentTitle }}
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="row mt-9 clearfix">
|
||||
<div class="col-60">
|
||||
<div class="text p-index-left">
|
||||
@stack('notes_input_start')
|
||||
@if ($document->notes)
|
||||
<p class="text-semibold">
|
||||
{{ trans_choice('general.notes', 2) }}
|
||||
</p>
|
||||
|
||||
{!! nl2br($document->notes) !!}
|
||||
<div class="row border-bottom-1">
|
||||
<div class="col-58">
|
||||
<div class="text">
|
||||
@stack('company_logo_start')
|
||||
@if (! $hideCompanyLogo)
|
||||
@if (! empty($document->contact->logo) && ! empty($document->contact->logo->id))
|
||||
<img class="d-logo w-image" src="{{ $logo }}" alt="{{ $document->contact_name }}"/>
|
||||
@else
|
||||
<img class="d-logo w-image" src="{{ $logo }}" alt="{{ setting('company.name') }}"/>
|
||||
@endif
|
||||
@endif
|
||||
@stack('notes_input_end')
|
||||
@stack('company_logo_end')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-42">
|
||||
<div class="text right-column">
|
||||
@stack('company_details_start')
|
||||
@if ($textDocumentSubheading)
|
||||
<p class="text-normal font-semibold">
|
||||
{{ $textDocumentSubheading }}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyDetails)
|
||||
@if (! $hideCompanyName)
|
||||
<p>{{ setting('company.name') }}</p>
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyAddress)
|
||||
<p>
|
||||
{!! nl2br(setting('company.address')) !!}
|
||||
{!! $document->company->location !!}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyTaxNumber)
|
||||
|
||||
@if (setting('company.tax_number'))
|
||||
<p>
|
||||
{{ trans('general.tax_number') }}: {{ setting('company.tax_number') }}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyPhone)
|
||||
@if (setting('company.phone'))
|
||||
<p>
|
||||
{{ setting('company.phone') }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyEmail)
|
||||
<p class="small-text">{{ setting('company.email') }}</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('company_details_end')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-40 float-right text-right">
|
||||
@foreach ($document->totals_sorted as $total)
|
||||
@if ($total->code != 'total')
|
||||
@stack($total->code . '_total_tr_start')
|
||||
<div class="text border-bottom-1 py-1">
|
||||
<span class="float-left text-semibold">
|
||||
{{ trans($total->title) }}:
|
||||
</span>
|
||||
|
||||
<span>
|
||||
@money($total->amount, $document->currency_code, true)
|
||||
</span>
|
||||
</div>
|
||||
@stack($total->code . '_total_tr_end')
|
||||
@else
|
||||
@if ($document->paid)
|
||||
@stack('paid_total_tr_start')
|
||||
<div class="text border-bottom-1 py-1">
|
||||
<span class="float-left text-semibold">
|
||||
{{ trans('invoices.paid') }}:
|
||||
</span>
|
||||
|
||||
<span>
|
||||
- @money($document->paid, $document->currency_code, true)
|
||||
</span>
|
||||
</div>
|
||||
@stack('paid_total_tr_end')
|
||||
<div class="row top-spacing">
|
||||
<div class="col-60">
|
||||
<div class="text p-index-left">
|
||||
@if (! $hideContactInfo)
|
||||
<p class="text-semibold mb-0">{{ trans($textContactInfo) }}</p>
|
||||
@endif
|
||||
|
||||
@stack('grand_total_tr_start')
|
||||
<div class="text border-bottom-1 py-1">
|
||||
<span class="float-left text-semibold">
|
||||
{{ trans($total->name) }}:
|
||||
</span>
|
||||
@stack('name_input_start')
|
||||
@if (! $hideContactName)
|
||||
<p>{{ $document->contact_name }}</p>
|
||||
@endif
|
||||
@stack('name_input_end')
|
||||
|
||||
<span>
|
||||
@money($document->amount_due, $document->currency_code, true)
|
||||
</span>
|
||||
</div>
|
||||
@stack('grand_total_tr_end')
|
||||
@endif
|
||||
@endforeach
|
||||
@stack('address_input_start')
|
||||
@if (! $hideContactAddress)
|
||||
<p>
|
||||
{!! nl2br($document->contact_address) !!}
|
||||
<br>
|
||||
{!! $document->contact_location !!}
|
||||
</p>
|
||||
@endif
|
||||
@stack('address_input_end')
|
||||
|
||||
@stack('tax_number_input_start')
|
||||
@if (! $hideContactTaxNumber)
|
||||
@if ($document->contact_tax_number)
|
||||
<p>
|
||||
<span class="text-medium text-default">
|
||||
{{ trans('general.tax_number') }}:
|
||||
</span>
|
||||
{{ $document->contact_tax_number }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('tax_number_input_end')
|
||||
|
||||
@stack('phone_input_start')
|
||||
@if (! $hideContactPhone)
|
||||
@if ($document->contact_phone)
|
||||
<p>
|
||||
{{ $document->contact_phone }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('phone_input_end')
|
||||
|
||||
@stack('email_start')
|
||||
@if (! $hideContactEmail)
|
||||
<p class="small-text">
|
||||
{{ $document->contact_email }}
|
||||
</p>
|
||||
@endif
|
||||
@stack('email_input_end')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-40">
|
||||
<div class="text p-index-right">
|
||||
@stack('document_number_input_start')
|
||||
@if (! $hideDocumentNumber)
|
||||
<p class="mb-0">
|
||||
<span class="font-semibold spacing w-numbers">
|
||||
{{ trans($textDocumentNumber) }}:
|
||||
</span>
|
||||
|
||||
<span class="float-right spacing">
|
||||
{{ $document->document_number }}
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@stack('document_number_input_end')
|
||||
|
||||
@stack('order_number_input_start')
|
||||
@if (! $hideOrderNumber)
|
||||
@if ($document->order_number)
|
||||
<p class="mb-0">
|
||||
<span class="font-semibold spacing w-numbers">
|
||||
{{ trans($textOrderNumber) }}:
|
||||
</span>
|
||||
|
||||
<span class="float-right spacing">
|
||||
{{ $document->order_number }}
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('order_number_input_end')
|
||||
|
||||
@stack('issued_at_input_start')
|
||||
@if (! $hideIssuedAt)
|
||||
<p class="mb-0">
|
||||
<span class="font-semibold spacing w-numbers">
|
||||
{{ trans($textIssuedAt) }}:
|
||||
</span>
|
||||
|
||||
<span class="float-right spacing">
|
||||
@date($document->issued_at)
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@stack('issued_at_input_end')
|
||||
|
||||
@stack('due_at_input_start')
|
||||
@if (! $hideDueAt)
|
||||
<p class="mb-0">
|
||||
<span class="font-semibold spacing w-numbers">
|
||||
{{ trans($textDueAt) }}:
|
||||
</span>
|
||||
|
||||
<span class="float-right spacing">
|
||||
@date($document->due_at)
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@stack('due_at_input_end')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if (! $hideFooter)
|
||||
@if ($document->footer)
|
||||
<div class="row mt-4">
|
||||
<div class="col-100 text-left">
|
||||
<div class="text">
|
||||
<strong>
|
||||
{!! nl2br($document->footer) !!}
|
||||
</strong>
|
||||
@if (! $hideItems)
|
||||
<div class="row">
|
||||
<div class="col-100">
|
||||
<div class="text extra-spacing">
|
||||
<table class="lines">
|
||||
<thead style="background-color:{{ $backgroundColor }} !important; -webkit-print-color-adjust: exact;">
|
||||
<tr>
|
||||
@stack('name_th_start')
|
||||
@if (! $hideItems || (! $hideName && ! $hideDescription))
|
||||
<th class="item text text-semibold text-alignment-left text-left text-white border-radius-first">
|
||||
{{ (trans_choice($textItems, 2) != $textItems) ? trans_choice($textItems, 2) : trans($textItems) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('name_th_end')
|
||||
|
||||
@stack('quantity_th_start')
|
||||
@if (! $hideQuantity)
|
||||
<th class="quantity text text-semibold text-alignment-right text-right text-white">
|
||||
{{ trans($textQuantity) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('quantity_th_end')
|
||||
|
||||
@stack('price_th_start')
|
||||
@if (! $hidePrice)
|
||||
<th class="price text text-semibold text-alignment-right text-right text-white">
|
||||
{{ trans($textPrice) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('price_th_end')
|
||||
|
||||
@if (! $hideDiscount)
|
||||
@if (in_array(setting('localisation.discount_location', 'total'), ['item', 'both']))
|
||||
@stack('discount_td_start')
|
||||
<th class="discount text text-semibold text-alignment-right text-right text-white">
|
||||
{{ trans('invoices.discount') }}
|
||||
</th>
|
||||
@stack('discount_td_end')
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@stack('total_th_start')
|
||||
@if (! $hideAmount)
|
||||
<th class="total text text-semibold text-white text-alignment-right text-right border-radius-last">
|
||||
{{ trans($textAmount) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('total_th_end')
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@if ($document->items->count())
|
||||
@foreach($document->items as $item)
|
||||
<x-documents.template.line-item
|
||||
type="{{ $type }}"
|
||||
:item="$item"
|
||||
:document="$document"
|
||||
hide-items="{{ $hideItems }}"
|
||||
hide-name="{{ $hideName }}"
|
||||
hide-description="{{ $hideDescription }}"
|
||||
hide-quantity="{{ $hideQuantity }}"
|
||||
hide-price="{{ $hidePrice }}"
|
||||
hide-discount="{{ $hideDiscount }}"
|
||||
hide-amount="{{ $hideAmount }}"
|
||||
/>
|
||||
@endforeach
|
||||
@else
|
||||
<tr>
|
||||
<td colspan="5" class="text text-center empty-items">
|
||||
{{ trans('documents.empty_items') }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
<div class="row mt-9 clearfix">
|
||||
<div class="col-60">
|
||||
<div class="text p-index-left">
|
||||
@stack('notes_input_start')
|
||||
@if ($document->notes)
|
||||
<p class="text-semibold">
|
||||
{{ trans_choice('general.notes', 2) }}
|
||||
</p>
|
||||
|
||||
{!! nl2br($document->notes) !!}
|
||||
@endif
|
||||
@stack('notes_input_end')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-40 float-right text-right">
|
||||
@foreach ($document->totals_sorted as $total)
|
||||
@if ($total->code != 'total')
|
||||
@stack($total->code . '_total_tr_start')
|
||||
<div class="text border-bottom-1 py-1">
|
||||
<span class="float-left text-semibold">
|
||||
{{ trans($total->title) }}:
|
||||
</span>
|
||||
|
||||
<span>
|
||||
@money($total->amount, $document->currency_code, true)
|
||||
</span>
|
||||
</div>
|
||||
@stack($total->code . '_total_tr_end')
|
||||
@else
|
||||
@if ($document->paid)
|
||||
@stack('paid_total_tr_start')
|
||||
<div class="text border-bottom-1 py-1">
|
||||
<span class="float-left text-semibold">
|
||||
{{ trans('invoices.paid') }}:
|
||||
</span>
|
||||
|
||||
<span>
|
||||
- @money($document->paid, $document->currency_code, true)
|
||||
</span>
|
||||
</div>
|
||||
@stack('paid_total_tr_end')
|
||||
@endif
|
||||
|
||||
@stack('grand_total_tr_start')
|
||||
<div class="text border-bottom-1 py-1">
|
||||
<span class="float-left text-semibold">
|
||||
{{ trans($total->name) }}:
|
||||
</span>
|
||||
|
||||
<span>
|
||||
@money($document->amount_due, $document->currency_code, true)
|
||||
</span>
|
||||
</div>
|
||||
@stack('grand_total_tr_end')
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if (! $hideFooter)
|
||||
@if ($document->footer)
|
||||
<div class="row mt-4">
|
||||
<div class="col-100 text-left">
|
||||
<div class="text">
|
||||
<strong>
|
||||
{!! nl2br($document->footer) !!}
|
||||
</strong>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
|
@ -1,357 +1,359 @@
|
||||
<div class="row">
|
||||
<div class="col-100">
|
||||
<div class="text text-dark">
|
||||
<h3>
|
||||
{{ $textDocumentTitle }}
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row modern-head pt-2 pb-2 mt-1 bg-{{ $backgroundColor }}" style="background-color:{{ $backgroundColor }} !important; -webkit-print-color-adjust: exact;">
|
||||
<div class="col-58">
|
||||
<div class="text p-modern">
|
||||
@stack('company_logo_start')
|
||||
@if (! $hideCompanyLogo)
|
||||
@if (! empty($document->contact->logo) && ! empty($document->contact->logo->id))
|
||||
<img class="w-image radius-circle" src="{{ $logo }}" alt="{{ $document->contact_name }}"/>
|
||||
@else
|
||||
<img class="w-image radius-circle" src="{{ $logo }}" alt="{{ setting('company.name') }}" />
|
||||
@endif
|
||||
@endif
|
||||
@stack('company_logo_end')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-42">
|
||||
<div class="text p-modern right-column">
|
||||
@stack('company_details_start')
|
||||
@if ($textDocumentSubheading)
|
||||
<p class="text-normal font-semibold">
|
||||
{{ $textDocumentSubheading }}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyName)
|
||||
<p class="text-white">
|
||||
{{ setting('company.name') }}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyDetails)
|
||||
@if (! $hideCompanyAddress)
|
||||
<p class="text-white">
|
||||
{!! nl2br(setting('company.address')) !!}
|
||||
{!! $document->company->location !!}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyTaxNumber)
|
||||
<p class="text-white">
|
||||
@if (setting('company.tax_number'))
|
||||
<span class="text-medium text-default">
|
||||
{{ trans('general.tax_number') }}:
|
||||
</span>
|
||||
|
||||
{{ setting('company.tax_number') }}
|
||||
@endif
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@if (!$hideCompanyPhone)
|
||||
<p class="text-white">
|
||||
@if (setting('company.phone'))
|
||||
{{ setting('company.phone') }}
|
||||
@endif
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@if (!$hideCompanyEmail)
|
||||
<p class="small-text text-white">
|
||||
{{ setting('company.email') }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('company_details_end')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row top-spacing">
|
||||
<div class="col-50">
|
||||
<div class="text p-modern">
|
||||
@if (! $hideContactInfo)
|
||||
<p class="text-semibold mb-0">
|
||||
{{ trans($textContactInfo) }}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@stack('name_input_start')
|
||||
@if (! $hideContactName)
|
||||
<p>
|
||||
{{ $document->contact_name }}
|
||||
</p>
|
||||
@endif
|
||||
@stack('name_input_end')
|
||||
|
||||
@stack('address_input_start')
|
||||
@if (! $hideContactAddress)
|
||||
<p>
|
||||
{!! nl2br($document->contact_address) !!}
|
||||
<br/>
|
||||
{!! $document->contact_location !!}
|
||||
</p>
|
||||
@endif
|
||||
@stack('address_input_end')
|
||||
|
||||
@stack('tax_number_input_start')
|
||||
@if (! $hideContactTaxNumber)
|
||||
@if ($document->contact_tax_number)
|
||||
<p>
|
||||
<span class="text-medium text-default">
|
||||
{{ trans('general.tax_number') }}:
|
||||
</span>
|
||||
|
||||
{{ $document->contact_tax_number }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('tax_number_input_end')
|
||||
|
||||
@stack('phone_input_start')
|
||||
@if (! $hideContactPhone)
|
||||
@if ($document->contact_phone)
|
||||
<p>
|
||||
{{ $document->contact_phone }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('phone_input_end')
|
||||
|
||||
@stack('email_start')
|
||||
@if (! $hideContactEmail)
|
||||
<p>
|
||||
{{ $document->contact_email }}
|
||||
</p>
|
||||
@endif
|
||||
@stack('email_input_end')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-50">
|
||||
<div class="text p-modern">
|
||||
@stack('order_number_input_start')
|
||||
@if (! $hideOrderNumber)
|
||||
@if ($document->order_number)
|
||||
<p class="mb-0">
|
||||
<span class="text-semibold spacing">
|
||||
{{ trans($textOrderNumber) }}:
|
||||
</span>
|
||||
|
||||
<span class="float-right spacing">
|
||||
{{ $document->order_number }}
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('order_number_input_end')
|
||||
|
||||
@stack('invoice_number_input_start')
|
||||
@if (! $hideDocumentNumber)
|
||||
<p class="mb-0">
|
||||
<span class="text-semibold spacing">
|
||||
{{ trans($textDocumentNumber) }}:
|
||||
</span>
|
||||
|
||||
<span class="float-right spacing">
|
||||
{{ $document->document_number }}
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@stack('invoice_number_input_end')
|
||||
|
||||
@stack('issued_at_input_start')
|
||||
@if (! $hideIssuedAt)
|
||||
<p class="mb-0">
|
||||
<span class="text-semibold spacing">
|
||||
{{ trans($textIssuedAt) }}:
|
||||
</span>
|
||||
|
||||
<span class="float-right spacing">
|
||||
@date($document->issued_at)
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@stack('issued_at_input_end')
|
||||
|
||||
@stack('due_at_input_start')
|
||||
@if (! $hideDueAt)
|
||||
<p class="mb-0">
|
||||
<span class="text-semibold spacing">
|
||||
{{ trans($textDueAt) }}:
|
||||
</span>
|
||||
|
||||
<span class="float-right spacing">
|
||||
@date($document->due_at)
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@stack('due_at_input_end')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if (! $hideItems)
|
||||
<div class="print-template">
|
||||
<div class="row">
|
||||
<div class="col-100">
|
||||
<div class="text extra-spacing">
|
||||
<table class="lines modern-lines">
|
||||
<thead class="bg-{{ $backgroundColor }}" style="background-color:{{ $backgroundColor }} !important; -webkit-print-color-adjust: exact;">
|
||||
<tr>
|
||||
@stack('name_th_start')
|
||||
@if (! $hideItems || (! $hideName && ! $hideDescription))
|
||||
<th class="item text text-semibold text-alignment-left text-left text-white border-radius-first">
|
||||
{{ (trans_choice($textItems, 2) != $textItems) ? trans_choice($textItems, 2) : trans($textItems) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('name_th_end')
|
||||
|
||||
@stack('quantity_th_start')
|
||||
@if (! $hideQuantity)
|
||||
<th class="quantity text text-semibold text-white text-alignment-right text-right">
|
||||
{{ trans($textQuantity) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('quantity_th_end')
|
||||
|
||||
@stack('price_th_start')
|
||||
@if (! $hidePrice)
|
||||
<th class="price text text-semibold text-white text-alignment-right text-right">
|
||||
{{ trans($textPrice) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('price_th_end')
|
||||
|
||||
@if (! $hideDiscount)
|
||||
@if (in_array(setting('localisation.discount_location', 'total'), ['item', 'both']))
|
||||
@stack('discount_td_start')
|
||||
<th class="discount text text-semibold text-white text-alignment-right text-right">
|
||||
{{ trans('invoices.discount') }}
|
||||
</th>
|
||||
@stack('discount_td_end')
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@stack('total_th_start')
|
||||
@if (! $hideAmount)
|
||||
<th class="total text text-semibold text-white text-alignment-right text-right border-radius-last">
|
||||
{{ trans($textAmount) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('total_th_end')
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@if ($document->items->count())
|
||||
@foreach($document->items as $item)
|
||||
<x-documents.template.line-item
|
||||
type="{{ $type }}"
|
||||
:item="$item"
|
||||
:document="$document"
|
||||
hide-items="{{ $hideItems }}"
|
||||
hide-name="{{ $hideName }}"
|
||||
hide-description="{{ $hideDescription }}"
|
||||
hide-quantity="{{ $hideQuantity }}"
|
||||
hide-price="{{ $hidePrice }}"
|
||||
hide-discount="{{ $hideDiscount }}"
|
||||
hide-amount="{{ $hideAmount }}"
|
||||
/>
|
||||
@endforeach
|
||||
@else
|
||||
<tr>
|
||||
<td colspan="5" class="text text-center empty-items">
|
||||
{{ trans('documents.empty_items') }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="text text-dark">
|
||||
<h3>
|
||||
{{ $textDocumentTitle }}
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="row mt-7 clearfix">
|
||||
<div class="col-60">
|
||||
<div class="text p-index-right p-modern">
|
||||
@stack('notes_input_start')
|
||||
@if ($document->notes)
|
||||
<p class="text-semibold">
|
||||
{{ trans_choice('general.notes', 2) }}
|
||||
</p>
|
||||
|
||||
{!! nl2br($document->notes) !!}
|
||||
<div class="row modern-head pt-2 pb-2 mt-1 bg-{{ $backgroundColor }}" style="background-color:{{ $backgroundColor }} !important; -webkit-print-color-adjust: exact;">
|
||||
<div class="col-58">
|
||||
<div class="text p-modern">
|
||||
@stack('company_logo_start')
|
||||
@if (! $hideCompanyLogo)
|
||||
@if (! empty($document->contact->logo) && ! empty($document->contact->logo->id))
|
||||
<img class="w-image radius-circle" src="{{ $logo }}" alt="{{ $document->contact_name }}"/>
|
||||
@else
|
||||
<img class="w-image radius-circle" src="{{ $logo }}" alt="{{ setting('company.name') }}" />
|
||||
@endif
|
||||
@endif
|
||||
@stack('notes_input_end')
|
||||
@stack('company_logo_end')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-42">
|
||||
<div class="text p-modern right-column">
|
||||
@stack('company_details_start')
|
||||
@if ($textDocumentSubheading)
|
||||
<p class="text-normal font-semibold">
|
||||
{{ $textDocumentSubheading }}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyName)
|
||||
<p class="text-white">
|
||||
{{ setting('company.name') }}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyDetails)
|
||||
@if (! $hideCompanyAddress)
|
||||
<p class="text-white">
|
||||
{!! nl2br(setting('company.address')) !!}
|
||||
{!! $document->company->location !!}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyTaxNumber)
|
||||
<p class="text-white">
|
||||
@if (setting('company.tax_number'))
|
||||
<span class="text-medium text-default">
|
||||
{{ trans('general.tax_number') }}:
|
||||
</span>
|
||||
|
||||
{{ setting('company.tax_number') }}
|
||||
@endif
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@if (!$hideCompanyPhone)
|
||||
<p class="text-white">
|
||||
@if (setting('company.phone'))
|
||||
{{ setting('company.phone') }}
|
||||
@endif
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@if (!$hideCompanyEmail)
|
||||
<p class="small-text text-white">
|
||||
{{ setting('company.email') }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('company_details_end')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-40 float-right text-right">
|
||||
@foreach ($document->totals_sorted as $total)
|
||||
@if ($total->code != 'total')
|
||||
@stack($total->code . '_total_tr_start')
|
||||
<div class="text">
|
||||
<span class="float-left text-semibold">
|
||||
{{ trans($total->title) }}:
|
||||
</span>
|
||||
|
||||
<span>
|
||||
@money($total->amount, $document->currency_code, true)
|
||||
</span>
|
||||
</div>
|
||||
@stack($total->code . '_total_tr_end')
|
||||
@else
|
||||
@if ($document->paid)
|
||||
@stack('paid_total_tr_start')
|
||||
<div class="text">
|
||||
<span class="float-left text-semibold">
|
||||
{{ trans('invoices.paid') }}:
|
||||
</span>
|
||||
|
||||
<span>
|
||||
- @money($document->paid, $document->currency_code, true)
|
||||
</span>
|
||||
</div>
|
||||
@stack('paid_total_tr_end')
|
||||
<div class="row top-spacing">
|
||||
<div class="col-50">
|
||||
<div class="text p-modern">
|
||||
@if (! $hideContactInfo)
|
||||
<p class="text-semibold mb-0">
|
||||
{{ trans($textContactInfo) }}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@stack('grand_total_tr_start')
|
||||
<div class="text">
|
||||
<span class="float-left text-semibold">
|
||||
{{ trans($total->name) }}:
|
||||
</span>
|
||||
@stack('name_input_start')
|
||||
@if (! $hideContactName)
|
||||
<p>
|
||||
{{ $document->contact_name }}
|
||||
</p>
|
||||
@endif
|
||||
@stack('name_input_end')
|
||||
|
||||
<span>
|
||||
@money($document->amount_due, $document->currency_code, true)
|
||||
</span>
|
||||
</div>
|
||||
@stack('grand_total_tr_end')
|
||||
@endif
|
||||
@endforeach
|
||||
@stack('address_input_start')
|
||||
@if (! $hideContactAddress)
|
||||
<p>
|
||||
{!! nl2br($document->contact_address) !!}
|
||||
<br/>
|
||||
{!! $document->contact_location !!}
|
||||
</p>
|
||||
@endif
|
||||
@stack('address_input_end')
|
||||
|
||||
@stack('tax_number_input_start')
|
||||
@if (! $hideContactTaxNumber)
|
||||
@if ($document->contact_tax_number)
|
||||
<p>
|
||||
<span class="text-medium text-default">
|
||||
{{ trans('general.tax_number') }}:
|
||||
</span>
|
||||
|
||||
{{ $document->contact_tax_number }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('tax_number_input_end')
|
||||
|
||||
@stack('phone_input_start')
|
||||
@if (! $hideContactPhone)
|
||||
@if ($document->contact_phone)
|
||||
<p>
|
||||
{{ $document->contact_phone }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('phone_input_end')
|
||||
|
||||
@stack('email_start')
|
||||
@if (! $hideContactEmail)
|
||||
<p>
|
||||
{{ $document->contact_email }}
|
||||
</p>
|
||||
@endif
|
||||
@stack('email_input_end')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-50">
|
||||
<div class="text p-modern">
|
||||
@stack('order_number_input_start')
|
||||
@if (! $hideOrderNumber)
|
||||
@if ($document->order_number)
|
||||
<p class="mb-0">
|
||||
<span class="text-semibold spacing">
|
||||
{{ trans($textOrderNumber) }}:
|
||||
</span>
|
||||
|
||||
<span class="float-right spacing">
|
||||
{{ $document->order_number }}
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
@stack('order_number_input_end')
|
||||
|
||||
@stack('invoice_number_input_start')
|
||||
@if (! $hideDocumentNumber)
|
||||
<p class="mb-0">
|
||||
<span class="text-semibold spacing">
|
||||
{{ trans($textDocumentNumber) }}:
|
||||
</span>
|
||||
|
||||
<span class="float-right spacing">
|
||||
{{ $document->document_number }}
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@stack('invoice_number_input_end')
|
||||
|
||||
@stack('issued_at_input_start')
|
||||
@if (! $hideIssuedAt)
|
||||
<p class="mb-0">
|
||||
<span class="text-semibold spacing">
|
||||
{{ trans($textIssuedAt) }}:
|
||||
</span>
|
||||
|
||||
<span class="float-right spacing">
|
||||
@date($document->issued_at)
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@stack('issued_at_input_end')
|
||||
|
||||
@stack('due_at_input_start')
|
||||
@if (! $hideDueAt)
|
||||
<p class="mb-0">
|
||||
<span class="text-semibold spacing">
|
||||
{{ trans($textDueAt) }}:
|
||||
</span>
|
||||
|
||||
<span class="float-right spacing">
|
||||
@date($document->due_at)
|
||||
</span>
|
||||
</p>
|
||||
@endif
|
||||
@stack('due_at_input_end')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if (! $hideFooter)
|
||||
@if ($document->footer)
|
||||
<div class="row mt-7">
|
||||
<div class="col-100 py-top p-modern bg-{{ $backgroundColor }}" style="background-color:{{ $backgroundColor }} !important; -webkit-print-color-adjust: exact;">
|
||||
<div class="text pl-2">
|
||||
<strong class="text-white">
|
||||
{!! nl2br($document->footer) !!}
|
||||
</strong>
|
||||
@if (! $hideItems)
|
||||
<div class="row">
|
||||
<div class="col-100">
|
||||
<div class="text extra-spacing">
|
||||
<table class="lines modern-lines">
|
||||
<thead style="background-color:{{ $backgroundColor }} !important; -webkit-print-color-adjust: exact;">
|
||||
<tr>
|
||||
@stack('name_th_start')
|
||||
@if (! $hideItems || (! $hideName && ! $hideDescription))
|
||||
<th class="item text text-semibold text-alignment-left text-left text-white border-radius-first">
|
||||
{{ (trans_choice($textItems, 2) != $textItems) ? trans_choice($textItems, 2) : trans($textItems) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('name_th_end')
|
||||
|
||||
@stack('quantity_th_start')
|
||||
@if (! $hideQuantity)
|
||||
<th class="quantity text text-semibold text-white text-alignment-right text-right">
|
||||
{{ trans($textQuantity) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('quantity_th_end')
|
||||
|
||||
@stack('price_th_start')
|
||||
@if (! $hidePrice)
|
||||
<th class="price text text-semibold text-white text-alignment-right text-right">
|
||||
{{ trans($textPrice) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('price_th_end')
|
||||
|
||||
@if (! $hideDiscount)
|
||||
@if (in_array(setting('localisation.discount_location', 'total'), ['item', 'both']))
|
||||
@stack('discount_td_start')
|
||||
<th class="discount text text-semibold text-white text-alignment-right text-right">
|
||||
{{ trans('invoices.discount') }}
|
||||
</th>
|
||||
@stack('discount_td_end')
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@stack('total_th_start')
|
||||
@if (! $hideAmount)
|
||||
<th class="total text text-semibold text-white text-alignment-right text-right border-radius-last">
|
||||
{{ trans($textAmount) }}
|
||||
</th>
|
||||
@endif
|
||||
@stack('total_th_end')
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@if ($document->items->count())
|
||||
@foreach($document->items as $item)
|
||||
<x-documents.template.line-item
|
||||
type="{{ $type }}"
|
||||
:item="$item"
|
||||
:document="$document"
|
||||
hide-items="{{ $hideItems }}"
|
||||
hide-name="{{ $hideName }}"
|
||||
hide-description="{{ $hideDescription }}"
|
||||
hide-quantity="{{ $hideQuantity }}"
|
||||
hide-price="{{ $hidePrice }}"
|
||||
hide-discount="{{ $hideDiscount }}"
|
||||
hide-amount="{{ $hideAmount }}"
|
||||
/>
|
||||
@endforeach
|
||||
@else
|
||||
<tr>
|
||||
<td colspan="5" class="text text-center empty-items">
|
||||
{{ trans('documents.empty_items') }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
<div class="row mt-7 clearfix">
|
||||
<div class="col-60">
|
||||
<div class="text p-index-right p-modern">
|
||||
@stack('notes_input_start')
|
||||
@if ($document->notes)
|
||||
<p class="text-semibold">
|
||||
{{ trans_choice('general.notes', 2) }}
|
||||
</p>
|
||||
|
||||
{!! nl2br($document->notes) !!}
|
||||
@endif
|
||||
@stack('notes_input_end')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-40 float-right text-right">
|
||||
@foreach ($document->totals_sorted as $total)
|
||||
@if ($total->code != 'total')
|
||||
@stack($total->code . '_total_tr_start')
|
||||
<div class="text">
|
||||
<span class="float-left text-semibold">
|
||||
{{ trans($total->title) }}:
|
||||
</span>
|
||||
|
||||
<span>
|
||||
@money($total->amount, $document->currency_code, true)
|
||||
</span>
|
||||
</div>
|
||||
@stack($total->code . '_total_tr_end')
|
||||
@else
|
||||
@if ($document->paid)
|
||||
@stack('paid_total_tr_start')
|
||||
<div class="text">
|
||||
<span class="float-left text-semibold">
|
||||
{{ trans('invoices.paid') }}:
|
||||
</span>
|
||||
|
||||
<span>
|
||||
- @money($document->paid, $document->currency_code, true)
|
||||
</span>
|
||||
</div>
|
||||
@stack('paid_total_tr_end')
|
||||
@endif
|
||||
|
||||
@stack('grand_total_tr_start')
|
||||
<div class="text">
|
||||
<span class="float-left text-semibold">
|
||||
{{ trans($total->name) }}:
|
||||
</span>
|
||||
|
||||
<span>
|
||||
@money($document->amount_due, $document->currency_code, true)
|
||||
</span>
|
||||
</div>
|
||||
@stack('grand_total_tr_end')
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if (! $hideFooter)
|
||||
@if ($document->footer)
|
||||
<div class="row mt-7">
|
||||
<div class="col-100 py-top p-modern" style="background-color:{{ $backgroundColor }} !important; -webkit-print-color-adjust: exact;">
|
||||
<div class="text pl-2">
|
||||
<strong class="text-white">
|
||||
{!! nl2br($document->footer) !!}
|
||||
</strong>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
@ -46,9 +46,13 @@
|
||||
<li class="border-b p-2 hover:bg-gray-100">
|
||||
<a href="{{ url($suggestion->action_url) . '?' . http_build_query((array) $suggestion->action_parameters) }}" class="flex items-center justify-between text-xs">
|
||||
<div class="truncate">
|
||||
<h2 class="">{{ $suggestion->name }}</h2>
|
||||
<h2>
|
||||
{{ $suggestion->name }}
|
||||
</h2>
|
||||
|
||||
<div class="h-4 overflow-hidden text-black-400 truncate">Enter details and create your first expense easily</div>
|
||||
<div class="h-4 overflow-hidden text-black-400 truncate">
|
||||
{{ $suggestion->description ?? '' }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<span class="material-icons text-gray-500">chevron_right</span>
|
||||
|
@ -121,6 +121,10 @@
|
||||
clearable
|
||||
@endif
|
||||
|
||||
@if (isset($attributes['no-arrow']))
|
||||
:no-arrow="{{ $attributes['no-arrow'] }}"
|
||||
@endif
|
||||
|
||||
@if (isset($attributes['v-disabled']))
|
||||
:disabled="{{ $attributes['v-disabled'] }}"
|
||||
@endif
|
||||
|
@ -121,6 +121,10 @@
|
||||
clearable
|
||||
@endif
|
||||
|
||||
@if (isset($attributes['no-arrow']))
|
||||
:no-arrow="{{ $attributes['no-arrow'] }}"
|
||||
@endif
|
||||
|
||||
@if (isset($attributes['v-disabled']))
|
||||
:disabled="{{ $attributes['v-disabled'] }}"
|
||||
@endif
|
||||
|
@ -23,10 +23,10 @@
|
||||
@elseif (! empty($first))
|
||||
<div class="w-1/2 sm:w-1/3 text-center">
|
||||
@if ($first->attributes->has('href'))
|
||||
<a href="{{ $first->attributes->get('hef') }}" class="group">
|
||||
<a href="{{ $first->attributes->get('href') }}" class="group">
|
||||
@endif
|
||||
@php $text_color = $first->attributes->has('text-color') ? $first->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $first->attributes->get('class')])>
|
||||
{!! $first->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
@ -51,10 +51,10 @@
|
||||
@elseif (! empty($second))
|
||||
<div class="w-1/2 sm:w-1/3 text-center">
|
||||
@if ($second->attributes->has('href'))
|
||||
<a href="{{ $second->attributes->get('hef') }}" class="group">
|
||||
<a href="{{ $second->attributes->get('href') }}" class="group">
|
||||
@endif
|
||||
@php $text_color = $second->attributes->has('text-color') ? $second->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $second->attributes->get('class')])>
|
||||
{!! $second->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
@ -80,10 +80,10 @@
|
||||
@elseif (! empty($third))
|
||||
<div class="w-1/2 sm:w-1/3 text-center">
|
||||
@if ($third->attributes->has('href'))
|
||||
<a href="{{ $third->attributes->get('hef') }}" class="group">
|
||||
<a href="{{ $third->attributes->get('href') }}" class="group">
|
||||
@endif
|
||||
@php $text_color = $third->attributes->has('text-color') ? $third->attributes->get('text-color') : 'text-purple group-hover:text-purple-700'; @endphp
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2'])>
|
||||
<div @class(['relative text-xl sm:text-6xl', $text_color, 'mb-2', $third->attributes->get('class')])>
|
||||
{!! $third->attributes->get('amount') !!}
|
||||
<span class="w-8 absolute left-0 right-0 m-auto -bottom-1 bg-gray-200 transition-all group-hover:bg-gray-900" style="height: 1px;"></span>
|
||||
</div>
|
||||
|
@ -13,9 +13,9 @@
|
||||
</x-layouts.admin.head>
|
||||
|
||||
@mobile
|
||||
<body class="g-sidenav-hidden bg-body overflow-overlay">
|
||||
<body class="g-sidenav-hidden bg-body">
|
||||
@elsemobile
|
||||
<body class="g-sidenav-show bg-body overflow-overlay">
|
||||
<body class="g-sidenav-show bg-body">
|
||||
@endmobile
|
||||
|
||||
@stack('body_start')
|
||||
|
@ -7,9 +7,9 @@
|
||||
</x-layouts.auth.head>
|
||||
|
||||
@mobile
|
||||
<body class="g-sidenav-hidden bg-body overflow-overlay">
|
||||
<body class="g-sidenav-hidden bg-body">
|
||||
@elsemobile
|
||||
<body class="g-sidenav-show bg-body overflow-overlay">
|
||||
<body class="g-sidenav-show bg-body">
|
||||
@endmobile
|
||||
|
||||
@stack('body_start')
|
||||
|
@ -7,9 +7,9 @@
|
||||
</x-layouts.admin.head>
|
||||
|
||||
@mobile
|
||||
<body class="g-sidenav-hidden bg-body overflow-overlay">
|
||||
<body class="g-sidenav-hidden bg-body">
|
||||
@elsemobile
|
||||
<body class="g-sidenav-show bg-body overflow-overlay">
|
||||
<body class="g-sidenav-show bg-body">
|
||||
@endmobile
|
||||
|
||||
@stack('body_start')
|
||||
|
@ -7,9 +7,9 @@
|
||||
</x-layouts.modules.head>
|
||||
|
||||
@mobile
|
||||
<body class="g-sidenav-hidden bg-body overflow-overlay">
|
||||
<body class="g-sidenav-hidden bg-body">
|
||||
@elsemobile
|
||||
<body class="g-sidenav-show bg-body overflow-overlay">
|
||||
<body class="g-sidenav-show bg-body">
|
||||
@endmobile
|
||||
|
||||
@stack('body_start')
|
||||
|
@ -6,6 +6,6 @@
|
||||
|
||||
<div x-show="price_type == false" class="text-center text-sm mt-3 mb--2">
|
||||
<span style="font-size: 12px;">
|
||||
<span class="text-danger">*</span> <a href="https://akaunting.com/features/why-akaunting-cloud?utm_source=app&utm_medium=show&utm_campaign={{ $module->name }}" target="_blank">{!! trans('modules.information_monthly') !!}</a>
|
||||
<span class="text-danger">*</span> <a href="https://akaunting.com/features/why-akaunting-cloud?utm_source=app_show&utm_medium=software&utm_campaign={{ str_replace('-', '', $module->slug) }}" target="_blank">{!! trans('modules.information_monthly') !!}</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -7,9 +7,9 @@
|
||||
</x-layouts.portal.head>
|
||||
|
||||
@mobile
|
||||
<body class="g-sidenav-hidden bg-body overflow-overlay">
|
||||
<body class="g-sidenav-hidden bg-body">
|
||||
@elsemobile
|
||||
<body class="g-sidenav-show bg-body overflow-overlay">
|
||||
<body class="g-sidenav-show bg-body">
|
||||
@endmobile
|
||||
|
||||
@stack('body_start')
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div data-loading-content v-if="content_loading" class="fixed w-4/5 h-screen hidden lg:flex items-center justify-center bg-body top-0 bottom-0 ltr:right-0 rtl:left-0 -mx-1 z-50">
|
||||
<div data-loading-content v-if="content_loading" class="fixed w-4/5 h-screen lg:flex items-center justify-center bg-body top-0 bottom-0 ltr:right-0 rtl:left-0 -mx-1 z-50">
|
||||
<img src="{{ asset('public/img/akaunting-loading.gif') }}" class="w-28 h-28 -mt-16" alt="Akaunting" />
|
||||
</div>
|
||||
<!--data attr added because for none vue.js pages-->
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
@if (! $hideButtonAddNew)
|
||||
@can($permissionCreate)
|
||||
<x-link href="{{ route($routeButtonAddNew, ['type' => $type]) }}" kind="primary">
|
||||
<x-link href="{{ route($routeButtonAddNew, ['type' => $type]) }}" kind="primary">
|
||||
{{ trans($textButtonAddNew) }}
|
||||
</x-link>
|
||||
@endcan
|
||||
|
@ -29,10 +29,12 @@
|
||||
@stack('recurring_message_end')
|
||||
|
||||
@stack('row_create_start')
|
||||
@if (! $hideCreated)
|
||||
<x-transactions.show.create
|
||||
type="{{ $type }}"
|
||||
:transaction="$transaction"
|
||||
/>
|
||||
@endif
|
||||
@stack('row_create_end')
|
||||
|
||||
@stack('schedule_start')
|
||||
|
@ -29,7 +29,7 @@
|
||||
type="button"
|
||||
class="w-full flex items-center text-purple px-2 h-9 leading-9 whitespace-nowrap"
|
||||
title="{{ trans('general.connect') }}"
|
||||
@click="onConnect('{{ route('transactions.dial', $transaction->id) }}')">
|
||||
@click="onConnectTransactions('{{ route('transactions.dial', $transaction->id) }}')">
|
||||
<span class="w-full h-full flex items-center rounded-md px-2 text-sm hover:bg-lilac-100">{{ trans('general.connect') }}</span>
|
||||
</button>
|
||||
@endcan
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div class="p-7 shadow-2xl rounded-2xl print-template">
|
||||
<div class="p-7 shadow-2xl rounded-2xl">
|
||||
@if ($transactionTemplate)
|
||||
@switch($transactionTemplate)
|
||||
@case('classic')
|
||||
|
@ -1,362 +1,384 @@
|
||||
@stack('company_start')
|
||||
@if (!$hideCompany)
|
||||
<table class="border-bottom-1">
|
||||
<tr>
|
||||
@if (!$hideCompanyLogo)
|
||||
<td style="width:20%; padding: 0 0 15px 0;" valign="top">
|
||||
@stack('company_logo_start')
|
||||
@if (!empty($transaction->contact->logo) && !empty($transaction->contact->logo->id))
|
||||
<img src="{{ Storage::url($transaction->contact->logo->id) }}" height="70" width="70" alt="{{ $transaction->contact_name }}" />
|
||||
@else
|
||||
<img src="{{ $logo }}" height="70" width="70" alt="{{ setting('company.name') }}" />
|
||||
@endif
|
||||
@stack('company_logo_end')
|
||||
</td>
|
||||
@endif
|
||||
|
||||
@if (!$hideCompanyDetails)
|
||||
<td class="text" style="width: 80%; padding: 0 0 15px 0;">
|
||||
@stack('company_details_start')
|
||||
@if (!$hideCompanyName)
|
||||
<h2 class="text-semibold text">
|
||||
{{ setting('company.name') }}
|
||||
</h2>
|
||||
@endif
|
||||
|
||||
@if (!$hideCompanyAddress)
|
||||
<p>{!! (setting('company.address')) !!}</p>
|
||||
@endif
|
||||
|
||||
@if (!$hideCompanyTaxNumber)
|
||||
@if (setting('company.tax_number'))
|
||||
<p>
|
||||
{{ trans('general.tax_number') }}: {{ setting('company.tax_number') }}
|
||||
</p>
|
||||
<div class="print-template">
|
||||
@stack('company_start')
|
||||
@if (! $hideCompany)
|
||||
<table class="border-bottom-1">
|
||||
<tr>
|
||||
@if (! $hideCompanyLogo)
|
||||
<td style="width:20%; padding: 0 0 15px 0;" valign="top">
|
||||
@stack('company_logo_start')
|
||||
@if (!empty($transaction->contact->logo) && !empty($transaction->contact->logo->id))
|
||||
<img src="{{ Storage::url($transaction->contact->logo->id) }}" height="70" width="70" alt="{{ $transaction->contact_name }}" />
|
||||
@else
|
||||
<img src="{{ $logo }}" height="70" width="70" alt="{{ setting('company.name') }}" />
|
||||
@endif
|
||||
@stack('company_logo_end')
|
||||
</td>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@if (!$hideCompanyPhone)
|
||||
@if (setting('company.phone'))
|
||||
<p>
|
||||
{{ setting('company.phone') }}
|
||||
</p>
|
||||
@if (! $hideCompanyDetails)
|
||||
<td class="text" style="width: 80%; padding: 0 0 15px 0;">
|
||||
@stack('company_details_start')
|
||||
@if (! $hideCompanyName)
|
||||
<h2 class="text-semibold text">
|
||||
{{ setting('company.name') }}
|
||||
</h2>
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyAddress)
|
||||
<p>{!! (setting('company.address')) !!}</p>
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyTaxNumber)
|
||||
@if (setting('company.tax_number'))
|
||||
<p>
|
||||
{{ trans('general.tax_number') }}: {{ setting('company.tax_number') }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyPhone)
|
||||
@if (setting('company.phone'))
|
||||
<p>
|
||||
{{ setting('company.phone') }}
|
||||
</p>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@if (! $hideCompanyEmail)
|
||||
<p>{{ setting('company.email') }}</p>
|
||||
@endif
|
||||
@stack('company_details_end')
|
||||
</td>
|
||||
@endif
|
||||
@endif
|
||||
</tr>
|
||||
</table>
|
||||
@endif
|
||||
@stack('company_end')
|
||||
|
||||
@if (!$hideCompanyEmail)
|
||||
<p>{{ setting('company.email') }}</p>
|
||||
@endif
|
||||
@stack('company_details_end')
|
||||
</td>
|
||||
@endif
|
||||
</tr>
|
||||
</table>
|
||||
@endif
|
||||
@stack('company_end')
|
||||
@if (! $hideContentTitle)
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width: 60%; padding: 15px 0 15px 0;">
|
||||
<h2 style="font-size: 12px; font-weight:600;">
|
||||
{{ $textContentTitle != trans_choice($textContentTitle, 1) ? trans_choice($textContentTitle, 1) : trans($textContentTitle) }}
|
||||
</h2>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@endif
|
||||
|
||||
@if (!$hideContentTitle)
|
||||
<table>
|
||||
@stack('number_input_start')
|
||||
@if (! $hideNumber)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans_choice($textNumber, 1) }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
{{ $transaction->number }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('number_input_end')
|
||||
|
||||
@stack('paid_at_input_start')
|
||||
@if (! $hidePaidAt)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans($textPaidAt) }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
@date($transaction->paid_at)
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('paid_at_input_end')
|
||||
|
||||
@stack('account_id_input_start')
|
||||
@if (! $hideAccount)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans_choice($textAccount, 1) }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
{{ $transaction->account->name }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('account_id_input_end')
|
||||
|
||||
@stack('category_id_input_start')
|
||||
@if (! $hideCategory)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans_choice($textCategory, 1) }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
{{ $transaction->category->name }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('category_id_input_end')
|
||||
|
||||
@stack('payment_method_input_start')
|
||||
@if (! $hidePaymentMethods)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans_choice($textPaymentMethods, 1) }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
{{ !empty($payment_methods[$transaction->payment_method]) ? $payment_methods[$transaction->payment_method] : trans('general.na') }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('payment_method_input_end')
|
||||
|
||||
@stack('reference_input_start')
|
||||
@if (! $hideReference)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans($textReference) }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
{{ $transaction->reference }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('reference_input_end')
|
||||
|
||||
@stack('description_input_start')
|
||||
@if (! $hideDescription)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans($textDescription) }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
<p style="font-size:12px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 0;">
|
||||
{!! nl2br($transaction->description) !!}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('description_input_end')
|
||||
</table>
|
||||
|
||||
<table class="border-top-1" style="margin-top:15px;">
|
||||
<tr>
|
||||
<td style="width: 60%; padding: 15px 0 15px 0;">
|
||||
<h2 style="font-size: 12px; font-weight:600;">
|
||||
{{ trans($textContentTitle) }}
|
||||
{{ trans($textPaidBy) }}
|
||||
</h2>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@endif
|
||||
|
||||
<table>
|
||||
@stack('number_input_start')
|
||||
@if (!$hideNumber)
|
||||
<table class="border-bottom-1" style="padding-bottom:15px;">
|
||||
@if (! $hideContact)
|
||||
@if (! $hideContactInfo)
|
||||
<tr>
|
||||
<td style="margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
<strong>{{ trans($textContactInfo) }}</strong><br>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
|
||||
@stack('name_input_start')
|
||||
@if (! $hideContactName)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.name') }}
|
||||
</td>
|
||||
|
||||
<td class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
{{ $transaction->contact->name }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('name_input_end')
|
||||
|
||||
@stack('address_input_start')
|
||||
@if (! $hideContactAddress)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.address') }}
|
||||
</td>
|
||||
|
||||
<td class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
{!! nl2br($transaction->contact->address) !!}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('address_input_end')
|
||||
|
||||
@stack('tax_number_input_start')
|
||||
@if (! $hideContactTaxNumber)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.tax_number') }}
|
||||
</td>
|
||||
|
||||
<td class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
@if ($transaction->contact->tax_number)
|
||||
{{ trans('general.tax_number') }}: {{ $transaction->contact->tax_number }}
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('tax_number_input_end')
|
||||
|
||||
@stack('phone_input_start')
|
||||
@if (! $hideContactPhone)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.phone') }}
|
||||
</td>
|
||||
|
||||
<td class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
@if ($transaction->contact->phone)
|
||||
{{ $transaction->contact->phone }}
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('phone_input_end')
|
||||
|
||||
@stack('email_start')
|
||||
@if (! $hideContactEmail)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.email') }}
|
||||
</td>
|
||||
|
||||
<td class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
{{ $transaction->contact->email }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('email_input_end')
|
||||
@endif
|
||||
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans_choice($textNumber, 1) }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
{{ $transaction->number }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('number_input_end')
|
||||
|
||||
@stack('paid_at_input_start')
|
||||
@if (!$hidePaidAt)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans($textPaidAt) }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
@date($transaction->paid_at)
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('paid_at_input_end')
|
||||
|
||||
@stack('account_id_input_start')
|
||||
@if (!$hideAccount)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans_choice($textAccount, 1) }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
{{ $transaction->account->name }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('account_id_input_end')
|
||||
|
||||
@stack('category_id_input_start')
|
||||
@if (!$hideCategory)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans_choice($textCategory, 1) }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
{{ $transaction->category->name }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('category_id_input_end')
|
||||
|
||||
@stack('payment_method_input_start')
|
||||
@if (!$hidePaymentMethods)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans_choice($textPaymentMethods, 1) }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
{{ !empty($payment_methods[$transaction->payment_method]) ? $payment_methods[$transaction->payment_method] : trans('general.na') }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('payment_method_input_end')
|
||||
|
||||
@stack('reference_input_start')
|
||||
@if (!$hideReference)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans($textReference) }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
{{ $transaction->reference }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('reference_input_end')
|
||||
|
||||
@stack('description_input_start')
|
||||
@if (!$hideDescription)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans($textDescription) }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
<p style="font-size:12px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 0;">
|
||||
{!! nl2br($transaction->description) !!}
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('description_input_end')
|
||||
</table>
|
||||
|
||||
<table class="border-top-1" style="margin-top:15px;">
|
||||
<tr>
|
||||
<td style="width: 60%; padding: 15px 0 15px 0;">
|
||||
<h2 style="font-size: 12px; font-weight:600;">
|
||||
{{ trans($textPaidBy) }}
|
||||
</h2>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="border-bottom-1" style="padding-bottom:15px;">
|
||||
@if (!$hideContact)
|
||||
|
||||
@if (! $hideContactInfo)
|
||||
<tr>
|
||||
<td style="margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
<strong>{{ trans($textContactInfo) }}</strong><br>
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
|
||||
@stack('name_input_start')
|
||||
@if (!$hideContactName)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.name') }}
|
||||
</td>
|
||||
<td class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
{{ $transaction->contact->name }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('name_input_end')
|
||||
|
||||
@stack('address_input_start')
|
||||
@if (!$hideContactAddress)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.address') }}
|
||||
</td>
|
||||
<td class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
{!! nl2br($transaction->contact->address) !!}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('address_input_end')
|
||||
|
||||
@stack('tax_number_input_start')
|
||||
@if (!$hideContactTaxNumber)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.tax_number') }}
|
||||
</td>
|
||||
<td class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
@if ($transaction->contact->tax_number)
|
||||
{{ trans('general.tax_number') }}: {{ $transaction->contact->tax_number }}
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('tax_number_input_end')
|
||||
|
||||
@stack('phone_input_start')
|
||||
@if (!$hideContactPhone)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.phone') }}
|
||||
</td>
|
||||
<td class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
@if ($transaction->contact->phone)
|
||||
{{ $transaction->contact->phone }}
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('phone_input_end')
|
||||
|
||||
@stack('email_start')
|
||||
@if (!$hideContactEmail)
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 4px 0 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.email') }}
|
||||
</td>
|
||||
<td class="border-bottom-dashed-black" style="width:70%; margin: 0px; padding: 8px 0 0 0; font-size: 12px;">
|
||||
{{ $transaction->contact->email }}
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@stack('email_input_end')
|
||||
@endif
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@if (!$hideRelated)
|
||||
@if ($transaction->document)
|
||||
<table>
|
||||
<tr>
|
||||
<td style="padding:15px 0 0 0;">
|
||||
<h2 style="font-size: 12px; font-weight:600; margin-bottom: 15px;">{{ trans($textRelatedTransansaction) }}</h2>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="table" cellspacing="0" cellpadding="0" style="padding:15px 0 0 0;">
|
||||
<thead style="color:#424242; font-size:12px;">
|
||||
<tr class="border-bottom-1">
|
||||
<th class="item text-alignment-left text-left" style="padding:5px 0;">
|
||||
@if (!$hideRelatedDocumentNumber)
|
||||
<span style="font-size: 13px;">{{ trans_choice($textRelatedDocumentNumber, 1) }}</span> <br />
|
||||
@endif
|
||||
@if (! $hideRelated)
|
||||
@if ($transaction->document)
|
||||
<table>
|
||||
<tr>
|
||||
<td style="padding:15px 0 0 0;">
|
||||
<h2 style="font-size: 12px; font-weight:600; margin-bottom: 15px;">
|
||||
{{ trans($textRelatedTransansaction) }}
|
||||
</h2>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@if (!$hideRelatedContact)
|
||||
<span style="font-weight:500;"> {{ trans_choice($textRelatedContact, 1) }} </span>
|
||||
@endif
|
||||
</th>
|
||||
<table class="table" cellspacing="0" cellpadding="0" style="padding:15px 0 0 0;">
|
||||
<thead style="color:#424242; font-size:12px;">
|
||||
<tr class="border-bottom-1">
|
||||
<th class="item text-alignment-left text-left" style="padding:5px 0;">
|
||||
@if (! $hideRelatedDocumentNumber)
|
||||
<span style="font-size: 13px;">
|
||||
{{ trans_choice($textRelatedDocumentNumber, 1) }}
|
||||
</span>
|
||||
<br />
|
||||
@endif
|
||||
|
||||
@if (! $hideRelatedContact)
|
||||
<span style="font-weight:500;">
|
||||
{{ trans_choice($textRelatedContact, 1) }}
|
||||
</span>
|
||||
@endif
|
||||
</th>
|
||||
|
||||
@if (!$hideRelatedDocumentDate)
|
||||
<th class="price" style=" padding:5px 0; text-align:center;">
|
||||
{{ trans($textRelatedDocumentDate) }}
|
||||
</th>
|
||||
@endif
|
||||
@if (! $hideRelatedDocumentDate)
|
||||
<th class="price" style="padding:5px 0; text-align:center;">
|
||||
{{ trans($textRelatedDocumentDate) }}
|
||||
</th>
|
||||
@endif
|
||||
|
||||
<th class="price text-alignment-right text-right" style="padding: 5px 0;">
|
||||
@if (! $hideRelatedDocumentAmount)
|
||||
<span style="font-size: 13px;">
|
||||
{{ trans($textRelatedDocumentAmount) }}
|
||||
</span>
|
||||
<br />
|
||||
@endif
|
||||
|
||||
<th class="price text-alignment-right text-right" style="padding: 5px 0;">
|
||||
@if (!$hideRelatedDocumentAmount)
|
||||
<span style="font-size: 13px;">{{ trans($textRelatedDocumentAmount) }}</span><br />
|
||||
@endif
|
||||
@if (! $hideRelatedAmount)
|
||||
<span style="font-weight:500;">
|
||||
{{ trans($textRelatedAmount) }}
|
||||
</span>
|
||||
@endif
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@if (!$hideRelatedAmount)
|
||||
<span style="font-weight:500;">{{ trans($textRelatedAmount) }}</span>
|
||||
@endif
|
||||
</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="item text-alignment-left text-left" style="color:#424242; font-size:12px; padding-left:0;">
|
||||
@if (!$hideRelatedDocumentNumber)
|
||||
<a class="text-medium" style="border-bottom:1px solid;" href="{{ route($routeDocumentShow, $transaction->document->id) }}">
|
||||
{{ $transaction->document->document_number }}
|
||||
</a> <br />
|
||||
@endif
|
||||
|
||||
@if (!$hideRelatedContact)
|
||||
<span style="color: #6E6E6E"> {{ $transaction->document->contact_name }} </span>
|
||||
@endif
|
||||
</td>
|
||||
|
||||
@if (!$hideRelatedDocumentDate)
|
||||
<td class="price" style="color:#424242; font-size:12px; text-align:center;">
|
||||
@date($transaction->document->due_at)
|
||||
</td>
|
||||
@endif
|
||||
|
||||
<td class="price text-alignment-right text-right" style="color:#424242; font-size:12px; padding-right:0;">
|
||||
@if (!$hideRelatedDocumentAmount)
|
||||
@money($transaction->document->amount, $transaction->document->currency_code, true) <br />
|
||||
@endif
|
||||
|
||||
@if (!$hideRelatedAmount)
|
||||
<span style="color: #6E6E6E"> @money($transaction->amount, $transaction->currency_code, true) </span>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@if (!$hideAmount)
|
||||
<table style="text-align: right; margin-top:55px;">
|
||||
<tr>
|
||||
<td valign="center" style="width:80%; display:block; float:right; background-color: #55588B; -webkit-print-color-adjust: exact; color:#ffffff; border-radius: 5px;">
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td valign="center" style="width: 80%; padding:0; font-size: 14px; font-weight:600; color:#ffffff;">
|
||||
{{ trans($textAmount) }}:
|
||||
<td class="item text-alignment-left text-left" style="color:#424242; font-size:12px; padding-left:0;">
|
||||
@if (! $hideRelatedDocumentNumber)
|
||||
<a class="text-medium" style="border-bottom:1px solid;" href="{{ route($routeDocumentShow, $transaction->document->id) }}">
|
||||
{{ $transaction->document->document_number }}
|
||||
</a>
|
||||
<br />
|
||||
@endif
|
||||
|
||||
@if (! $hideRelatedContact)
|
||||
<span style="color: #6E6E6E">
|
||||
{{ $transaction->document->contact_name }}
|
||||
</span>
|
||||
@endif
|
||||
</td>
|
||||
<td valign="center" style="width: 20%; padding:0; font-size: 14px; color:#ffffff;">
|
||||
@money($transaction->amount, $transaction->currency_code, true)
|
||||
|
||||
@if (! $hideRelatedDocumentDate)
|
||||
<td class="price" style="color:#424242; font-size:12px; text-align:center;">
|
||||
@date($transaction->document->due_at)
|
||||
</td>
|
||||
@endif
|
||||
|
||||
<td class="price text-alignment-right text-right" style="color:#424242; font-size:12px; padding-right:0;">
|
||||
@if (! $hideRelatedDocumentAmount)
|
||||
@money($transaction->document->amount, $transaction->document->currency_code, true) <br />
|
||||
@endif
|
||||
|
||||
@if (! $hideRelatedAmount)
|
||||
<span style="color: #6E6E6E">
|
||||
@money($transaction->amount, $transaction->currency_code, true)
|
||||
</span>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@endif
|
||||
</tbody>
|
||||
</table>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@if (! $hideAmount)
|
||||
<table style="text-align: right; margin-top:55px;">
|
||||
<tr>
|
||||
<td valign="center" style="width:80%; display:block; float:right; background-color: #55588B; -webkit-print-color-adjust: exact; color:#ffffff; border-radius: 5px;">
|
||||
<table>
|
||||
<tr>
|
||||
<td valign="center" style="width: 80%; padding:0; font-size: 14px; font-weight:600; color:#ffffff;">
|
||||
{{ trans($textAmount) }}:
|
||||
</td>
|
||||
|
||||
<td valign="center" style="width: 20%; padding:0; font-size: 14px; color:#ffffff;">
|
||||
@money($transaction->amount, $transaction->currency_code, true)
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@endif
|
||||
</div>
|
||||
|
@ -6,7 +6,7 @@
|
||||
</div>
|
||||
|
||||
<div class="w-full lg:w-7/12">
|
||||
<div class="p-7 shadow-2xl rounded-2xl print-template">
|
||||
<div class="p-7 shadow-2xl rounded-2xl">
|
||||
<x-transfers.show.template :model="$transfer" />
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,217 +1,219 @@
|
||||
<table class="border-bottom-1" style="width: 100%;">
|
||||
<tbody>
|
||||
<div class="print-template">
|
||||
<table class="border-bottom-1" style="width: 100%;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 60%; padding: 0 0 15px 0;">
|
||||
<h2 class="mb-1" style="font-size: 14px; font-weight:600; margin-bottom: 15px;">
|
||||
{{ trans('transfers.from_account') }}
|
||||
</h2>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.account_name') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.number') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->number }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.bank_name') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->bank_name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.phone') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->bank_phone }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.address') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->bank_address }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table class="border-bottom-1" style="width: 100%; margin-top:15px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 60%; padding: 0 0 15px 0;">
|
||||
<h2 class="mb-1" style="font-size: 14px; font-weight:600; margin-bottom: 15px;">
|
||||
{{ trans('transfers.to_account') }}
|
||||
</h2>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.account_name') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.number') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->number }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.bank_name') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->bank_name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.phone') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->bank_phone }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.address') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->bank_address }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table style="width: 100%; margin-top:15px;">
|
||||
<tr>
|
||||
<td style="width: 60%; padding: 0 0 15px 0;">
|
||||
<h2 class="mb-1" style="font-size: 14px; font-weight:600; margin-bottom: 15px;">
|
||||
{{ trans('transfers.from_account') }}
|
||||
<td style="padding:0 0 15px 0;">
|
||||
<h2 class="text-left text-uppercase" style="font-size: 14px; font-weight:600;">
|
||||
{{ trans_choice('transfers.details', 2) }}
|
||||
</h2>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 0 4px 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.date') }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
<x-date date="{{ $transfer->expense_transaction->paid_at}}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 0 4px 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans_choice('general.payment_methods', 1) }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
@if (! empty($payment_methods[$transfer->expense_transaction->payment_method]))
|
||||
{!! $payment_methods[$transfer->expense_transaction->payment_method] !!}
|
||||
@else
|
||||
<x-empty-data />
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 0 4px 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.reference') }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->reference }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 0 4px 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.description') }}
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->description }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table style="text-align: right;">
|
||||
<tr>
|
||||
<td valign="center" style="width:80%; display:block; float:right; background-color: #55588B; -webkit-print-color-adjust: exact; color:#ffffff; border-radius: 5px;">
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.account_name') }}:
|
||||
<td valign="center" style="width: 80%; padding:0; font-size: 14px; font-weight:600; color:#ffffff;">
|
||||
{{ trans('general.amount') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.number') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->number }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.bank_name') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->bank_name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.phone') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->bank_phone }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.address') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->bank_address }}
|
||||
<td valign="center" style="width: 20%; padding:0; font-size: 14px; color:#ffffff;">
|
||||
<x-money :amount="$transfer->expense_transaction->amount" :currency="$transfer->expense_transaction->currency_code" convert />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table class="border-bottom-1" style="width: 100%; margin-top:15px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 60%; padding: 0 0 15px 0;">
|
||||
<h2 class="mb-1" style="font-size: 14px; font-weight:600; margin-bottom: 15px;">
|
||||
{{ trans('transfers.to_account') }}
|
||||
</h2>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.account_name') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.number') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->number }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.bank_name') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->bank_name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.phone') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->bank_phone }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.address') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->bank_address }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table style="width: 100%; margin-top:15px;">
|
||||
<tr>
|
||||
<td style="padding:0 0 15px 0;">
|
||||
<h2 class="text-left text-uppercase" style="font-size: 14px; font-weight:600;">
|
||||
{{ trans_choice('transfers.details', 2) }}
|
||||
</h2>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 0 4px 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.date') }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
<x-date date="{{ $transfer->expense_transaction->paid_at}}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 0 4px 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans_choice('general.payment_methods', 1) }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
@if (! empty($payment_methods[$transfer->expense_transaction->payment_method]))
|
||||
{!! $payment_methods[$transfer->expense_transaction->payment_method] !!}
|
||||
@else
|
||||
<x-empty-data />
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 0 4px 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.reference') }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->reference }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 0 4px 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.description') }}
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->description }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table style="text-align: right;">
|
||||
<tr>
|
||||
<td valign="center" style="width:80%; display:block; float:right; background-color: #55588B; -webkit-print-color-adjust: exact; color:#ffffff; border-radius: 5px;">
|
||||
<table>
|
||||
<tr>
|
||||
<td valign="center" style="width: 80%; padding:0; font-size: 14px; font-weight:600; color:#ffffff;">
|
||||
{{ trans('general.amount') }}:
|
||||
</td>
|
||||
|
||||
<td valign="center" style="width: 20%; padding:0; font-size: 14px; color:#ffffff;">
|
||||
<x-money :amount="$transfer->expense_transaction->amount" :currency="$transfer->expense_transaction->currency_code" convert />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</table>
|
||||
</div>
|
||||
|
@ -1,217 +1,219 @@
|
||||
<table style="width: 100%;">
|
||||
<tr>
|
||||
<td style="padding:0 0 15px 0;">
|
||||
<h2 class="text-left" style="font-size: 14px; font-weight:600;">
|
||||
{{ trans_choice('transfers.details', 2) }}
|
||||
</h2>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; font-weight:600; border-bottom:1px solid #adadad;">
|
||||
{{ trans('general.date') }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; border-bottom:1px solid #adadad;">
|
||||
<x-date date="{{ $transfer->expense_transaction->paid_at}}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; font-weight:600; border-bottom:1px solid #adadad;">
|
||||
{{ trans_choice('general.payment_methods', 1) }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; border-bottom:1px solid #adadad;">
|
||||
@if (! empty($payment_methods[$transfer->expense_transaction->payment_method]))
|
||||
{!! $payment_methods[$transfer->expense_transaction->payment_method] !!}
|
||||
@else
|
||||
<x-empty-data />
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; font-weight:600; border-bottom:1px solid #adadad;">
|
||||
{{ trans('general.reference') }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; border-bottom:1px solid #adadad;">
|
||||
{{ $transfer->expense_transaction->reference }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; font-weight:600; border-bottom:1px solid #adadad;">
|
||||
{{ trans('general.description') }}
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; border-bottom:1px solid #adadad;">
|
||||
{{ $transfer->expense_transaction->description }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table style="width: 100%; margin-top:35px;">
|
||||
<tbody>
|
||||
<div class="print-template">
|
||||
<table style="width: 100%;">
|
||||
<tr>
|
||||
<td class="border-bottom-1 border-top-1" style="width: 60%; padding: 15px 0 15px 0;">
|
||||
<h2 class="mb-1" style="font-size: 14px; font-weight:600; margin-bottom: 15px;">
|
||||
{{ trans('transfers.from_account') }}
|
||||
<td style="padding:0 0 15px 0;">
|
||||
<h2 class="text-left" style="font-size: 14px; font-weight:600;">
|
||||
{{ trans_choice('transfers.details', 2) }}
|
||||
</h2>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; font-weight:600; border-bottom:1px solid #adadad;">
|
||||
{{ trans('general.date') }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; border-bottom:1px solid #adadad;">
|
||||
<x-date date="{{ $transfer->expense_transaction->paid_at}}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; font-weight:600; border-bottom:1px solid #adadad;">
|
||||
{{ trans_choice('general.payment_methods', 1) }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; border-bottom:1px solid #adadad;">
|
||||
@if (! empty($payment_methods[$transfer->expense_transaction->payment_method]))
|
||||
{!! $payment_methods[$transfer->expense_transaction->payment_method] !!}
|
||||
@else
|
||||
<x-empty-data />
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; font-weight:600; border-bottom:1px solid #adadad;">
|
||||
{{ trans('general.reference') }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; border-bottom:1px solid #adadad;">
|
||||
{{ $transfer->expense_transaction->reference }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; font-weight:600; border-bottom:1px solid #adadad;">
|
||||
{{ trans('general.description') }}
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 8px 0 8px 0; font-size: 12px; border-bottom:1px solid #adadad;">
|
||||
{{ $transfer->expense_transaction->description }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table style="width: 100%; margin-top:35px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="border-bottom-1 border-top-1" style="width: 60%; padding: 15px 0 15px 0;">
|
||||
<h2 class="mb-1" style="font-size: 14px; font-weight:600; margin-bottom: 15px;">
|
||||
{{ trans('transfers.from_account') }}
|
||||
</h2>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.number') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.number') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->number}}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.bank_name') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->bank_name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.phone') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->bank_phone }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.address') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->bank_address }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table style="width: 100%; margin-top:15px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 60%; padding: 0 0 15px 0;">
|
||||
<h2 class="mb-1" style="font-size: 14px; font-weight:600; margin-bottom: 15px;">
|
||||
{{ trans('transfers.to_account') }}
|
||||
</h2>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.number') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.number') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->number }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.bank_name') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->bank_name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.phone') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->bank_phone }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.address') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->bank_address }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table style="text-align: right;">
|
||||
<tr>
|
||||
<td valign="center" style="width:80%; display:block; float:right;">
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.number') }}:
|
||||
<td valign="center" style="width: 80%; padding:0; font-size: 14px; font-weight:600;">
|
||||
{{ trans('general.amount') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.number') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->number}}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.bank_name') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->bank_name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.phone') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->bank_phone }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.address') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->bank_address }}
|
||||
<td valign="center" style="width: 20%; padding:0; font-size: 14px;">
|
||||
<x-money :amount="$transfer->expense_transaction->amount" :currency="$transfer->expense_transaction->currency_code" convert />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table style="width: 100%; margin-top:15px;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 60%; padding: 0 0 15px 0;">
|
||||
<h2 class="mb-1" style="font-size: 14px; font-weight:600; margin-bottom: 15px;">
|
||||
{{ trans('transfers.to_account') }}
|
||||
</h2>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.number') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.number') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->number }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.bank_name') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->bank_name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.phone') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->bank_phone }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.address') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->bank_address }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table style="text-align: right;">
|
||||
<tr>
|
||||
<td valign="center" style="width:80%; display:block; float:right;">
|
||||
<table>
|
||||
<tr>
|
||||
<td valign="center" style="width: 80%; padding:0; font-size: 14px; font-weight:600;">
|
||||
{{ trans('general.amount') }}:
|
||||
</td>
|
||||
|
||||
<td valign="center" style="width: 20%; padding:0; font-size: 14px;">
|
||||
<x-money :amount="$transfer->expense_transaction->amount" :currency="$transfer->expense_transaction->currency_code" convert />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</table>
|
||||
</div>
|
||||
|
@ -1,227 +1,229 @@
|
||||
<table class="border-bottom-1" style="width: 100%;">
|
||||
<tbody>
|
||||
<div class="print-template">
|
||||
<table class="border-bottom-1" style="width: 100%;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="width: 50%; padding: 0 15px 15px 0;" valign="top">
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding:0;">
|
||||
<h2 class="mb-1" style="font-size: 14px; font-weight:600; margin-bottom: 15px;">
|
||||
{{ trans('transfers.from_account') }}
|
||||
</h2>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.number') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.number') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->number}}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.bank_name') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->bank_name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.phone') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->bank_phone }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.address') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->bank_address }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
<td style="width: 50%; padding: 0 0 15px 15px;" valign="top">
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding:0;">
|
||||
<h2 class="mb-1" style="font-size: 14px; font-weight:600; margin-bottom: 15px;">
|
||||
{{ trans('transfers.to_account') }}
|
||||
</h2>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.number') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.number') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->number }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.bank_name') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->bank_name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.phone') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->bank_phone }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.address') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->bank_address }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table style="width: 100%; margin-top:15px;">
|
||||
<tr>
|
||||
<td style="width: 50%; padding: 0 15px 15px 0;" valign="top">
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding:0;">
|
||||
<h2 class="mb-1" style="font-size: 14px; font-weight:600; margin-bottom: 15px;">
|
||||
{{ trans('transfers.from_account') }}
|
||||
</h2>
|
||||
<td style="padding:0 0 15px 0;">
|
||||
<h2 class="text-left text-uppercase" style="font-size: 14px; font-weight:600;">
|
||||
{{ trans_choice('transfers.details', 2) }}
|
||||
</h2>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.number') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.number') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->number}}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.bank_name') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->bank_name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.phone') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->bank_phone }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.address') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->expense_transaction->account->bank_address }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 0; font-size: 12px; font-weight:600; line-height: 24px;">
|
||||
{{ trans('general.date') }}:
|
||||
</td>
|
||||
|
||||
<td style="width: 50%; padding: 0 0 15px 15px;" valign="top">
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 0; font-size: 12px; border-bottom:1px solid; line-height: 24px;">
|
||||
<x-date date="{{ $transfer->expense_transaction->paid_at}}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 0; font-size: 12px; font-weight:600; line-height: 24px;">
|
||||
{{ trans_choice('general.payment_methods', 1) }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 0; font-size: 12px; border-bottom:1px solid; line-height: 24px;">
|
||||
@if (! empty($payment_methods[$transfer->expense_transaction->payment_method]))
|
||||
{!! $payment_methods[$transfer->expense_transaction->payment_method] !!}
|
||||
@else
|
||||
<x-empty-data />
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 0; font-size: 12px; font-weight:600; line-height: 24px;">
|
||||
{{ trans('general.reference') }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 0; font-size: 12px; border-bottom:1px solid; line-height: 24px;">
|
||||
{{ $transfer->expense_transaction->reference }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 0; font-size: 12px; font-weight:600; line-height: 24px;">
|
||||
{{ trans('general.description') }}
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 0; font-size: 12px; border-bottom:1px solid; line-height: 24px;">
|
||||
{{ $transfer->expense_transaction->description }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table style="text-align: right;">
|
||||
<tr>
|
||||
<td valign="center" style="width:80%; display:block; float:right;">
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding:0;">
|
||||
<h2 class="mb-1" style="font-size: 14px; font-weight:600; margin-bottom: 15px;">
|
||||
{{ trans('transfers.to_account') }}
|
||||
</h2>
|
||||
<tr>
|
||||
<td valign="center" style="width: 80%; padding:0; font-size: 14px; font-weight:600;">
|
||||
{{ trans('general.amount') }}:
|
||||
</td>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.number') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.number') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->number }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('accounts.bank_name') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->bank_name }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.phone') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->bank_phone }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:30%; margin: 0px; padding: 0 0 8px 0; font-size: 12px; font-weight:600;">
|
||||
{{ trans('general.address') }}:
|
||||
</td>
|
||||
|
||||
<td style="width:70%; margin: 0px; padding: 0 0 8px 0; font-size: 12px;">
|
||||
{{ $transfer->income_transaction->account->bank_address }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<td valign="center" style="width: 20%; padding:0; font-size: 14px;">
|
||||
<x-money :amount="$transfer->expense_transaction->amount" :currency="$transfer->expense_transaction->currency_code" convert />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table style="width: 100%; margin-top:15px;">
|
||||
<tr>
|
||||
<td style="padding:0 0 15px 0;">
|
||||
<h2 class="text-left text-uppercase" style="font-size: 14px; font-weight:600;">
|
||||
{{ trans_choice('transfers.details', 2) }}
|
||||
</h2>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 0; font-size: 12px; font-weight:600; line-height: 24px;">
|
||||
{{ trans('general.date') }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 0; font-size: 12px; border-bottom:1px solid; line-height: 24px;">
|
||||
<x-date date="{{ $transfer->expense_transaction->paid_at}}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 0; font-size: 12px; font-weight:600; line-height: 24px;">
|
||||
{{ trans_choice('general.payment_methods', 1) }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 0; font-size: 12px; border-bottom:1px solid; line-height: 24px;">
|
||||
@if (! empty($payment_methods[$transfer->expense_transaction->payment_method]))
|
||||
{!! $payment_methods[$transfer->expense_transaction->payment_method] !!}
|
||||
@else
|
||||
<x-empty-data />
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 0; font-size: 12px; font-weight:600; line-height: 24px;">
|
||||
{{ trans('general.reference') }}:
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 0; font-size: 12px; border-bottom:1px solid; line-height: 24px;">
|
||||
{{ $transfer->expense_transaction->reference }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="top" style="width: 30%; margin: 0px; padding: 0; font-size: 12px; font-weight:600; line-height: 24px;">
|
||||
{{ trans('general.description') }}
|
||||
</td>
|
||||
|
||||
<td valign="top" style="width:70%; margin: 0px; padding: 0; font-size: 12px; border-bottom:1px solid; line-height: 24px;">
|
||||
{{ $transfer->expense_transaction->description }}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table style="text-align: right;">
|
||||
<tr>
|
||||
<td valign="center" style="width:80%; display:block; float:right;">
|
||||
<table>
|
||||
<tr>
|
||||
<td valign="center" style="width: 80%; padding:0; font-size: 14px; font-weight:600;">
|
||||
{{ trans('general.amount') }}:
|
||||
</td>
|
||||
|
||||
<td valign="center" style="width: 20%; padding:0; font-size: 14px;">
|
||||
<x-money :amount="$transfer->expense_transaction->amount" :currency="$transfer->expense_transaction->currency_code" convert />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</table>
|
||||
</div>
|
||||
|
@ -1,19 +1,9 @@
|
||||
<x-layouts.modules>
|
||||
<x-layouts.admin>
|
||||
<x-slot name="title">
|
||||
{{ trans('modules.api_key') }}
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="buttons">
|
||||
<x-link href="{{ route('apps.api-key.create') }}">
|
||||
{{ trans('modules.api_key') }}
|
||||
</x-link>
|
||||
|
||||
<x-link href="{{ route('apps.my.index') }}">
|
||||
{{ trans('modules.my_apps') }}
|
||||
</x-link>
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="content" without-bar>
|
||||
<x-slot name="content">
|
||||
<x-form id="form-app" route="apps.api-key.store">
|
||||
<div class="w-1/2">
|
||||
<div class="py-8 flex flex-col gap-2">
|
||||
@ -32,4 +22,4 @@
|
||||
</x-slot>
|
||||
|
||||
<x-script folder="modules" file="apps" />
|
||||
</x-layouts.modules>
|
||||
</x-layouts.admin>
|
||||
|
@ -117,7 +117,7 @@
|
||||
<x-table.td class="w-3/12 sm:table-cell">
|
||||
@stack('document_number_td_inside_start')
|
||||
|
||||
<x-slot name="first" class="relative w-20 font-normal group" data-tooltip-target="tooltip-information-{{ $item->id }}" data-tooltip-placement="left" override="class,data-tooltip-target,data-tooltip-placement">
|
||||
<x-slot name="first" class="w-20 font-normal group" data-tooltip-target="tooltip-information-{{ $item->id }}" data-tooltip-placement="left" override="class,data-tooltip-target,data-tooltip-placement">
|
||||
<span class="border-black border-b border-dashed">
|
||||
{{ $item->document_number }}
|
||||
</span>
|
||||
|
@ -17,7 +17,6 @@
|
||||
:document="$recurring_bill"
|
||||
hide-divider1
|
||||
hide-divider2
|
||||
hide-divider3
|
||||
hide-divider4
|
||||
hide-email
|
||||
hide-share
|
||||
@ -25,6 +24,7 @@
|
||||
hide-print
|
||||
hide-pdf
|
||||
hide-cancel
|
||||
hide-delete
|
||||
/>
|
||||
</x-slot>
|
||||
|
||||
|
@ -17,13 +17,14 @@
|
||||
:document="$recurring_invoice"
|
||||
hide-divider1
|
||||
hide-divider2
|
||||
hide-divider3
|
||||
hide-divider4
|
||||
hide-email
|
||||
hide-share
|
||||
hide-customize
|
||||
hide-print
|
||||
hide-pdf
|
||||
hide-cancel
|
||||
hide-delete
|
||||
/>
|
||||
</x-slot>
|
||||
|
||||
|
@ -58,7 +58,7 @@
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<x-form.group.color name="color" label="{{ trans('general.color') }}" />
|
||||
<x-form.group.color name="color" label="{{ trans('general.color') }}" :value="setting('invoice.color')" />
|
||||
</x-slot>
|
||||
</x-form.section>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user