@extends('layouts.admin-master') @section('title', 'Affiliate Product list') @section('css-top') @endsection @section('css') @endsection @section('content')
| Product | Seller | MRP | Seller_Price | Set_Woadi_Price | Commission | Duration | Agent | Order | Stock | Status | Actions | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |
vendor) href="{{ route('admin.vendor.profile', $affiliate_product->vendor->slug) }}" @endif> {{ ($affiliate_product->vendor) ? $affiliate_product->vendor->shop_name : '' }} | {{Config::get('siteSetting.currency_symble')}}{{$affiliate_product->selling_price}} | {{Config::get('siteSetting.currency_symble')}}{{$affiliate_product->seller_rate}} |
Price >= {{Config::get('siteSetting.currency_symble') . round($affiliate_product->seller_rate) }} And <= {{ Config::get('siteSetting.currency_symble') . round($affiliate_product->selling_price)}} |
{{ Config::get('siteSetting.currency_symble') . ($affiliate_product->selling_price - $affiliate_product->office_rate)}} | @php $current_date = \Carbon\Carbon::createFromFormat('Y-m-d H:s:i', date('Y-m-d'. ' 00:00:00')); $duration = Carbon\Carbon::parse($affiliate_product->created_at)->addDays($affiliate_product->day)->format('Y-m-d'. ' 11:59:59'); $end_date = \Carbon\Carbon::createFromFormat('Y-m-d H:s:i', $duration)->format('Y-m-d'. ' 00:00:00'); $diff_in_days = $current_date->diffInDays($end_date); @endphp @if($diff_in_days > 0) {{$diff_in_days}} days left @else Time Expired @endif | 0 | 0 | {!!($affiliate_product->stock > 0) ? $affiliate_product->stock : 'Stock Out' !!} |
@if($affiliate_product->approved == '1')
status == 'active') ? 'checked' : ''}} type="checkbox" class="custom-control-input" id="status{{$affiliate_product->id}}">
@else
Pending
@endif
|
|
|||
| No Products Found. | ||||||||||||||