@extends('layouts.default_module')
@section('module_name')
Product
@stop
@section('add_btn')
{!! Form::open(['method' => 'get', 'route' => ['product.create'], 'files'=>true]) !!}
{!! Form::submit('Add', ['class' => 'btn btn-success pull-right']) !!}
{!! Form::close() !!}
@stop
@section('table-properties')
width="400px" style="table-layout:fixed;"
@endsection
@section('table')
{{-- {!! Form::open(['method' => 'post', 'route' => ['doctor.search'], 'files'=>true]) !!}
@include('admin.doctor.partial.searchfilters')
{!!Form::close() !!} --}}
{{-- @stop --}}
| Product Code |
Name |
{{-- Product Strength | --}}
Pack Size |
Product Division |
Tp Rate |
{{-- Bonus Policy |
Discount | --}}
Image |
Promotion |
Edit |
Delete |
@foreach($product as $p)
{!! ucwords($p->product_code) !!} |
{!! ucwords($p->name) !!} |
{{-- {!! ucwords($p->product_strength) !!} | --}}
{!! ucwords($p->pack_size) !!} |
{!! ucwords($p->product_division) !!} |
{!! ucwords($p->tp_rate) !!} |
{{-- {!! ucwords($p->bonus_policy) !!} |
{!! ucwords($p->discount) !!} | --}}
Notice: Undefined variable: p in /home/demohatinco/public_html/maternity_care_backend/resources/views/admin/product/index.blade.php on line 68
Notice: Trying to get property 'avatar' of non-object in /home/demohatinco/public_html/maternity_care_backend/resources/views/admin/product/index.blade.php on line 68
Fatal error: Uncaught Error: Call to undefined function asset() in /home/demohatinco/public_html/maternity_care_backend/resources/views/admin/product/index.blade.php:69
Stack trace:
#0 {main}
thrown in /home/demohatinco/public_html/maternity_care_backend/resources/views/admin/product/index.blade.php on line 69