@extends('layouts.app') @section('content')

{{$title}}

{{--

Textual inputs

Here are examples of .form-control applied to each textual HTML5 <input> type.

--}} @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
{{--
--}} {{--
--}}
{!! Form::text('tanggal_p',date('Y-m-d'),['class'=>'form-control','id'=>'tanggal_p','readonly'=>'readonly']) !!}
{{--

Pemakaian Periode {{$present->format('F-Y')}}

--}}
@if(Auth::user()->name != 'Admin')

Detail Pengguna


{{-- --}}
Nama Perusahaan : {{$pelanggans->name}}
Wilayah : {{$pelanggans->daerah->nama_daerah??'-'}}
Alamat : {{$pelanggans->alamat}}
Klasifikasi : {{@$pelanggans->pelanggan->kategori_npa->kategori}}
@endif
@push('scripts') @endpush @endsection