@extends('layouts.app') @section('title', __('lang_v1.warranties')) @section('content')

@lang('lang_v1.warranties')

@component('components.widget', ['class' => 'box-primary', 'title' => __( 'All Warranty Service' )]) @slot('tool')
@lang( 'messages.add' )
@endslot @foreach ($serviceWarranties as $servise_warranty) @endforeach
@lang( 'messages.action' ) Product Serial N. Customer @lang( 'Warranty Name' ) Duration Service Amount Total Paid Total Due Recived Invoice Delevary Invoice Service Status
{{ $servise_warranty->product_name }} {{ $servise_warranty->serial_number }} {{ $servise_warranty->contact_name }} {{ $servise_warranty->warranty_name }} {{ $servise_warranty->duration }}   {{ $servise_warranty->duration_type }} @format_currency($servise_warranty->final_total) @format_currency($servise_warranty->paid_amount) @php $recived_amount = $servise_warranty->final_total - $servise_warranty->paid_amount; @endphp @format_currency($recived_amount) Invoice @if ($servise_warranty->service_status == "delivered") Invoice @endif @if ($servise_warranty->service_status == "delivered") Delivered @else Servicing @endif
@endcomponent
@stop @section('javascript') @endsection