@extends('cms.layouts.main') @section('content') @include('cms.layouts.headers.partials', ['title' => 'Add Record'])

{{ $page_info['title'] }}

@csrf {{-- Draw Number --}} @include('cms.components.inputs.number', ['label' => 'Draw Number', 'asterix' => true, 'name' => 'draw_number']) {{-- Date --}} @include('cms.components.inputs.text', ['type' => 'datetime-local', 'label' => 'Date', 'asterix' => true, 'name' => 'date'])
@can('draws-import')

Guidelines

  • The import will automatically skip the first row.
  • In case the id exists in our database, the product info will update.
  • if the id don't exists, it means that this row show be added not updated.
@csrf
@if($errors->has('import')) {{ $errors->first('import') }} @endif
@endcan
@include('cms.layouts.footers.auth')
@endsection