@php $colspan = 15; $custom_labels = json_decode(session('business.custom_labels'), true); @endphp
@can('view_purchase_price') @php $colspan++; @endphp @endcan @can('access_default_selling_price') @php $colspan++; @endphp @endcan
@lang('messages.action')
@lang('sale.product')
@lang('purchase.business_location') @show_tooltip(__('lang_v1.product_business_location_tooltip'))
@lang('lang_v1.unit_perchase_price')
@lang('lang_v1.selling_price')
@lang('report.current_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('ProductController@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') {!! Form::open(['url' => action('ProductController@bulkEdit'), 'method' => 'post', 'id' => 'bulk_edit_form' ]) !!} {!! Form::hidden('selected_products', null, ['id' => 'selected_products_for_edit']); !!}
{{__('lang_v1.bulk_edit')}}
{!! Form::close() !!}
@lang('lang_v1.add_to_location')
@lang('lang_v1.remove_from_location')
@endcan {!! Form::open(['url' => action('ProductController@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'))