@extends('master')

@section('title')
    Company Usage Log
@stop

@section('styles')

@stop

@section('content')

@include('partials.dashboard-menu')

<h1> <strong>{{ $company }}</strong> Usage Log</h1>
<!--<a class="myButton" style="width:5% ;text-align: center;" href="/view-users/{{$company}}"><i class="fa fa-chevron-left" aria-hidden="true"></i> Back</a> -->
    <div class="comapanyTable">
            <table>
                <thead>
                    <tr>
                        <th width="10%">Report</th>
                        <th width="10%">Created At</th>
                        <th width="10%%">User Name</th>
                    </tr>
                </thead>
                <tbody>
                    @foreach($transactions as $transaction)
                        <tr>
                            <td>{{ $transaction->product }}</td>
                            <td>{{ $transaction->created_at }}</td>
                            <td>{{ $transaction->user }}</td>
                            </tr>
                    @endforeach
                </tbody>
            </table>
    </div>
    <hr>
    @include('partials.footer')
@stop