@extends('layouts.app') @section('style') @endsection @section('content')
Name:
{{ $sale->name }}
Phone:
{{ preg_replace('~.*(\d{3})[^\d]{0,7}(\d{3})[^\d]{0,7}(\d{4}).*~', '($1) $2-$3',$sale->phone) }}
Cellphone:
{{ preg_replace('~.*(\d{3})[^\d]{0,7}(\d{3})[^\d]{0,7}(\d{4}).*~', '($1) $2-$3',$sale->cellphone) }}
Adress:
{{ $sale->address }}
Email:
{{ $sale->email }}
Product | Price | Amount | Comment | Dispatch | Delete | Delete |
---|---|---|---|---|---|---|
{{ $product['category'] }} {{ $product['product'] }}
@if($product->has('fillings'))
F( @foreach($product['fillings'] as $pf) {{ $pf['filling_name'] }} @endforeach ) @endif |
{{ preg_replace('/\B(?=(\d{3})+(?!\d))/',',',$product['sale_price']) }} | {{ $product['amount'] }} | @if($product->has('comment_id')) @else @endif | {{ $product['dispatch'] }} | @if($sale->status != 'cancel' && $sale->status != 'close') @endif |