From 28359053986cf75a82c48b5b7c9bd9302f7c85ac Mon Sep 17 00:00:00 2001 From: madd15 Date: Fri, 24 Jul 2015 12:24:10 +0930 Subject: [PATCH] Fix dup file uploads and layout --- app/views/backend/hardware/view.blade.php | 63 ++--------------------- 1 file changed, 3 insertions(+), 60 deletions(-) diff --git a/app/views/backend/hardware/view.blade.php b/app/views/backend/hardware/view.blade.php index db6897b22ec8..3e7780933d5b 100755 --- a/app/views/backend/hardware/view.blade.php +++ b/app/views/backend/hardware/view.blade.php @@ -172,7 +172,7 @@ - + @@ -198,64 +198,7 @@ @endif - -
- - -
@lang('general.file_uploads') [ @lang('button.add') ]
- - -
@lang('general.name')@lang('general.name') @lang('admin/licenses/form.serial') @lang('table.actions')
- - - - - - - - - - @if (count($asset->uploads) > 0) - @foreach ($asset->uploads as $file) - - - - - - - @endforeach - @else - - - - - @endif - - -
@lang('general.notes')@lang('general.file_name')
- @if ($file->note) {{{ $file->note }}} - @endif - - {{{ $file->filename }}} - - @if ($file->filename) - @lang('general.download') - @endif - - - - -
- @lang('general.no_results') -
- - -
New Improvement @@ -267,7 +210,7 @@ - + @@ -282,7 +225,7 @@ @if (is_null($assetMaintenance->deleted_at)) - +
@lang('admin/asset_maintenances/table.supplier_name')@lang('admin/asset_maintenances/table.supplier_name') @lang('admin/asset_maintenances/form.asset_maintenance_type') @lang('admin/asset_maintenances/form.start_date') @lang('admin/asset_maintenances/form.completion_date')
{{{ $assetMaintenance->supplier->name }}}{{{ $assetMaintenance->improvement_type }}}{{{ $assetMaintenance->asset_maintenance_type }}} {{{ $assetMaintenance->start_date }}} {{{ $assetMaintenance->completion_date }}} {{{ $assetMaintenance->is_warranty ? Lang::get('admin/asset_maintenances/message.warranty') : Lang::get('admin/asset_maintenances/message.not_warranty') }}}