@extends('admin.layout.master') @section('title') Dashboard @endsection @section('content')

Welcome to {{ $website->name }}


@include('admin.layout.laravel_errors')
Pending Payments
@forelse($pending_sales as $i=>$sale1) @empty @endforelse
Id Status Category Product Price Quantity Total Price Date Detail Edit Delete
{{ $i+1 }} @if($sale1->payment_status==0) Unpaid @else Paid @endif {{ ($sale1->category_data) ? $sale1->category_data->name : '--' }} {{ ($sale1->subcategory_data) ? $sale1->subcategory_data->name : '--' }} {{ ($sale1->price) ? number_format($sale1->price) : '--' }} {{ ($sale1->quantity) ? $sale1->quantity : '--' }} {{ ($sale1->total_price) ? number_format($sale1->total_price) : '--' }} {{ ($sale1->date) ? Carbon\Carbon::parse($sale1->date)->format("d-m-Y") : '--' }} {{ ($sale1->sale_detail) ? $sale1->sale_detail : '--' }}
Total Sale
RS {{ number_format($pendingtotal) }}


@endsection @section('script') @endsection