@extends('layouts.main') @section('title', 'Pengembalian') @section('content')

Tabel Pengembalian

Our Returns Table is enhanced with the help of DataTables plugin. This is a powerful tool that allows you to explore return data in a more interactive and efficient way

{{-- + Tambah peminjaman --}}
Data Asset
@php $no_peminjaman = 1; @endphp @foreach ($peminjaman as $data) @endforeach
No Nama Asset Tgl Keluar PJ Keluar Asal Gudang Tgl Masuk PJ Masuk Tujuan Gudang Status Action
No Nama Asset Tgl Keluar PJ Keluar Asal Gudang Tgl Masuk PJ Masuk Tujuan Gudang Status Action
{{ $no_peminjaman++ }} {{ $data->asset->name }} {{ \Carbon\Carbon::parse($data->exit_at)->format('d-m-Y') }} {{ $data->exit_pic }} {{ $data->exit_warehouse }} @if ($data->enter_at) {{ \Carbon\Carbon::parse($data->enter_at)->format('d-m-Y') }} @else

-

@endif
@if ($data->enter_pic) {{ $data->enter_pic }} @else

-

@endif
@if ($data->enter_warehouse) {{ $data->enter_warehouse }} @else

-

@endif
@if ($data->enter_warehouse === null) Not Return @else Return @endif
{{-- @foreach ($peminjaman as $data) @endforeach --}} @endsection