@extends('layout') @section('title', 'Invoice | Edit Invoice') @section('content')
@method('PATCH') @csrf
Data Invoice
{{--
--}} {{-- DIUBAH JADI DATERANGE dan nanti masuknya hari --}}
{{-- --}} invoice_type == 1 ? 'required' : ''}} required>
{{--
--}}
{{-- --}}
@if (in_array(\Auth::user()->role,[1,30]))
@endif
@if ($invoice->invoice_details) @if (count($invoice->invoice_details) > 0) @foreach ($invoice->invoice_details as $key=>$item) @endforeach @endif @endif
Description Price
Total : {{ribuanWithComma($invoice->invoice_details->sum('price'))}}
{{-- --}}
Back
@endsection @section('js') @endsection