@extends('layouts.app') @section('title', __('sale.discount')) @section('content')

@lang( 'sale.discount' )

@lang( 'lang_v1.all_your_discounts' )

@can('brand.create')
@endcan
@can('brand.view')
@lang( 'unit.name' ) @lang( 'lang_v1.starts_at' ) @lang( 'lang_v1.ends_at' ) @lang( 'lang_v1.priority' ) @lang( 'product.brand' ) @lang( 'product.category' ) @lang( 'sale.location' ) @lang( 'messages.action' )
{!! Form::open(['url' => action('DiscountController@massDeactivate'), 'method' => 'post', 'id' => 'mass_deactivate_form' ]) !!} {!! Form::hidden('selected_discounts', null, ['id' => 'selected_discounts']); !!} {!! Form::submit(__('lang_v1.deactivate_selected'), array('class' => 'btn btn-xs btn-warning', 'id' => 'deactivate-selected')) !!} {!! Form::close() !!}
@endcan
@stop @section('javascript') @endsection