<?php

use yii\helpers\Html;

/* @var $this yii\web\View */
/* @var $model backend\models\Finesandchargesbe */

$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Fines and charges', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="finesandchargesbe-view">

    <p>
        <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
        <?= Html::a('Delete', ['delete', 'id' => $model->id], [
            'class' => 'btn btn-danger',
            'data' => [
                'confirm' => 'Are you sure you want to delete this item?',
                'method' => 'post',
            ],
        ]) ?>
    </p>
    

<div class="row">
	<div class="col-sm-2 data-label">Created by</div>
	<div class="col-sm-2"><?= $model->createdby->fullname ?></div>
	<div class="col-sm-2 data-label">Updated by</div>
	<div class="col-sm-2"><?= $model->updatedby->fullname ?></div>
	<div class="col-sm-2 data-label">Deleted by</div>
	<div class="col-sm-2"><?= $model->deleted_by ?></div>
</div>

<div class="row">
	<div class="col-sm-2 data-label">Created at</div>
	<div class="col-sm-2"><?= $model->created_at ? date('d/m/Y',$model->created_at) : null ?></div>
	<div class="col-sm-2 data-label">Updated at</div>
	<div class="col-sm-2"><?= $model->updated_at ? date('d/m/Y',$model->updated_at) : null ?></div>
	<div class="col-sm-2 data-label">Deleted at</div>
	<div class="col-sm-2"><?= $model->deleted_at ? date('d/m/Y',$model->deleted_at) : null ?></div>
</div>

<div class="row">






<div class="col-sm-2 data-label">Job No</div>

<div class="col-sm-4"><?= $model->jobno ?></div>

<div class="col-sm-2 data-label">Date</div>

<div class="col-sm-4"><?= $model->date ?></div>
</div>

<div class="row">

<div class="col-sm-2 data-label">Penaly Points Issued</div>

<div class="col-sm-4"><?= $model->penalypointsissued?></div>

<div class="col-sm-2 data-label">Status</div>

<div class="col-sm-4"><?= $model->status?></div>
</div>

<div class="row">

<div class="col-sm-2 data-label">Pad No</div>

<div class="col-sm-4"><?= $model->padno?></div>

<div class="col-sm-2 data-label">Issuing Body</div>

<div class="col-sm-4"><?= $model->issuingbody?></div>
</div>

<div class="row">

<div class="col-sm-2 data-label">Reference</div>

<div class="col-sm-4"><?= $model->reference?></div>

<div class="col-sm-2 data-label">Location</div>

<div class="col-sm-4"><?= $model->location?></div>
</div>

<div class="row">

<div class="col-sm-2 data-label">Reason</div>

<div class="col-sm-4"><?= $model->reason?></div>

<div class="col-sm-2 data-label">Penalty Points</div>

<div class="col-sm-4"><?= $model->penaltypoints?></div>
</div>

<div class="row">

<div class="col-sm-2 data-label">Value</div>

<div class="col-sm-4"><?= $model->value?></div>
</div>


    
</div>
