@extends("cms.layouts.app", ['page_id' => 'shipping_index']) @push("css") @endpush @push("js") @endpush @section("title") Marketing Costs - Custom Update Files @endsection @section("content")
@php $file_names = \App\MarketingCost::select('file_name')->groupBy('file_name')->pluck('file_name', 'file_name')->toArray(); @endphp {{ Form::select('file_option', array_merge(['0' =>'Select File Name'], $file_names), null, ['id' => 'file-option', 'class' => "text-status font-weight-600 form-control form-control-sm", 'style' => 'min-width: 100px;']) }}
{{ Form::select('vat_status_option', [ '0' => 'Selected VAT status', '10%VAT' => '10% VAT', 'WHT' => 'WHT', 'NO VAT' => 'NO VAT', ], null, ['id' => 'status-option', 'class' => "text-status font-weight-600 form-control form-control-sm", 'style' => 'min-width: 100px;']) }}
File Date Upload Date File Name DEVP Marketing Costs {{ __('cms.status')}}
{{ Form::open(['route' => 'cms.analysts.marketing_import', 'method' => 'POST', 'id' => 'form_upload_excel', 'files' => true]) }} {{ Form::fileUpload('upload_marketing_file', null, [ 'multiple' => true, 'type' => 'document', 'accept' => '.xlsx, .xls, .csv', ]) }}
{{ Form::close() }}
@endsection