@extends('admin.admin_dashboard') @section('admin')

Add Price

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Add Price @foreach ($data as $key => $item) @endforeach
Sl No Category Name SubCategory Name Price Action
{{$key + 1}} {{$item['category']['slug'] ?? '-'}} {{$item['subcategory']['slug'] ?? '-'}} {{$item->points ?? '-'}} Edit Delete
@endsection