@extends('layouts.master') @section('style') @stop @section('content')
@include('partials.message')
{{ trans('ui.branches.names') }}
@if(Auth::user() -> can(['create-branches'])) @endif @if(Auth::user()->can(['update-branches', 'delete-branches'])) @endif @foreach($sucursales as $sucursal) @if(Auth::user()->can(['update-branches', 'delete-branches'])) @endif @endforeach
{{ trans('ui.branches.name') }}{{ trans('ui.branches.operation_label') }}
{{ $sucursal->nombre }} @if(Auth::user()->can('update-branches')) @endif @if(Auth::user()->can('delete-branches')) {!! Form::open(['url' => 'sucursal/'. $sucursal->id, 'method' => 'delete','style'=>'display:inline-block;']) !!} {!! Form::close() !!} @endif
@stop @section('script') @stop