@extends('adminlte::layouts.app') @section('htmlheader_title') {{ trans('adminlte_lang::message.home') }} @endsection @section('main-content')
| Nombre | Compañía | Descripción | Común | Torres | Apartamentos | Acciones |
|---|---|---|---|---|---|---|
| {{ $expense->name }} | {{ $expense->company }} | {{ $expense->description }} |
@if($expense->common == "0")
|
@if($expense->towers->count() > 0)
{!! " |
@if($expense->apartments->count() > 0)
") !!} --}} @elseif($expense->towers->count() > 0) |
{!!link_to_route('admin.expenses.edit', $title = ' Editar', $parameters = ['id' => Crypt::encrypt($expense->id)], $attributes = ['class'=>'btn btn-warning fa fa-edit']);!!} @if($expense->invoices->count() == 0) @endif |
| Nombre | Compañía | Descripción | Común | Torres | Apartamentos | Acciones |