This commit is contained in:
Burak Civan
2022-11-04 12:46:24 +03:00
69 changed files with 871 additions and 351 deletions

View File

@ -30,7 +30,7 @@
<x-index.bulkaction.all />
</x-table.th>
<x-table.th class="w-5/12">
<x-table.th class="w-8/12 sm:w-5/12">
<x-sortablelink column="name" title="{{ trans('general.name') }}" />
</x-table.th>
@ -38,7 +38,7 @@
<x-sortablelink column="email" title="{{ trans('general.email') }}" />
</x-table.th>
<x-table.th class="w-4/12 sm:w-3/12" kind="right">
<x-table.th class="w-4/12" kind="right">
{{ trans_choice('general.roles', 1) }}
</x-table.th>
</x-table.tr>
@ -55,7 +55,7 @@
/>
</x-table.td>
<x-table.td class="w-4/12 sm:w-5/12">
<x-table.td class="w-8/12 sm:w-5/12">
<div class="flex items-center space-x-2">
@if (setting('default.use_gravatar', '0') == '1')
<img src="{{ $item->picture }}" class="w-6 h-6 rounded-full mr-2 hidden lg:block text-transparent" title="{{ $item->name }}" alt="{{ $item->name }}">
@ -81,7 +81,7 @@
{{ $item->email }}
</x-table.td>
<x-table.td class="w-3/12" kind="right">
<x-table.td class="w-4/12" kind="right">
<div class="space-x-2">
@foreach($item->roles as $role)
<span class="bg-lilac-900 px-2 py-0.5 test-xs rounded-lg text-black">

View File

@ -25,7 +25,7 @@
@stack('create_button_start')
<x-dropdown id="show-new-actions-account">
<x-slot name="trigger" class="flex items-center px-3 py-1.5 mb-3 sm:mb-0 bg-green hover:bg-green-700 rounded-xl text-white text-sm font-bold leading-6" override="class">
<x-slot name="trigger" class="w-full flex items-center justify-between sm:justify-start px-3 py-1.5 mb-3 sm:mb-0 bg-green hover:bg-green-700 rounded-xl text-white text-sm font-bold leading-6" override="class">
{{ trans('general.new_more') }}
<span class="material-icons ltr:ml-2 rtl:mr-2">expand_more</span>
</x-slot>
@ -344,7 +344,7 @@
</x-slot>
</x-table.th>
<x-table.th class="w-3/12">
<x-table.th class="w-6/12 sm:w-3/12">
<x-slot name="first">
<x-sortablelink column="expense_transaction.name" title="{{ trans('transfers.from_account') }}" />
</x-slot>
@ -353,7 +353,7 @@
</x-slot>
</x-table.th>
<x-table.th class="w-3/12">
<x-table.th class="w-4/12 sm:w-3/12" hidden-mobile>
<x-slot name="first">
<x-sortablelink column="expense_transaction.rate" title="{{ trans('transfers.from_rate') }}" />
</x-slot>
@ -362,7 +362,7 @@
</x-slot>
</x-table.th>
<x-table.th class="w-3/12" kind="amount">
<x-table.th class="w-6/12 sm:w-3/12" kind="amount">
<x-slot name="first">
<x-sortablelink column="expense_transaction.amount" title="{{ trans('transfers.from_amount') }}" />
</x-slot>
@ -397,7 +397,7 @@
</x-slot>
</x-table.td>
<x-table.td class="w-3/12 truncate">
<x-table.td class="w-6/12 sm:w-3/12 truncate">
<x-slot name="first">
{{ $item->expense_transaction->account->name }}
</x-slot>
@ -406,7 +406,7 @@
</x-slot>
</x-table.td>
<x-table.td class="w-3/12 truncate">
<x-table.td class="w-4/12 sm:w-3/12 truncate" hidden-mobile>
<x-slot name="first">
{{ $item->expense_transaction->currency_rate }}
</x-slot>
@ -415,7 +415,7 @@
</x-slot>
</x-table.td>
<x-table.td class="w-3/12" kind="amount">
<x-table.td class="w-6/12 sm:w-3/12" kind="amount">
<x-slot name="first">
<x-money :amount="$item->expense_transaction->amount" :currency="$item->expense_transaction->currency_code" convert />
</x-slot>

View File

@ -166,7 +166,7 @@
@if ($transactions->count())
<table class="min-w-full divide-y divide-gray-200">
<tbody class="float-right">
<tbody class="sm:float-right">
<tr class="border-b">
<th class="w-9/12 ltr:pr-6 rtl:pl-6 py-4 ltr:text-left rtl:text-right whitespace-nowrap text-sm font-bold text-black">
{{ trans('reconciliations.opening_balance') }}:

View File

@ -115,7 +115,7 @@
@if ($transactions->count())
<table class="min-w-full divide-y divide-gray-200">
<tbody class="float-right">
<tbody class="sm:float-right">
<tr class="border-b">
<th class="w-9/12 ltr:pr-6 rtl:pl-6 py-4 ltr:text-left rtl:text-right whitespace-nowrap text-sm font-bold text-black">
{{ trans('reconciliations.opening_balance') }}:

View File

@ -2,7 +2,7 @@
@if (! $hideNewDropdown)
<x-dropdown id="show-new-actions-{{ $contact->type }}">
<x-slot name="trigger" class="flex items-center px-3 py-1.5 mb-3 sm:mb-0 bg-green hover:bg-green-700 rounded-xl text-white text-sm font-bold leading-6" override="class">
<x-slot name="trigger" class="w-full flex items-center justify-between sm:justify-start px-3 py-1.5 mb-3 sm:mb-0 bg-green hover:bg-green-700 rounded-xl text-white text-sm font-bold leading-6" override="class">
{{ trans('general.new_more') }}
<span class="material-icons ltr:ml-2 rtl:mr-2">expand_more</span>
</x-slot>

View File

@ -66,7 +66,7 @@
<x-show.content.left>
@stack('customer_address_start')
@if (! $hideAddress)
<div class="flex flex-col text-sm mb-5">
<div class="flex flex-col text-sm sm:mb-5">
<div class="font-medium">{{ trans('general.address') }}</div>
<span>{{ $contact->address }}<br>{{ $contact->location }}</span>
</div>
@ -76,7 +76,7 @@
@stack('customer_tax_number_start')
@if (! $hideTaxNumber)
@if ($contact->tax_number)
<div class="flex flex-col text-sm mb-5">
<div class="flex flex-col text-sm sm:mb-5">
<div class="font-medium">{{ trans('general.tax_number') }}</div>
<span>{{ $contact->tax_number }}</span>
</div>
@ -87,7 +87,7 @@
@stack('customer_website_start')
@if (! $hideWebsite)
@if ($contact->website)
<div class="flex flex-col text-sm mb-5">
<div class="flex flex-col text-sm sm:mb-5">
<div class="font-medium">{{ trans('general.website') }}</div>
<span>{{ $contact->website }}</span>
</div>
@ -98,7 +98,7 @@
@stack('customer_reference_start')
@if (! $hideReference)
@if ($contact->reference)
<div class="flex flex-col text-sm mb-5">
<div class="flex flex-col text-sm sm:mb-5">
<div class="font-medium">{{ trans('general.reference') }}</div>
<span>{{ $contact->reference }}</span>
</div>
@ -108,7 +108,7 @@
@stack('customer_client_portal_start')
@if (! $hideUser)
<div class="flex flex-col text-sm mb-5">
<div class="flex flex-col text-sm sm:mb-5">
<div class="flex items-center font-medium">
<div class="flex items-center cursor-default">
<x-tooltip id="tooltip-client-describe" placement="bottom" size="w-2/12" message="{{ trans('customers.client_portal_description') }}">

View File

@ -1,5 +1,5 @@
<div id="{{ $id }}" role="tooltip" class="w-full lg:w-96 inline-block absolute left-0 z-10 text-sm font-medium rounded-lg border border-gray-200 shadow-sm whitespace-nowrap transition-visible bg-lilac-900 border-none text-black p-6 cursor-auto opacity-0 invisible information-content">
<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>
<div id="{{ $id }}" role="tooltip" class="w-full sm:w-96 inline-block absolute left-0 z-10 text-sm font-medium rounded-lg border border-gray-200 shadow-sm whitespace-nowrap transition-visible bg-lilac-900 border-none text-black p-6 cursor-auto opacity-0 invisible information-content">
<div class="absolute w-2 h-2 sm:inset-y-1/2 sm:-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>
<li class="relative flex items-center text-sm mb-7">

View File

@ -2,9 +2,11 @@
<div class="row">
<div class="col-100">
<div class="text text-dark">
@stack('title_input_start')
<h3>
{{ $textDocumentTitle }}
</h3>
@stack('title_input_end')
</div>
</div>
</div>
@ -12,7 +14,7 @@
<div class="row">
<div class="col-58">
<div class="text">
@stack('company_logo_start')
@stack('company_logo_input_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 }}"/>
@ -20,7 +22,7 @@
<img class="c-logo w-image" src="{{ $logo }}" alt="{{ setting('company.name') }}" />
@endif
@endif
@stack('company_logo_end')
@stack('company_logo_input_end')
</div>
</div>
@ -28,9 +30,11 @@
<div class="text right-column">
@stack('company_details_start')
@if ($textDocumentSubheading)
@stack('subheading_input_start')
<p class="text-normal font-semibold">
{{ $textDocumentSubheading }}
</p>
@stack('subheading_input_end')
@endif
@if (! $hideCompanyDetails)
@ -84,7 +88,7 @@
<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')
@stack('document_number_input_start')
@if (! $hideDocumentNumber)
<div class="text small-text font-semibold mt-classic">
<span>
@ -96,7 +100,7 @@
{{ $document->document_number }}
</div>
@endif
@stack('invoice_number_input_end')
@stack('document_number_input_end')
</div>
</div>
</div>
@ -157,7 +161,7 @@
@endif
@stack('phone_input_end')
@stack('email_start')
@stack('email_input_start')
@if (! $hideContactEmail)
<p class="small-text">
{{ $document->contact_email }}
@ -375,6 +379,7 @@
@if (! $hideFooter)
@if ($document->footer)
@stack('footer_input_start')
<div class="row mt-1">
<div class="col-100">
<div class="text company">
@ -384,6 +389,7 @@
</div>
</div>
</div>
@stack('footer_input_start')
@endif
@endif
</div>

View File

@ -2,9 +2,11 @@
<div class="row">
<div class="col-100">
<div class="text text-dark">
@stack('title_input_start')
<h3>
{{ $textDocumentTitle }}
</h3>
@stack('title_input_end')
</div>
</div>
</div>
@ -12,7 +14,7 @@
<div class="row border-bottom-1">
<div class="col-58">
<div class="text">
@stack('company_logo_start')
@stack('company_logo_input_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 }}"/>
@ -20,7 +22,7 @@
<img class="d-logo w-image" src="{{ $logo }}" alt="{{ setting('company.name') }}"/>
@endif
@endif
@stack('company_logo_end')
@stack('company_logo_input_end')
</div>
</div>
@ -344,6 +346,7 @@
@if (! $hideFooter)
@if ($document->footer)
@stack('footer_input_start')
<div class="row mt-4">
<div class="col-100 text-left">
<div class="text">
@ -353,6 +356,7 @@
</div>
</div>
</div>
@stack('footer_input_end')
@endif
@endif
</div>

View File

@ -2,9 +2,11 @@
<div class="row">
<div class="col-100">
<div class="text text-dark">
@stack('title_input_start')
<h3>
{{ $textDocumentTitle }}
</h3>
@stack('title_input_end')
</div>
</div>
</div>
@ -12,7 +14,7 @@
<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')
@stack('company_logo_input_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 }}"/>
@ -20,7 +22,7 @@
<img class="w-image radius-circle" src="{{ $logo }}" alt="{{ setting('company.name') }}" />
@endif
@endif
@stack('company_logo_end')
@stack('company_logo_input_end')
</div>
</div>
@ -157,7 +159,7 @@
@endif
@stack('order_number_input_end')
@stack('invoice_number_input_start')
@stack('document_number_input_start')
@if (! $hideDocumentNumber)
<p class="mb-0">
<span class="font-semibold spacing">
@ -169,7 +171,7 @@
</span>
</p>
@endif
@stack('invoice_number_input_end')
@stack('document_number_input_end')
@stack('issued_at_input_start')
@if (! $hideIssuedAt)
@ -345,6 +347,7 @@
@if (! $hideFooter)
@if ($document->footer)
@stack('footer_input_start')
<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">
@ -354,6 +357,7 @@
</div>
</div>
</div>
@stack('footer_input_end')
@endif
@endif
</div>

View File

@ -66,7 +66,7 @@
</ul>
</div>
<div class="w-full lg:w-1/2 flex justify-end lg:mt-60">
<div class="w-full lg:w-1/2 flex justify-end mt-8 lg:mt-60">
<img src="{{ $image }}" alt="{{ $title }}" />
</div>
</div>

View File

@ -2,7 +2,7 @@
name="country"
label="{!! trans_choice('general.countries', 1) !!}"
:options="trans('countries')"
:selected="setting('company.country')"
:selected="$selected"
required="{{ $required }}"
not-required="{{ $notRequired }}"
model="form.country"

View File

@ -1,7 +1,7 @@
@stack($name . '_input_start')
<div
@class([
'grid grid-cols-6 gap-8',
'grid sm:grid-cols-6 gap-8',
$formGroupClass,
'required' => $required,
'readonly' => $readonly,

View File

@ -1,4 +1,4 @@
<div class="flex items-center justify-center text-black mt-5 sm:mt-10 mb-10">
<div class="flex items-center justify-center text-black mt-10 mb-10">
@if (! empty($slot) && $slot->isNotEmpty())
{!! $slot !!}
@elseif (! empty($items))

View File

@ -1,6 +1,6 @@
@stack('footer_start')
<footer class="footer">
<div class="flex flex-col sm:flex-row items-center justify-between mt-10 lg:mt-20 py-7 text-sm font-light">
<div class="flex flex-col sm:flex-row items-center justify-between lg:mt-20 py-7 text-sm font-light">
<div>
{{ trans('footer.powered') }}:
<x-link href="{{ trans('footer.link') }}" target="_blank" override="class">{{ trans('footer.software') }}</x-link>

View File

@ -1,66 +1,66 @@
<div class="relative w-full flex border-b pt-8 mb-4">
<div class="flex flex-row items-center place-center border-r">
<button class="flex items-center" id="dropdownButton" data-dropdown-toggle="dropdown">
<i class="material-icons w-10 flex items-center aspect-square text-light-gray ltr:pl-2 rtl:pr-2 hover:text-gray-700"> apps_outlined </i>
</button>
<div class="relative w-full flex flex-col sm:flex-row border-b pt-8 mb-4">
<div class="flex items-center">
<div class="flex flex-row items-center place-center border-r">
<button class="flex items-center" id="dropdownButton" data-dropdown-toggle="dropdown">
<i class="material-icons w-10 flex items-center aspect-square text-light-gray ltr:pl-2 rtl:pr-2 hover:text-gray-700"> apps_outlined </i>
</button>
<div id="dropdown" data-click-outside-none class="w-full px-0 hidden z-10">
<div class="flex flex-col md:flex-row">
<div class="w-full lg:w-6/12 flex flex-col shadow-md bg-white px-4 lg:pl-8 py-8 gap-2 rounded-l-xl">
<h4 class="capitalize font-thin">
{{ trans_choice('general.categories', 1) }}
</h4>
<div id="dropdown" data-click-outside-none class="w-full px-0 hidden z-10">
<div class="flex flex-col md:flex-row">
<div class="w-full lg:w-6/12 flex flex-col shadow-md bg-white px-4 lg:pl-8 py-8 gap-2 rounded-l-xl">
<h4 class="capitalize font-thin">
{{ trans_choice('general.categories', 1) }}
</h4>
<div class="grid grid-cols-2 gap-2">
@foreach ($categories as $slug => $category)
<x-link href="{{ $categoryUrl($slug) }}" class="font-semibold text-sm ltr:pr-4 rtl:pl-4 lg:pr-0 truncate bg-transparent" override="class">
<x-link.hover>
{{ $category }}
</x-link.hover>
</x-link>
@endforeach
</div>
</div>
<div class="w-full lg:w-6/12 flex flex-col shadow-md bg-purple-lighter px-4 lg:px-12 py-8 gap-2 rounded-r-xl">
<h4 class="capitalize font-thin mb-2">
{{ trans('modules.popular_this_week') }}
</h4>
@if ($popular)
<div class="flex flex-col gap-4">
@foreach ($popular->data as $item)
<div class="hover:shadow-2xl rounded-lg">
<x-link href="{{ route('apps.app.show', $item->slug) }}" class="flex items-center p-2" override="class">
@foreach ($item->files as $file)
@if (($file->media_type == 'image') && ($file->pivot->zone == 'thumbnail'))
<img src="{{ $file->path_string }}" alt="{{ $item->name }}" class="w-28 h-20 rounded-md object-cover ltr:mr-3 rtl:ml-3" />
@endif
@endforeach
<div class="flex flex-col py-1 gap-0">
<h6 class="text-sm font-bold capitalize">
{!! $item->name !!}
</h6>
<div class="line-clamp-2">
<p class="font-thin text-xs text-left">
{!! $item->description !!}
</p>
</div>
</div>
</x-link>
</div>
<div class="grid grid-cols-2 gap-2">
@foreach ($categories as $slug => $category)
<x-link href="{{ $categoryUrl($slug) }}" class="font-semibold text-sm ltr:pr-4 rtl:pl-4 lg:pr-0 truncate bg-transparent" override="class">
<x-link.hover>
{{ $category }}
</x-link.hover>
</x-link>
@endforeach
</div>
@else
@endif
</div>
<div class="w-full lg:w-6/12 flex flex-col shadow-md bg-purple-lighter px-4 lg:px-12 py-8 gap-2 rounded-r-xl">
<h4 class="capitalize font-thin mb-2">
{{ trans('modules.popular_this_week') }}
</h4>
@if ($popular)
<div class="flex flex-col gap-4">
@foreach ($popular->data as $item)
<div class="hover:shadow-2xl rounded-lg">
<x-link href="{{ route('apps.app.show', $item->slug) }}" class="flex items-center p-2" override="class">
@foreach ($item->files as $file)
@if (($file->media_type == 'image') && ($file->pivot->zone == 'thumbnail'))
<img src="{{ $file->path_string }}" alt="{{ $item->name }}" class="w-28 h-20 rounded-md object-cover ltr:mr-3 rtl:ml-3" />
@endif
@endforeach
<div class="flex flex-col py-1 gap-0">
<h6 class="text-sm font-bold capitalize">
{!! $item->name !!}
</h6>
<div class="line-clamp-2">
<p class="font-thin text-xs text-left">
{!! $item->description !!}
</p>
</div>
</div>
</x-link>
</div>
@endforeach
</div>
@else
@endif
</div>
</div>
</div>
</div>
</div>
<div class="flex flex-col lg:flex-row w-full justify-between">
<div class="w-8/12 h-full">
<form method="GET" action="{{ url("/" . company_id()) }}/apps/search">
<div class="h-full flex items-center pl-2 gap-2">
@ -107,31 +107,31 @@
</div>
</form>
</div>
</div>
<div class="flex flex-row items-end lg:items-center mb-1 divide-x divide-black-400 mt-4 lg:mt-0">
<x-link href="{{ route('apps.home.index') }}" class="text-sm font-semibold px-2 sm:mt-0 sm:mb-0 leading-4" override="class">
<x-link.hover color="to-black-400">
{{ trans('modules.home') }}
</x-link.hover>
</x-link>
<div class="lg:absolute lg:bottom-2.5 ltr:lg:right-0 rtl:lg:left-0 flex flex-row items-end lg:items-center mb-1 divide-x divide-black-400 mt-4 lg:mt-0">
<x-link href="{{ route('apps.home.index') }}" class="text-sm font-semibold px-2 sm:mt-0 sm:mb-0 leading-4" override="class">
<x-link.hover color="to-black-400">
{{ trans('modules.home') }}
</x-link.hover>
</x-link>
<x-link href="{{ route('apps.new') }}" class="text-sm font-semibold px-2 sm:mt-0 sm:mb-0 leading-4" override="class">
<x-link.hover color="to-black-400">
{{ trans('modules.new') }}
</x-link.hover>
</x-link>
<x-link href="{{ route('apps.new') }}" class="text-sm font-semibold px-2 sm:mt-0 sm:mb-0 leading-4" override="class">
<x-link.hover color="to-black-400">
{{ trans('modules.new') }}
</x-link.hover>
</x-link>
<x-link href="{{ route('apps.paid') }}" class="text-sm font-semibold px-2 sm:mt-0 sm:mb-0 leading-4" override="class">
<x-link.hover color="to-black-400">
{{ trans('modules.top_paid') }}
</x-link.hover>
</x-link>
<x-link href="{{ route('apps.paid') }}" class="text-sm font-semibold px-2 sm:mt-0 sm:mb-0 leading-4" override="class">
<x-link.hover color="to-black-400">
{{ trans('modules.top_paid') }}
</x-link.hover>
</x-link>
<x-link href="{{ route('apps.free') }}" class="text-sm font-semibold px-2 sm:mt-0 sm:mb-0 leading-4" override="class">
<x-link.hover color="to-black-400">
{{ trans('modules.top_free') }}
</x-link.hover>
</x-link>
</div>
<x-link href="{{ route('apps.free') }}" class="text-sm font-semibold px-2 sm:mt-0 sm:mb-0 leading-4" override="class">
<x-link.hover color="to-black-400">
{{ trans('modules.top_free') }}
</x-link.hover>
</x-link>
</div>
</div>

View File

@ -5,7 +5,7 @@
<x-link
href="{{ $module->action_url }}"
target="_blank"
class="bg-green hover:bg-green-700 rounded-md text-white text-sm text-center w-full flex items-center justify-center px-3 py-2 truncate"
class="bg-green rounded-md text-white text-sm text-center w-full flex items-center justify-center px-3 py-2 truncate hover:bg-green-700"
override="class"
>
{{ trans('modules.switch_to_cloud') }}
@ -16,7 +16,7 @@
@can('delete-modules-item')
<x-link
href="{{ route('apps.app.uninstall', $module->slug) }}"
class="bg-red rounded-md text-white text-sm text-center w-1/2 py-2 truncate"
class="bg-red rounded-md text-white text-sm text-center w-full py-2 truncate hover:bg-red-700"
override="class"
>
<x-link.loading>
@ -29,7 +29,7 @@
@if ($enable)
<x-link
href="{{ route('apps.app.disable', $module->slug) }}"
class="bg-orange rounded-md text-white text-sm text-center w-1/2 py-2 truncate"
class="bg-orange rounded-md text-white text-sm text-center w-full py-2 truncate hover:bg-orange-700"
override="class"
>
<x-link.loading>
@ -39,7 +39,7 @@
@else
<x-link
href="{{ route('apps.app.enable', $module->slug) }}"
class="bg-green rounded-md text-white text-sm text-center w-1/2 py-2 truncate"
class="bg-green rounded-md text-white text-sm text-center w-full py-2 truncate hover:bg-green-700"
override="class"
>
<x-link.loading>
@ -60,7 +60,7 @@
@else
<button type="button"
@click="onInstall('{{ $module->action_url }}', '{{ $module->slug }}', '{!! str_replace("'", "\'", $module->name) !!}', '{{ $module->version }}')"
class="bg-green hover:bg-green-700 disabled:bg-green-100 rounded-md text-white text-sm text-center w-full py-2 truncate"
class="bg-green disabled:bg-green-100 rounded-md text-white text-sm text-center w-full py-2 truncate hover:bg-green-700"
id="install-module"
:disabled="installation.show"
>
@ -73,7 +73,7 @@
<x-link
href="{{ $module->action_url }}"
target="_blank"
class="bg-green hover:bg-green-700 rounded-md text-white text-sm text-center w-full py-2 truncate"
class="bg-green rounded-md text-white text-sm text-center w-full py-2 truncate hover:bg-green-700"
override="class"
>
{{ trans('modules.use_app') }}
@ -87,7 +87,7 @@
<x-link
href="{{ $module->action_url }}"
target="_blank"
class="bg-green hover:bg-green-700 rounded-md text-white text-sm text-center w-full flex items-center justify-center px-3 py-2 truncate"
class="bg-green rounded-md text-white text-sm text-center w-full flex items-center justify-center px-3 py-2 truncate hover:bg-green-700"
override="class"
>
{{ trans('modules.switch_to_cloud') }}
@ -98,7 +98,7 @@
<x-link
href="{{ $module->action_url }}"
target="_blank"
class="bg-green hover:bg-green-700 rounded-md text-white text-sm text-center w-full flex items-center justify-center px-3 py-2 truncate"
class="bg-green rounded-md text-white text-sm text-center w-full flex items-center justify-center px-3 py-2 truncate hover:bg-green-700"
override="class"
>
{{ trans('modules.switch_to_cloud') }}

View File

@ -7,11 +7,7 @@
</span>
</div>
@elseif (in_array('onprime', $module->where_to_use))
<div x-show="price_type == true" class="text-center text-sm mt-3 mb--2">
<span style="height: 21px;display: block;"></span>
</div>
<div x-show="price_type == false" class="text-center text-sm mt-3 mb--2">
<div x-show="price_type == false" class="text-center text-sm mt-3">
<span style="font-size: 12px;">
<span class="text-red">*</span> <x-link href="https://akaunting.com/features/why-akaunting-cloud?utm_source=software&utm_medium=app_show&utm_campaign={{ str_replace('-', '_', $module->slug) }}" target="_blank" override="class">{!! trans('modules.information_monthly') !!}</x-link>
</span>

View File

@ -1,6 +1,6 @@
@stack('footer_start')
<footer class="footer">
<div class="flex flex-col sm:flex-row items-center justify-between mt-10 lg:mt-20 py-7 text-sm font-light">
<div class="flex flex-col sm:flex-row items-center justify-between lg:mt-20 py-7 text-sm font-light">
<div>
{{ trans('footer.powered') }}:
<a href="{{ trans('footer.link') }}" target="_blank">{{ trans('footer.software') }}</a> |

View File

@ -11,8 +11,8 @@
<div class="flex flex-col h-screen">
<header class="py-5 bg-purple-lighter text-purple text-center">
<div class="w-full lg:max-w-6xl m-auto flex flex-col lg:flex-row items-center justify-between">
<div class="flex flex-col items-start">
<div class="w-full lg:max-w-6xl m-auto flex flex-col lg:flex-row items-center justify-between px-4 lg:px-0">
<div class="flex flex-col items-center lg:items-start">
<span class="font-medium uppercase">
{{ trans('general.preview_mode') }}
</span>
@ -22,7 +22,7 @@
</span>
</div>
<x-link href="{!! !empty($sticky->attributes->has('url')) ? $sticky->attributes->get('url') : route('dashboard') !!}" class="px-3 py-1.5 rounded-xl text-sm font-medium leading-6 bg-purple hover:bg-purple-700 text-white disabled:bg-purple-100" override="class">
<x-link href="{!! !empty($sticky->attributes->has('url')) ? $sticky->attributes->get('url') : route('dashboard') !!}" class="px-3 py-1.5 mt-5 lg:mt-0 rounded-xl text-sm font-medium leading-6 bg-purple hover:bg-purple-700 text-white disabled:bg-purple-100" override="class">
{{ trans('general.go_back', ['type' => company()->name]) }}
</x-link>
</div>

View File

@ -1,7 +1,7 @@
@stack('footer_start')
<footer class="footer">
<div class="flex flex-col sm:flex-row items-center justify-between mt-10 lg:mt-20 py-7 text-sm font-light">
<div class="flex flex-col sm:flex-row items-center justify-between lg:mt-20 py-7 text-sm font-light">
<div>
{{ trans('footer.powered') }}:
<x-link href="{{ trans('footer.link') }}" target="_blank" override="class">{{ trans('footer.software') }}</x-link>

View File

@ -1,7 +1,7 @@
@stack('footer_start')
<footer class="footer">
<div class="flex flex-col sm:flex-row items-center justify-between mt-10 lg:mt-20 py-7 text-sm font-light">
<div class="flex flex-col sm:flex-row items-center justify-between lg:mt-20 py-7 text-sm font-light">
<div>
{{ trans('footer.powered') }}:
<x-link href="{{ trans('footer.link') }}" target="_blank" override="class">{{ trans('footer.software') }}</x-link>

View File

@ -6,7 +6,7 @@
<div class="w-full lg:h-48 px-6 bg-dark-blue rounded-lg flex flex-col lg:flex-row justify-between items-center my-8">
<div class="w-full lg:w-1/2 flex flex-col self-end py-6">
<div
class="h-28"
class="lg:h-28"
x-data="{
text: '',
textArray : ['{{ trans('modules.premium_banner') }}'],

View File

@ -1,24 +1,17 @@
<div>
<div class="hidden">
@if (!empty($setting['name']))
<h2>{{ $setting['name'] }}</h2>
@endif
{{ trans('portal.redirect_description', ['name' => $setting['name']]) }}
@if (!empty($setting['description']))
<div>{{ $setting['description'] }}</div>
@endif
</div>
<br>
<div class="buttons">
<div class="pull-right">
<x-form id="redirect-form" :url="$confirm_url">
<button @click="onRedirectConfirm" type="button" id="button-confirm" class="relative flex items-center justify-center bg-green hover:bg-green-700 text-white px-6 py-1.5 text-base rounded-lg disabled:bg-green-100">
<span>
{{ trans('general.confirm') }}
</span>
</button>
</x-form>
</div>
</div>
<div class="mt-3">
<x-form id="redirect-form" :url="$confirm_url">
<x-button
id="button-confirm"
kind="primary"
override="class"
class="relative flex items-center justify-center bg-green hover:bg-green-700 text-white px-6 py-1.5 text-base rounded-lg disabled:bg-green-100"
@click="onRedirectConfirm"
>
<span>
{{ trans('general.confirm') }}
</span>
</x-button>
</x-form>
</div>

View File

@ -1,5 +1,5 @@
<div class="overflow-x-visible mb-8 margin-bottom-spacing">
<table class="w-full rp-border-collapse">
<div class="overflow-x-scroll large-overflow-unset mb-8 margin-bottom-spacing">
<table class="w-full small-table-width rp-border-collapse">
@include($class->views['detail.table.header'])
@include($class->views['detail.table.body'])
@include($class->views['detail.table.footer'])

View File

@ -1,3 +1,3 @@
<div class="flex flex-col lg:flex-row mt-12">
<div class="flex flex-col lg:flex-row sm:mt-12">
{!! $slot !!}
</div>

View File

@ -1,3 +1,3 @@
<div class="lg:w-4/12 lg:border-r border-gray-300 pr-12">
<div class="lg:w-4/12 lg:border-r border-gray-300 pr-12 mb-4 sm:mb-0">
{!! $slot !!}
</div>

View File

@ -1,11 +1,11 @@
<div class="w-full lg:w-5/12 flex items-center">
<div class="w-full lg:w-5/12 flex items-center mb-10 sm:mb-0">
@if (! empty($avatar) && $avatar->isNotEmpty())
<div class="w-12 h-12 flex items-center justify-center text-2xl font-regular border border-gray-300 rounded-full p-6">
{!! $avatar !!}
</div>
@endif
<div class="flex flex-col text-black text-sm font-medium ml-8">
<div class="flex flex-col text-black text-sm font-medium ml-2 sm:ml-8">
{!! $slot !!}
</div>
</div>

View File

@ -1,4 +1,4 @@
<div class="w-full lg:w-7/12 flex items-center mt-5 lg:mt-0">
<div class="w-full lg:w-7/12 flex items-center">
@if (! empty($slot) && $slot->isNotEmpty())
{!! $slot !!}
@elseif (! empty($items))

View File

@ -2,7 +2,7 @@
<div x-data="{ active: window.location.hash.split('#')[1] == undefined ? '{{ $active }}' : window.location.hash.split('#')[1] }">
<div>
<ul {{ ((! $attributes->has('override')) || ($attributes->has('override') && ! in_array('class', explode(',', $attributes->get('override'))))) ? $attributes->merge(['class' => 'flex items-center']) : $attributes }}>
<ul {{ ((! $attributes->has('override')) || ($attributes->has('override') && ! in_array('class', explode(',', $attributes->get('override'))))) ? $attributes->merge(['class' => 'flex items-center overflow-x-scroll lg:overflow-visible']) : $attributes }}>
{!! $navs !!}
</ul>
</div>

View File

@ -1,7 +1,7 @@
@props(['id', 'name', 'href', 'active'])
<li
class="relative px-8 text-sm text-center pb-2 cursor-pointer transition-all border-b tabs-link"
class="relative px-8 text-sm text-center pb-2 cursor-pointer transition-all border-b whitespace-nowrap tabs-link"
id="tab-{{ $id }}"
data-id="tab-{{ $id }}"
data-tabs="{{ $id }}"

View File

@ -1,7 +1,7 @@
@props(['id', 'name', 'active'])
<li
class="relative px-8 text-sm text-center pb-2 cursor-pointer transition-all border-b tabs-link"
class="relative px-8 text-sm text-center pb-2 cursor-pointer transition-all border-b whitespace-nowrap tabs-link"
id="tab-{{ $id }}"
data-id="tab-{{ $id }}"
data-tabs="{{ $id }}"

View File

@ -10,18 +10,28 @@
{{ $item->title }}
</h2>
<div class="text-sm mb-2">
{!! $item->description !!}
</div>
<div
@class([
'float-right' => $item->align == 'right',
'float-left' => $item->align == 'left',
])
<x-link href="{{ $item->action }}" class="font-light text-sm" override="class" target="_blank">
<x-link.hover>
{{ $item->learn_more }}
</x-link.hover>
</x-link>
style="width: 200px;"
>
<div class="text-sm mb-2">
{!! $item->description !!}
</div>
<x-link href="{{ $item->action }}" class="font-light text-sm" override="class" target="_blank">
<x-link.hover>
{{ $item->learn_more }}
</x-link.hover>
</x-link>
</div>
</div>
<div class="absolute ltr:right-0 rtl:left-0 -top-4">
<div class="absolute ltr:right-0 rtl:left-0">
<img src="{{ $item->thumb }}" alt="{{ $item->title }}" />
</div>
</div>

View File

@ -10,18 +10,27 @@
{{ $item->title }}
</h2>
<div class="text-sm mb-2">
{!! $item->description !!}
</div>
<div
@class([
'float-right' => $item->align == 'right',
'float-left' => $item->align == 'left',
])
<x-link href="{{ $item->action }}" class="font-light text-sm" override="class" target="_blank">
<x-link.hover>
{{ $item->learn_more }}
</x-link.hover>
</x-link>
style="width: 200px;"
>
<div class="text-sm mb-2">
{!! $item->description !!}
</div>
<x-link href="{{ $item->action }}" class="font-light text-sm" override="class" target="_blank">
<x-link.hover>
{{ $item->learn_more }}
</x-link.hover>
</x-link>
</div>
</div>
<div class="absolute ltr:right-0 rtl:left-0 -top-4">
<div class="absolute ltr:right-0 rtl:left-0">
<img src="{{ $item->thumb }}" alt="{{ $item->title }}" />
</div>
</div>

View File

@ -5,13 +5,13 @@
<tr>
@if (! $hideCompanyLogo)
<td style="width:20%; padding: 0 0 15px 0;" valign="top">
@stack('company_logo_start')
@stack('company_logo_input_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')
@stack('company_logo_input_end')
</td>
@endif
@ -264,6 +264,10 @@
@stack('email_input_end')
@endif
@stack('amount_input_start')
{{-- The reason for adding the amount part here is because the amount style is broken in the view. --}}
@stack('amount_input_end')
<tr>
<td></td>
</tr>

View File

@ -2,7 +2,7 @@
@stack('from_account_start')
<table class="border-bottom-1">
<tbody>
@stack('from_account_id_start')
@stack('from_account_id_input_start')
<tr>
<td style="width: 60%; padding: 0 0 15px 0;">
<div class="mb-1 font-semibold" style="font-size: 14px; margin-bottom: 15px;">
@ -86,7 +86,7 @@
@endif
</td>
</tr>
@stack('from_account_id_end')
@stack('from_account_id_input_end')
</tbody>
</table>
@stack('from_account_end')
@ -94,7 +94,7 @@
@stack('to_account_start')
<table class="border-bottom-1" style="margin-top:15px;">
<tbody>
@stack('to_account_id_start')
@stack('to_account_id_input_start')
<tr>
<td style="width: 60%; padding: 0 0 15px 0;">
<div class="mb-1 font-semibold" style="font-size: 14px; margin-bottom: 15px;">
@ -178,7 +178,7 @@
@endif
</td>
</tr>
@stack('to_account_id_end')
@stack('to_account_id_input_end')
</tbody>
</table>
@stack('to_account_end')
@ -247,19 +247,21 @@
</tr>
@stack('description_input_end')
@stack('amount_input_start')
{{-- The reason for adding the amount part here is because the amount style is broken in the view. --}}
@stack('amount_input_end')
<tr>
<td></td>
</tr>
</table>
@stack('details_end')
@stack('amount_start')
<table style="text-align: right; margin-top:55px;">
@stack('amount_table_start')
<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>
@stack('amount_input_start')
<tr>
<td valign="center" class="font-semibold" style="padding:0; font-size: 14px; color:#ffffff;">
<span class="ml-2">
@ -269,11 +271,8 @@
<x-money :amount="$transfer->expense_transaction->amount" :currency="$transfer->expense_transaction->currency_code" convert />
</td>
</tr>
@stack('amount_input_end')
</table>
</td>
</tr>
@stack('amount_table_end')
</table>
@stack('amount_end')
</div>

View File

@ -68,7 +68,7 @@
@stack('from_account_start')
<table style="width: 100%; margin-top:35px;">
<tbody>
@stack('from_account_id_start')
@stack('from_account_id_input_start')
<tr>
<td class="border-bottom-1 border-top-1" style="width: 60%; padding: 15px 0 15px 0;">
<div class="mb-1 font-semibold" style="font-size: 14px; margin-bottom: 15px;">
@ -152,7 +152,7 @@
@endif
</td>
</tr>
@stack('from_account_id_end')
@stack('from_account_id_input_end')
</tbody>
</table>
@stack('from_account_end')
@ -160,7 +160,7 @@
@stack('to_account_start')
<table style="width: 100%; margin-top:15px;">
<tbody>
@stack('to_account_id_start')
@stack('to_account_id_input_start')
<tr>
<td style="width: 60%; padding: 0 0 15px 0;">
<div class="mb-1 font-semibold" style="font-size: 14px; margin-bottom: 15px;">
@ -242,20 +242,21 @@
@stack('to_account_address_input_end')
</table>
@endif
@stack('amount_input_start')
{{-- The reason for adding the amount part here is because the amount style is broken in the view. --}}
@stack('amount_input_end')
</td>
</tr>
@stack('to_account_id_end')
@stack('to_account_id_input_end')
</tbody>
</table>
@stack('to_account_end')
@stack('amount_start')
<table style="text-align: right;">
@stack('amount_table_start')
<tr>
<td valign="center" style="width:80%; display:block; float:right;">
<table>
@stack('amount_input_start')
<tr>
<td valign="center" class="font-semibold" style="padding:0; font-size: 14px;">
<span class="ml-2">
@ -265,11 +266,8 @@
<x-money :amount="$transfer->expense_transaction->amount" :currency="$transfer->expense_transaction->currency_code" convert />
</td>
</tr>
@stack('amount_input_end')
</table>
</td>
</tr>
@stack('amount_table_end')
</table>
@stack('amount_end')
</div>

View File

@ -6,7 +6,7 @@
@stack('from_account_start')
<table>
<tbody>
@stack('from_account_id_start')
@stack('from_account_id_input_start')
<tr>
<td style="padding:0;">
<div class="mb-1 font-semibold" style="font-size: 14px; margin-bottom: 15px;">
@ -90,7 +90,7 @@
@endif
</td>
</tr>
@stack('from_account_id_end')
@stack('from_account_id_input_end')
</tbody>
</table>
@stack('from_account_end')
@ -100,7 +100,7 @@
@stack('to_account_start')
<table>
<tbody>
@stack('to_account_id_start')
@stack('to_account_id_input_start')
<tr>
<td style="padding:0;">
<div class="mb-1 font-semibold" style="font-size: 14px; margin-bottom: 15px;">
@ -184,7 +184,7 @@
@endif
</td>
</tr>
@stack('to_account_id_end')
@stack('to_account_id_input_end')
</tbody>
</table>
@stack('to_account_end')
@ -257,19 +257,20 @@
</tr>
@stack('description_input_end')
@stack('amount_input_start')
{{-- The reason for adding the amount part here is because the amount style is broken in the view. --}}
@stack('amount_input_end')
<tr>
<td></td>
</tr>
</table>
@stack('details_end')
@stack('amount_start')
<table style="text-align: right;">
@stack('amount_table_start')
<tr>
<td valign="center" style="width:80%; display:block; float:right;">
<table>
@stack('amount_input_start')
<tr>
<td valign="center" class="font-semibold" style="width: 80%; padding:0; font-size: 14px;">
<span class="ml-2">
@ -279,11 +280,8 @@
<x-money :amount="$transfer->expense_transaction->amount" :currency="$transfer->expense_transaction->currency_code" convert />
</td>
</tr>
@stack('amount_input_end')
</table>
</td>
</tr>
@stack('amount_table_end')
</table>
@stack('amount_end')
</div>

View File

@ -98,7 +98,7 @@
</div>
@if (! in_array('onprime', $module->where_to_use))
<div class="text-sm truncate line-clamp-1">
<div class="text-sm line-clamp-1">
{!! ! empty($module->sort_desc) ? $module->sort_desc : strip_tags($module->description) !!}
</div>
@ -112,7 +112,7 @@
</div>
@endif
@else
<div class="text-sm truncate line-clamp-1">
<div class="text-sm line-clamp-1">
{!! ! empty($module->sort_desc) ? $module->sort_desc : strip_tags($module->description) !!}
</div>

View File

@ -1,4 +1,4 @@
<div class="w-full lg:max-w-6xl m-auto">
<div class="w-full lg:max-w-6xl px-4 lg:px-0 m-auto">
<x-layouts.signed>
<x-slot name="title">
{{ setting('invoice.title', trans_choice('general.invoices', 1)) . ': ' . $invoice->document_number }}

View File

@ -1,5 +1,5 @@
<div class="overflow-x-visible mb-8">
<table class="w-full rp-border-collapse">
<div class="overflow-x-scroll large-overflow-unset mb-8">
<table class="w-full small-table-width rp-border-collapse">
<tbody>
<tr>
<td class="{{ $class->column_name_width }} w-24 ltr:text-left rtl:text-right text-black-400 uppercase font-bold">

View File

@ -1,5 +1,5 @@
<div class="overflow-x-visible my-8">
<table class="w-full rp-border-collapse">
<div class="overflow-x-scroll large-overflow-unset my-8">
<table class="w-full small-table-width rp-border-collapse">
<thead>
<tr>
<th class="{{ $class->column_name_width }} w-24 print-alignment">&nbsp;</th>

View File

@ -30,30 +30,39 @@
<x-slot name="body">
<div class="sm:col-span-2 rounded-lg cursor-pointer text-center py-2 px-2">
<label class="cursor-pointer">
<div @click="form.template='default'">
<div @click="form.template='default'" class="flex flex-col items-center">
<img src="{{ asset('public/img/invoice_templates/default.png') }}" class="h-60 my-3" alt="Default" />
<input type="radio" name="template" value="default" v-model="form._template">
{{ trans('settings.invoice.default') }}
<div class="flex items-center space-x-2 rtl:space-x-reverse">
<input type="radio" name="template" value="default" v-model="form._template">
<span> {{ trans('settings.invoice.default') }} </span>
</div>
</div>
</label>
</div>
<div class="sm:col-span-2 rounded-lg cursor-pointer text-center py-2 px-2">
<label class="cursor-pointer">
<div @click="form.template='classic'">
<div @click="form.template='classic'" class="flex flex-col items-center">
<img src="{{ asset('public/img/invoice_templates/classic.png') }}" class="h-60 my-3" alt="Classic" />
<input type="radio" name="template" value="classic" v-model="form._template">
{{ trans('settings.invoice.classic') }}
<div class="flex items-center space-x-2 rtl:space-x-reverse">
<input type="radio" name="template" value="classic" v-model="form._template">
<span> {{ trans('settings.invoice.classic') }} </span>
</div>
</div>
</label>
</div>
<div class="sm:col-span-2 rounded-lg cursor-pointer text-center py-2 px-2">
<label class="cursor-pointer">
<div @click="form.template='modern'">
<div @click="form.template='modern'" class="flex flex-col items-center">
<img src="{{ asset('public/img/invoice_templates/modern.png') }}" class="h-60 my-3" alt="Modern" />
<input type="radio" name="template" value="modern" v-model="form._template">
{{ trans('settings.invoice.modern') }}
<div class="flex items-center space-x-2 rtl:space-x-reverse">
<input type="radio" name="template" value="modern" v-model="form._template">
<span> {{ trans('settings.invoice.modern') }} </span>
</div>
</div>
</label>
</div>