Skip to content

Commit

Permalink
reconcile responsive & share link console error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
brkcvn committed Aug 18, 2022
1 parent 9974f9e commit 44a2252
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
14 changes: 7 additions & 7 deletions resources/views/banking/reconciliations/create.blade.php
Expand Up @@ -87,7 +87,7 @@ class="w-full px-3 py-2 bg-transparent hover:bg-purple text-black hover:text-whi
<x-table>
<x-table.thead>
<x-table.tr>
<x-table.th class="w-2/12" hidden-mobile>
<x-table.th class="w-6/12 lg:w-2/12">
{{ trans('general.date') }}
</x-table.th>

Expand All @@ -103,7 +103,7 @@ class="w-full px-3 py-2 bg-transparent hover:bg-purple text-black hover:text-whi
{{ trans('reconciliations.deposit') }}
</x-table.th>

<x-table.th class="w-6/12 lg:w-2/12">
<x-table.th class="w-6/12 lg:w-2/12" hidden-mobile>
{{ trans('reconciliations.withdrawal') }}
</x-table.th>

Expand All @@ -116,7 +116,7 @@ class="w-full px-3 py-2 bg-transparent hover:bg-purple text-black hover:text-whi
<x-table.tbody>
@foreach($transactions as $item)
<x-table.tr>
<x-table.td class="w-2/12" hidden-mobile kind="cursor-none">
<x-table.td class="w-6/12 lg:w-2/12" kind="cursor-none">
<x-date date="{{ $item->paid_at }}" />
</x-table.td>

Expand All @@ -129,19 +129,19 @@ class="w-full px-3 py-2 bg-transparent hover:bg-purple text-black hover:text-whi
</x-table.td>

@if ($item->isIncome())
<x-table.td class="w-6/12 lg:w-2/12" kind="cursor-none">
<x-table.td class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none">
<x-money :amount="$item->amount" :currency="$item->currency_code" convert />
</x-table.td>

<x-table.td class="w-6/12 lg:w-2/12" kind="cursor-none">
<x-table.td class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none">
<x-empty-data />
</x-table.td>
@else
<x-table.td class="w-6/12 lg:w-2/12" kind="cursor-none">
<x-table.td class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none">
<x-empty-data />
</x-table.td>

<x-table.td class="w-6/12 lg:w-2/12" kind="cursor-none">
<x-table.td class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none">
<x-money :amount="$item->amount" :currency="$item->currency_code" convert />
</x-table.td>
@endif
Expand Down
16 changes: 8 additions & 8 deletions resources/views/banking/reconciliations/edit.blade.php
Expand Up @@ -21,7 +21,7 @@
<x-table>
<x-table.thead>
<x-table.tr>
<x-table.th class="w-2/12" hidden-mobile>
<x-table.th class="w-6/12 lg:w-2/12">
{{ trans('general.date') }}
</x-table.th>

Expand All @@ -37,7 +37,7 @@
{{ trans('reconciliations.deposit') }}
</x-table.th>

<x-table.th class="w-6/12 lg:w-2/12">
<x-table.th class="w-6/12 lg:w-2/12" hidden-mobile>
{{ trans('reconciliations.withdrawal') }}
</x-table.th>

Expand All @@ -50,7 +50,7 @@
<x-table.tbody>
@foreach($transactions as $item)
<x-table.tr>
<x-table.td class="w-2/12" hidden-mobile kind="cursor-none">
<x-table.td class="w-6/12 lg:w-2/12" kind="cursor-none">
<x-date date="{{ $item->paid_at }}" />
</x-table.td>

Expand All @@ -63,19 +63,19 @@
</x-table.td>

@if ($item->isIncome())
<x-table.td class="w-6/12 lg:w-2/12" kind="cursor-none">
<x-money :amount="$item->amount" :currency="$item->currency_code" convert />
<x-table.td class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none">
<x-money :amount="$item->amount" hidden-mobile :currency="$item->currency_code" convert />
</x-table.td>

<x-table.td class="w-6/12 lg:w-2/12" kind="cursor-none">
<x-table.td class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none">
<x-empty-data />
</x-table.td>
@else
<x-table.td class="w-6/12 lg:w-2/12" kind="cursor-none">
<x-table.td class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none">
<x-empty-data />
</x-table.td>

<x-table.td class="w-6/12 lg:w-2/12" kind="cursor-none">
<x-table.td class="w-6/12 lg:w-2/12" hidden-mobile kind="cursor-none">
<x-money :amount="$item->amount" :currency="$item->currency_code" convert />
</x-table.td>
@endif
Expand Down
2 changes: 1 addition & 1 deletion resources/views/modals/invoices/share.blade.php
Expand Up @@ -10,7 +10,7 @@
value="{{ $signedUrl }}"
ref="clone"
@click="onCopyLink()"
class="bg-gray-100 appearance-none border-2 border-gray-100 rounded w-full py-2 px-4 text-gray-700 leading-tight cursor-pointer focus:outline-none focus:ring-transparent focus:border-transparent"
style="appearance: none; background-color: whitesmoke; border: none; font-size: 16px;"
/>
<x-form.input.hidden name="hidden-share" value="{{ $signedUrl }}" />

Expand Down
2 changes: 1 addition & 1 deletion resources/views/modals/transactions/share.blade.php
Expand Up @@ -10,7 +10,7 @@
value="{{ $signedUrl }}"
ref="clone"
@click="onCopyLink()"
class="bg-gray-100 appearance-none border-2 border-gray-100 rounded w-full py-2 px-4 text-gray-700 leading-tight cursor-pointer focus:outline-none focus:ring-transparent focus:border-transparent"
style="appearance: none; background-color: whitesmoke; border: none; font-size: 16px;"
/>
<x-form.input.hidden name="hidden-share" value="{{ $signedUrl }}" />

Expand Down

0 comments on commit 44a2252

Please sign in to comment.