@extends('layouts.admin') @section('title', 'Inicio') @section('content') @php $pendingBillingHome = \App\Models\ElectronicInvoice::pendingSri()->count(); @endphp @if($pendingBillingHome > 0 && auth()->user()->hasPermission('billing.view'))
Panel de gestión de tu distribuidora
| Categoría | Marca | Producto | Presentación | Stock | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $p['category'] }} | {{ $p['brand'] }} |
{{ $p['name'] }}
Mín. {{ number_format($min, 2) }}
|
{{ $p['presentation'] }} |
{{ number_format($avail, 2) }} {{ $p['unit_label'] ?? 'und' }}
@if(!empty($p['pack_equiv']))
{{ $p['pack_equiv'] }}
@endif
|
|
|||||||||||||
@if(count($p['batches']))
Sin lotes activos
@endif
|
||||||||||||||||||
| Sin productos | ||||||||||||||||||
| {{ $o->number }} | {{ $o->client->business_name }} | {{ $o->status->value }} | ${{ $o->total }} |
| Sin pedidos pendientes |
| Cliente | Límite | Debe | |
|---|---|---|---|
| {{ $c['business_name'] }} {{ $c['code'] }} |
${{ number_format($c['credit_limit'], 2) }} | ${{ number_format($c['balance'], 2) }} |
|
| Sin clientes con crédito | |||