New-OMIS/Modules/Taxation/resources/views/invoice/index.blade.php

69 lines
2.7 KiB
PHP
Raw Permalink Normal View History

2024-04-15 04:30:16 +00:00
@extends('layouts.app')
@section('content')
<div class="page-content">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-header align-items-center d-flex">
2024-04-16 05:09:23 +00:00
<h5 class="card-title flex-grow-1 mb-0">{{ $title }}</h5>
2024-04-15 04:30:16 +00:00
<div class="flex-shrink-0">
2024-04-16 05:09:23 +00:00
<a href="{{ route('invoice.create') }}" class="btn btn-success waves-effect waves-light"><i
2024-04-15 04:30:16 +00:00
class="ri-add-fill me-1 align-bottom"></i> Add</a>
</div>
</div>
<div class="card-body">
<div class="table-responsive">
<table id="buttons-datatables" class="display table-sm table-bordered table" style="width:100%">
<thead>
<tr>
<th>S.N</th>
2024-04-16 05:09:23 +00:00
<th>Id</th>
2024-04-15 04:30:16 +00:00
<th>Created By</th>
<th>Status</th>
<th>Action</th>
</tr>
</thead>
<tbody>
2024-04-16 05:09:23 +00:00
@forelse ($invoices as $key => $leaveType)
2024-04-15 04:30:16 +00:00
<tr>
<td>{{ $key + 1 }}</td>
<td>{{ $leaveType->employee_id }}</td>
<td>{{ $leaveType->start_date }}</td>
<td>{{ $leaveType->end_date }}</td>
<td>{{ $leaveType->created_at }}</td>
<td>
<div class="hstack flex-wrap gap-3">
<a href="javascript:void(0);" class="link-info fs-15 view-item-btn" data-bs-toggle="modal"
data-bs-target="#viewModal">
<i class="ri-eye-line"></i>
</a>
<a href="{{ route('leaveType.edit', $leaveType->leaveType_id) }}"
class="link-success fs-15 edit-item-btn"><i class="ri-edit-2-line"></i></a>
<a href="javascript:void(0);"
data-link="{{ route('leaveType.destroy', $leaveType->leaveType_id) }}"
data-id="{{ $leaveType->leave_id }}" class="link-danger fs-15 remove-item-btn"><i
class="ri-delete-bin-line"></i></a>
</div>
</td>
</tr>
@empty
@endforelse
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<!--end row-->
</div>
</div>
@endsection