@php $colspan = 15; $custom_labels = json_decode(session('business.custom_labels'), true); @endphp {{--
| @lang('messages.action') | @lang('sale.product') | @lang('business.business_location') @show_tooltip(__('lang_v1.product_business_location_tooltip')) | {{--@lang('sale.qty') | --}} @can('access_default_selling_price') @php $colspan++; @endphp@lang('lang_v1.selling_price') | @endcan@lang('report.total_stock') | {{--@lang('product.product_type') | --}}@lang('product.category') | @lang('product.brand') | {{--@lang('product.tax') | --}}@lang('product.sku') | {{--{{ $custom_labels['product']['custom_field_1'] ?? __('lang_v1.product_custom_field1') }} | {{ $custom_labels['product']['custom_field_2'] ?? __('lang_v1.product_custom_field2') }} | {{ $custom_labels['product']['custom_field_3'] ?? __('lang_v1.product_custom_field3') }} | {{ $custom_labels['product']['custom_field_4'] ?? __('lang_v1.product_custom_field4') }} | --}}||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@can('product.delete')
{!! Form::open(['url' => action([\App\Http\Controllers\ProductController::class, 'massDestroy']), 'method' => 'post', 'id' => 'mass_delete_form' ]) !!}
{!! Form::hidden('selected_rows', null, ['id' => 'selected_rows']); !!}
{!! Form::submit(__('lang_v1.delete_selected'), array('class' => 'btn btn-xs btn-danger', 'id' => 'delete-selected')) !!}
{!! Form::close() !!}
@endcan
@can('product.update')
@if(config('constants.enable_product_bulk_edit'))
{!! Form::open(['url' => action([\App\Http\Controllers\ProductController::class, 'bulkEdit']), 'method' => 'post', 'id' => 'bulk_edit_form' ]) !!}
{!! Form::hidden('selected_products', null, ['id' => 'selected_products_for_edit']); !!}
{!! Form::close() !!}
@endif
@endcan
{!! Form::open(['url' => action([\App\Http\Controllers\ProductController::class, 'massDeactivate']), 'method' => 'post', 'id' => 'mass_deactivate_form' ]) !!}
{!! Form::hidden('selected_products', null, ['id' => 'selected_products']); !!}
{!! Form::submit(__('lang_v1.deactivate_selected'), array('class' => 'btn btn-xs btn-warning', 'id' => 'deactivate-selected')) !!}
{!! Form::close() !!} @show_tooltip(__('lang_v1.deactive_product_tooltip'))
@if($is_woocommerce)
@endif
|
||||||||||||||||