hidden classes updated
This commit is contained in:
		@@ -21,8 +21,8 @@
 | 
			
		||||
                    'class' => 'mb-0'
 | 
			
		||||
                ]) !!}
 | 
			
		||||
                    <div class="row" v-if="!bulk_action.show">
 | 
			
		||||
                        <div class="col-12 card-header-search">
 | 
			
		||||
                            <span class="table-text hidden-lg">{{ trans('general.search') }}:</span>
 | 
			
		||||
                        <div class="col-12 d-flex align-items-center">
 | 
			
		||||
                            <span class="font-weight-400 d-none d-lg-block mr-2">{{ trans('general.search') }}:</span>
 | 
			
		||||
                            <akaunting-search></akaunting-search>
 | 
			
		||||
                        </div>
 | 
			
		||||
                    </div>
 | 
			
		||||
@@ -35,12 +35,12 @@
 | 
			
		||||
                <table class="table table-flush table-hover">
 | 
			
		||||
                    <thead class="thead-light">
 | 
			
		||||
                        <tr class="row table-head-line">
 | 
			
		||||
                            <th class="col-sm-2 col-md-1 col-lg-1 col-xl-1 hidden-sm">{{ Form::bulkActionAllGroup() }}</th>
 | 
			
		||||
                            <th class="col-sm-2 col-md-2 col-lg-1 col-xl-1 hidden-sm">@sortablelink('bill_number', trans_choice('general.numbers', 1), ['filter' => 'active, visible'], ['class' => 'col-aka', 'rel' => 'nofollow'])</th>
 | 
			
		||||
                            <th class="col-sm-2 col-md-1 col-lg-1 col-xl-1 d-none d-sm-block">{{ Form::bulkActionAllGroup() }}</th>
 | 
			
		||||
                            <th class="col-sm-2 col-md-2 col-lg-1 col-xl-1 d-none d-sm-block">@sortablelink('bill_number', trans_choice('general.numbers', 1), ['filter' => 'active, visible'], ['class' => 'col-aka', 'rel' => 'nofollow'])</th>
 | 
			
		||||
                            <th class="col-xs-4 col-sm-4 col-md-3 col-lg-2 col-xl-2">@sortablelink('contact_name', trans_choice('general.vendors', 1))</th>
 | 
			
		||||
                            <th class="col-md-2 col-lg-2 col-xl-2 hidden-md text-right">@sortablelink('amount', trans('general.amount'))</th>
 | 
			
		||||
                            <th class="col-lg-2 col-xl-2 hidden-lg">@sortablelink('billed_at', trans('bills.bill_date'))</th>
 | 
			
		||||
                            <th class="col-lg-2 col-xl-2 hidden-lg">@sortablelink('due_at', trans('bills.due_date'))</th>
 | 
			
		||||
                            <th class="col-md-2 col-lg-2 col-xl-2 d-none d-md-block text-right">@sortablelink('amount', trans('general.amount'))</th>
 | 
			
		||||
                            <th class="col-lg-2 col-xl-2 d-none d-lg-block">@sortablelink('billed_at', trans('bills.bill_date'))</th>
 | 
			
		||||
                            <th class="col-lg-2 col-xl-2 d-none d-lg-block">@sortablelink('due_at', trans('bills.due_date'))</th>
 | 
			
		||||
                            <th class="col-xs-4 col-sm-2 col-md-2 col-lg-1 col-xl-1">@sortablelink('bill_status_code', trans_choice('general.statuses', 1))</th>
 | 
			
		||||
                            <th class="col-xs-4 col-sm-2 col-md-2 col-lg-1 col-xl-1 text-center">{{ trans('general.actions') }}</th>
 | 
			
		||||
                        </tr>
 | 
			
		||||
@@ -50,12 +50,12 @@
 | 
			
		||||
                        @foreach($bills as $item)
 | 
			
		||||
                            @php $paid = $item->paid; @endphp
 | 
			
		||||
                            <tr class="row align-items-center border-top-1">
 | 
			
		||||
                                <td class="col-sm-2 col-md-1 col-lg-1 col-xl-1 hidden-sm">{{ Form::bulkActionGroup($item->id, $item->bill_number) }}</td>
 | 
			
		||||
                                <td class="col-sm-2 col-md-2 col-lg-1 col-xl-1 hidden-sm"><a class="col-aka text-success" href="{{ route('bills.show', $item->id) }}">{{ $item->bill_number }}</a></td>
 | 
			
		||||
                                <td class="col-sm-2 col-md-1 col-lg-1 col-xl-1 d-none d-sm-block">{{ Form::bulkActionGroup($item->id, $item->bill_number) }}</td>
 | 
			
		||||
                                <td class="col-sm-2 col-md-2 col-lg-1 col-xl-1 d-none d-sm-block"><a class="col-aka text-success" href="{{ route('bills.show', $item->id) }}">{{ $item->bill_number }}</a></td>
 | 
			
		||||
                                <td class="col-xs-4 col-sm-4 col-md-3 col-lg-2 col-xl-2">{{ $item->contact_name }}</td>
 | 
			
		||||
                                <td class="col-md-2 col-lg-2 col-xl-2 hidden-md text-right">@money($item->amount, $item->currency_code, true)</td>
 | 
			
		||||
                                <td class="col-lg-2 col-xl-2 hidden-lg">@date($item->billed_at)</td>
 | 
			
		||||
                                <td class="col-lg-2 col-xl-2 hidden-lg">@date($item->due_at)</td>
 | 
			
		||||
                                <td class="col-md-2 col-lg-2 col-xl-2 d-none d-md-block text-right">@money($item->amount, $item->currency_code, true)</td>
 | 
			
		||||
                                <td class="col-lg-2 col-xl-2 d-none d-lg-block">@date($item->billed_at)</td>
 | 
			
		||||
                                <td class="col-lg-2 col-xl-2 d-none d-lg-block">@date($item->due_at)</td>
 | 
			
		||||
                                <td class="col-xs-4 col-sm-2 col-md-2 col-lg-1 col-xl-1">
 | 
			
		||||
                                    <span class="badge badge-pill badge-{{ $item->status->label }}">{{ trans('bills.status.' . $item->status->code) }}</span>
 | 
			
		||||
                                </td>
 | 
			
		||||
 
 | 
			
		||||
@@ -330,7 +330,7 @@
 | 
			
		||||
                                            @stack('quantity_th_end')
 | 
			
		||||
 | 
			
		||||
                                            @stack('price_th_start')
 | 
			
		||||
                                                <th class="col-sm-3 text-center hidden-sm pl-5">{{ trans('bills.price') }}</th>
 | 
			
		||||
                                                <th class="col-sm-3 text-center d-none d-sm-block pl-5">{{ trans('bills.price') }}</th>
 | 
			
		||||
                                            @stack('price_th_end')
 | 
			
		||||
 | 
			
		||||
                                            @stack('total_th_start')
 | 
			
		||||
@@ -348,7 +348,7 @@
 | 
			
		||||
                                                @stack('quantity_td_end')
 | 
			
		||||
 | 
			
		||||
                                                @stack('price_td_start')
 | 
			
		||||
                                                    <td class="col-sm-3 text-center hidden-sm pl-8">@money($item->price, $bill->currency_code, true)</td>
 | 
			
		||||
                                                    <td class="col-sm-3 text-center d-none d-sm-block pl-8">@money($item->price, $bill->currency_code, true)</td>
 | 
			
		||||
                                                @stack('price_td_end')
 | 
			
		||||
 | 
			
		||||
                                                @stack('total_td_start')
 | 
			
		||||
 
 | 
			
		||||
@@ -21,8 +21,8 @@
 | 
			
		||||
                    'class' => 'mb-0'
 | 
			
		||||
                ]) !!}
 | 
			
		||||
                    <div class="row" v-if="!bulk_action.show">
 | 
			
		||||
                        <div class="col-12 card-header-search">
 | 
			
		||||
                            <span class="table-text hidden-lg">{{ trans('general.search') }}:</span>
 | 
			
		||||
                        <div class="col-12 d-flex align-items-center">
 | 
			
		||||
                            <span class="font-weight-400 d-none d-lg-block mr-2">{{ trans('general.search') }}:</span>
 | 
			
		||||
                            <akaunting-search></akaunting-search>
 | 
			
		||||
                        </div>
 | 
			
		||||
                    </div>
 | 
			
		||||
@@ -35,12 +35,12 @@
 | 
			
		||||
                <table class="table table-flush table-hover">
 | 
			
		||||
                    <thead class="thead-light">
 | 
			
		||||
                        <tr class="row table-head-line">
 | 
			
		||||
                            <th class="col-sm-2 col-md-2 col-lg-1 col-xl-1 hidden-sm">{{ Form::bulkActionAllGroup() }}</th>
 | 
			
		||||
                            <th class="col-sm-2 col-md-2 col-lg-1 col-xl-1 d-none d-sm-block">{{ Form::bulkActionAllGroup() }}</th>
 | 
			
		||||
                            <th class="col-xs-4 col-sm-4 col-md-3 col-lg-2 col-xl-3">@sortablelink('paid_at', trans('general.date'), ['filter' => 'active, visible'], ['class' => 'col-aka', 'rel' => 'nofollow'])</th>
 | 
			
		||||
                            <th class="col-xs-4 col-sm-4 col-md-3 col-lg-2 col-xl-1 text-right">@sortablelink('amount', trans('general.amount'))</th>
 | 
			
		||||
                            <th class="col-md-2 col-lg-2 col-xl-3 hidden-md">@sortablelink('contact.name', trans_choice('general.vendors', 1))</th>
 | 
			
		||||
                            <th class="col-lg-2 col-xl-2 hidden-lg">@sortablelink('category.name', trans_choice('general.categories', 1))</th>
 | 
			
		||||
                            <th class="col-lg-2 col-xl-1 hidden-lg">@sortablelink('account.name', trans_choice('general.accounts', 1))</th>
 | 
			
		||||
                            <th class="col-md-2 col-lg-2 col-xl-3 d-none d-md-block">@sortablelink('contact.name', trans_choice('general.vendors', 1))</th>
 | 
			
		||||
                            <th class="col-lg-2 col-xl-2 d-none d-lg-block">@sortablelink('category.name', trans_choice('general.categories', 1))</th>
 | 
			
		||||
                            <th class="col-lg-2 col-xl-1 d-none d-lg-block">@sortablelink('account.name', trans_choice('general.accounts', 1))</th>
 | 
			
		||||
                            <th class="col-xs-4 col-sm-2 col-md-2 col-lg-1 col-xl-1 text-center"><a>{{ trans('general.actions') }}</a></th>
 | 
			
		||||
                        </tr>
 | 
			
		||||
                    </thead>
 | 
			
		||||
@@ -49,16 +49,16 @@
 | 
			
		||||
                        @foreach($payments as $item)
 | 
			
		||||
                            @php $is_transfer = ($item->category && ($item->category->id == $transfer_cat_id)); @endphp
 | 
			
		||||
                            <tr class="row align-items-center border-top-1">
 | 
			
		||||
                                <td class="col-sm-2 col-md-2 col-lg-1 col-xl-1 hidden-sm">{{ Form::bulkActionGroup($item->id, $item->contact->name) }}</td>
 | 
			
		||||
                                <td class="col-sm-2 col-md-2 col-lg-1 col-xl-1 d-none d-sm-block">{{ Form::bulkActionGroup($item->id, $item->contact->name) }}</td>
 | 
			
		||||
                                @if ($item->reconciled)
 | 
			
		||||
                                    <td class="col-xs-4 col-sm-4 col-md-3 col-lg-2 col-xl-3">@date($item->paid_at)</td>
 | 
			
		||||
                                @else
 | 
			
		||||
                                    <td class="col-xs-4 col-sm-4 col-md-3 col-lg-2 col-xl-3"><a class="col-aka text-success " href="{{ route('payments.edit', $item->id) }}">@date($item->paid_at)</a></td>
 | 
			
		||||
                                @endif
 | 
			
		||||
                                <td class="col-xs-4 col-sm-4 col-md-3 col-lg-2 col-xl-1 text-right">@money($item->amount, $item->currency_code, true)</td>
 | 
			
		||||
                                <td class="col-md-2 col-lg-2 col-xl-3 hidden-md">{{ !empty($item->contact->name) ? $item->contact->name : trans('general.na') }}</td>
 | 
			
		||||
                                <td class="col-lg-2 col-xl-2 hidden-lg">{{ $item->category ? $item->category->name : trans('general.na') }}</td>
 | 
			
		||||
                                <td class="col-lg-2 col-xl-1 hidden-lg">{{ $item->account ? $item->account->name : trans('general.na') }}</td>
 | 
			
		||||
                                <td class="col-md-2 col-lg-2 col-xl-3 d-none d-md-block">{{ !empty($item->contact->name) ? $item->contact->name : trans('general.na') }}</td>
 | 
			
		||||
                                <td class="col-lg-2 col-xl-2 d-none d-lg-block">{{ $item->category ? $item->category->name : trans('general.na') }}</td>
 | 
			
		||||
                                <td class="col-lg-2 col-xl-1 d-none d-lg-block">{{ $item->account ? $item->account->name : trans('general.na') }}</td>
 | 
			
		||||
                                <td class="col-xs-4 col-sm-2 col-md-2 col-lg-1 col-xl-1 text-center">
 | 
			
		||||
                                    @if (!$is_transfer)
 | 
			
		||||
                                        <div class="dropdown">
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										20
									
								
								resources/views/expenses/vendors/index.blade.php
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										20
									
								
								resources/views/expenses/vendors/index.blade.php
									
									
									
									
										vendored
									
									
								
							@@ -21,8 +21,8 @@
 | 
			
		||||
                    'class' => 'mb-0'
 | 
			
		||||
                ]) !!}
 | 
			
		||||
                    <div class="row" v-if="!bulk_action.show">
 | 
			
		||||
                        <div class="col-12 card-header-search">
 | 
			
		||||
                            <span class="table-text hidden-lg">{{ trans('general.search') }}:</span>
 | 
			
		||||
                        <div class="col-12 d-flex align-items-center">
 | 
			
		||||
                            <span class="font-weight-400 d-none d-lg-block mr-2">{{ trans('general.search') }}:</span>
 | 
			
		||||
                            <akaunting-search></akaunting-search>
 | 
			
		||||
                        </div>
 | 
			
		||||
                    </div>
 | 
			
		||||
@@ -35,11 +35,11 @@
 | 
			
		||||
                <table class="table table-flush table-hover">
 | 
			
		||||
                    <thead class="thead-light">
 | 
			
		||||
                        <tr class="row table-head-line">
 | 
			
		||||
                            <th class="col-sm-2 col-md-1 col-lg-1 col-xl-1 hidden-sm">{{ Form::bulkActionAllGroup() }}</th>
 | 
			
		||||
                            <th class="col-sm-2 col-md-1 col-lg-1 col-xl-1 d-none d-sm-block">{{ Form::bulkActionAllGroup() }}</th>
 | 
			
		||||
                            <th class="col-xs-4 col-sm-3 col-md-3 col-lg-3 col-xl-3">@sortablelink('name', trans('general.name'), ['filter' => 'active, visible'], ['class' => 'col-aka', 'rel' => 'nofollow'])</th>
 | 
			
		||||
                            <th class="col-md-2 col-lg-2 col-xl-2 hidden-md">@sortablelink('email', trans('general.email'))</th>
 | 
			
		||||
                            <th class="col-sm-3 col-md-2 col-lg-2 col-xl-2 hidden-sm">@sortablelink('phone', trans('general.phone'))</th>
 | 
			
		||||
                            <th class="col-lg-2 col-xl-2 text-right hidden-lg">@sortablelink('unpaid', trans('general.unpaid'))</th>
 | 
			
		||||
                            <th class="col-md-2 col-lg-2 col-xl-2 d-none d-md-block">@sortablelink('email', trans('general.email'))</th>
 | 
			
		||||
                            <th class="col-sm-3 col-md-2 col-lg-2 col-xl-2 d-none d-sm-block">@sortablelink('phone', trans('general.phone'))</th>
 | 
			
		||||
                            <th class="col-lg-2 col-xl-2 text-right d-none d-lg-block">@sortablelink('unpaid', trans('general.unpaid'))</th>
 | 
			
		||||
                            <th class="col-xs-4 col-sm-2 col-md-2 col-lg-1 col-xl-1">@sortablelink('enabled', trans('general.enabled'))</th>
 | 
			
		||||
                            <th class="col-xs-4 col-sm-2 col-md-2 col-lg-1 col-xl-1 text-center">{{ trans('general.actions') }}</th>
 | 
			
		||||
                        </tr>
 | 
			
		||||
@@ -48,19 +48,19 @@
 | 
			
		||||
                    <tbody>
 | 
			
		||||
                        @foreach($vendors as $item)
 | 
			
		||||
                            <tr class="row align-items-center border-top-1">
 | 
			
		||||
                                <td class="col-sm-2 col-md-1 col-lg-1 col-xl-1 hidden-sm">
 | 
			
		||||
                                <td class="col-sm-2 col-md-1 col-lg-1 col-xl-1 d-none d-sm-block">
 | 
			
		||||
                                    {{ Form::bulkActionGroup($item->id, $item->name) }}
 | 
			
		||||
                                </td>
 | 
			
		||||
                                <td class="col-xs-4 col-sm-3 col-md-3 col-lg-3 col-xl-3">
 | 
			
		||||
                                    <a class="col-aka text-success " href="{{ route('vendors.show', $item->id) }}">{{ $item->name }}</a>
 | 
			
		||||
                                </td>
 | 
			
		||||
                                <td class="col-md-2 col-lg-2 col-xl-2 hidden-md long-texts">
 | 
			
		||||
                                <td class="col-md-2 col-lg-2 col-xl-2 d-none d-md-block long-texts">
 | 
			
		||||
                                    {{ !empty($item->email) ? $item->email : trans('general.na') }}
 | 
			
		||||
                                </td>
 | 
			
		||||
                                <td class="col-sm-3 col-md-2 col-lg-2 col-xl-2 hidden-sm long-texts">
 | 
			
		||||
                                <td class="col-sm-3 col-md-2 col-lg-2 col-xl-2 d-none d-sm-block long-texts">
 | 
			
		||||
                                    {{ $item->phone }}
 | 
			
		||||
                                </td>
 | 
			
		||||
                                <td class="col-lg-2 col-xl-2 text-right hidden-lg long-texts">
 | 
			
		||||
                                <td class="col-lg-2 col-xl-2 text-right d-none d-lg-block long-texts">
 | 
			
		||||
                                    @money($item->unpaid, setting('default.currency'), true)
 | 
			
		||||
                                </td>
 | 
			
		||||
                                <td class="col-xs-4 col-sm-2 col-md-2 col-lg-1 col-xl-1">
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										16
									
								
								resources/views/expenses/vendors/show.blade.php
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								resources/views/expenses/vendors/show.blade.php
									
									
									
									
										vendored
									
									
								
							@@ -117,8 +117,8 @@
 | 
			
		||||
                                            <tr class="row table-head-line">
 | 
			
		||||
                                                <th class="col-xs-6 col-sm-3">{{ trans('general.date') }}</th>
 | 
			
		||||
                                                <th class="col-xs-6 col-sm-2">{{ trans('general.amount') }}</th>
 | 
			
		||||
                                                <th class="col-sm-4 hidden-sm">{{ trans_choice('general.categories', 1) }}</th>
 | 
			
		||||
                                                <th class="col-sm-3 hidden-sm">{{ trans_choice('general.accounts', 1) }}</th>
 | 
			
		||||
                                                <th class="col-sm-4 d-none d-sm-none">{{ trans_choice('general.categories', 1) }}</th>
 | 
			
		||||
                                                <th class="col-sm-3 d-none d-sm-none">{{ trans_choice('general.accounts', 1) }}</th>
 | 
			
		||||
                                            </tr>
 | 
			
		||||
                                        </thead>
 | 
			
		||||
                                        <tbody>
 | 
			
		||||
@@ -126,8 +126,8 @@
 | 
			
		||||
                                                <tr class="row align-items-center border-top-1">
 | 
			
		||||
                                                    <td class="col-xs-6 col-sm-3">@date($item->paid_at)</td>
 | 
			
		||||
                                                    <td class="col-xs-6 col-sm-2">@money($item->amount, $item->currency_code, true)</td>
 | 
			
		||||
                                                    <td class="col-sm-4 hidden-sm">{{ $item->category ? $item->category->name : trans('general.na') }}</td>
 | 
			
		||||
                                                    <td class="col-sm-3 hidden-sm">{{ $item->account->name }}</td>
 | 
			
		||||
                                                    <td class="col-sm-4 d-none d-sm-none">{{ $item->category ? $item->category->name : trans('general.na') }}</td>
 | 
			
		||||
                                                    <td class="col-sm-3 d-none d-sm-none">{{ $item->account->name }}</td>
 | 
			
		||||
                                                </tr>
 | 
			
		||||
                                            @endforeach
 | 
			
		||||
                                        </tbody>
 | 
			
		||||
@@ -148,8 +148,8 @@
 | 
			
		||||
                                            <tr class="row table-head-line">
 | 
			
		||||
                                                <th class="col-xs-4 col-sm-3">{{ trans_choice('general.numbers', 1) }}</th>
 | 
			
		||||
                                                <th class="col-xs-4 col-sm-3">{{ trans('general.amount') }}</th>
 | 
			
		||||
                                                <th class="col-sm-2 hidden-sm">{{ trans('bills.bill_date') }}</th>
 | 
			
		||||
                                                <th class="col-sm-2 hidden-sm">{{ trans('bills.due_date') }}</th>
 | 
			
		||||
                                                <th class="col-sm-2 d-none d-sm-none">{{ trans('bills.bill_date') }}</th>
 | 
			
		||||
                                                <th class="col-sm-2 d-none d-sm-none">{{ trans('bills.due_date') }}</th>
 | 
			
		||||
                                                <th class="col-xs-4 col-sm-2">{{ trans_choice('general.statuses', 1) }}</th>
 | 
			
		||||
                                            </tr>
 | 
			
		||||
                                        </thead>
 | 
			
		||||
@@ -158,8 +158,8 @@
 | 
			
		||||
                                                <tr class="row align-items-center border-top-1">
 | 
			
		||||
                                                    <td class="col-xs-4 col-sm-3"><a href="{{ url('expenses/bills/' . $item->id . ' ') }}">{{ $item->bill_number }}</a></td>
 | 
			
		||||
                                                    <td class="col-xs-4 col-sm-3">@money($item->amount, $item->currency_code, true)</td>
 | 
			
		||||
                                                    <td class="col-sm-2 hidden-sm">@date($item->billed_at)</td>
 | 
			
		||||
                                                    <td class="col-sm-2 hidden-sm">@date($item->due_at)</td>
 | 
			
		||||
                                                    <td class="col-sm-2 d-none d-sm-none">@date($item->billed_at)</td>
 | 
			
		||||
                                                    <td class="col-sm-2 d-none d-sm-none">@date($item->due_at)</td>
 | 
			
		||||
                                                    <td class="col-xs-4 col-sm-2"><span class="badge badge-pill badge-{{ $item->status->label }}">{{ trans('bills.status.' . $item->status->code) }}</span></td>
 | 
			
		||||
                                                </tr>
 | 
			
		||||
                                            @endforeach
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user