<?= $this->extend("layouts/default") ?>

<?= $this->section("title") ?>Agtron Number<?= $this->endSection() ?>


<?= $this->section("content") ?>
<style>
    :root {
        --background: --background-body;
    }
</style>

<?= view(
    "layouts/bcr-nav",
    [
        "title" => "Agtron Number",
        "controller" => "RoastColours",
        "links" => [
            "Back" =>  ["url" => url_to("RoastColours::index"), "auth_check" => true]
        ]
    ]
) ?>

<div class="round-border">

    <h1>Roast Colour</h1>

    <table>
        <tr>
            <td><b>ID</b></td>
            <td><?= $roastcolour->RoastColourID ?></td>
        </tr>
        <tr>
            <td><b>Name</b></td>
            <td><?= $roastcolour->RoastColourName ?></td>
        </tr>
        <tr>
            <td><b>From Agtron Number</b></td>
            <td><?= $roastcolour->FromNumber ?></td>
        </tr>
        <tr>
            <td><b>To Agtron Number</b></td>
            <td><?= $roastcolour->ToNumber ?></td>
        </tr>
        <tr>
            <td><b>Last updated</b></td>
            <td><?= $roastcolour->lastupdated ?></td>
        </tr>
    </table>


    <?= view("layouts/deletebtnrecipes", ["controller" => "RoastColours", 'id' => (string)$roastcolour->RoastColourID, "urltodelete" => "RoastColours::confirmDelete", "urltoedit" => "RoastColours::edit"]) ?>

</div>

<?= $this->include("layouts/usedbyrecipes") ?>


<?= $this->endSection() ?>