@extends('dashboard.layouts.master') @section('css') @section('title') العقود @stop @endsection @section('content')
@if ($errors->any())
@endif @if (session()->has('Add')) @endif @if (session()->has('edit')) @endif @if (session()->has('delete')) @endif @admin('المشرف العام للنظام') @include('dashboard/layouts.statistics') @endadmin

العقود

@permitTo('إضافة عقد') @endpermitTo
@foreach ($contracts as $item) @endforeach
# رقم العقد المستاجر العقار عدد الوحدات نهاية العقد طريقة السداد القيمة المالية خيارات
{{ $i }} {{ $item->contract_number }} {{ $item->tenant->name }} {{ $item->realEstate->name }} {{ $item->contractRealEstateUnit->count() }} @if($item->status == 1) {{ $item->ending_of_contract_date }} @elseif($item->status == 2) @endif {{ $item->paymentType->name }} {{ $item->contract_value }} عرض
{{-- Start Add contract --}} {{-- End Add contract --}} {{-- Start cancleContract --}} {{-- End cancelContract --}} {{-- Start show_canel_reson --}} {{-- End show_canel_reson --}} @endsection @section('js') {{-- Edit cancleContract model data --}} {{-- Edit cancleContract model data --}} {{-- Edit show_canel_reson model data --}} {{-- Edit show_canel_reson model data --}} {{-- datatable data --}} {{-- datatable data --}} {{-- Delete Data --}} {{-- Delete Data --}} {{-- add and remove file --}} {{-- add and remove file --}} {{-- Start get getRealEstateUnits --}} {{-- get getRealEstateUnits --}} {{-- Start add dsys --}} {{-- End add dsys --}} @endsection