<template>
    <section :class="['accounting-information', darkMode ? 'section-darkmode' : 'section-lightmode']">
        <div :class="['label', darkMode ? 'label-darkmode' : 'label-lightmode']" id="accounting">Accounting:
            <div class="asset-data">
                <table class="data-table" id="asset-table-no-customer">
                    <tbody>
                        <tr :class="['table-row', darkMode ? 'tr-head-darkmode' : 'tr-head-lightmode']" id="table-head">
                            <th
                                :class="['Action', darkMode ? 'th-darkmode' : 'th-lightmode', darkMode ? 'Action-darkmode' : 'Action-lightmode']">
                                Action</th>
                            <th
                                :class="['Date', darkMode ? 'th-darkmode' : 'th-lightmode', darkMode ? 'Date-darkmode' : 'Date-lightmode']">
                                Date</th>
                            <th :class="['Comments', darkMode ? 'th-darkmode' : 'th-lightmode']">Comments</th>
                        </tr>
                        <tr :class="['table-row', darkMode ? 'first-tr-darkmode' : 'first-tr-lightmode']" id="row-1">
                            <td
                                :class="['Action', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Action-darkmode' : 'Action-lightmode']">
                                Supplier request</td>
                            <td
                                :class="['Date', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Date-darkmode' : 'Date-lightmode']">
                                ...</td>
                            <td :class="['Comments', darkMode ? 'td-darkmode' : 'td-lightmode']">...</td>
                        </tr>
                        <tr :class="['table-row', darkMode ? 'tr-darkmode' : 'tr-lightmode']" id="row-1">
                            <td
                                :class="['Action', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Action-darkmode' : 'Action-lightmode']">
                                Supplier offer</td>
                            <td
                                :class="['Date', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Date-darkmode' : 'Date-lightmode']">
                                ...</td>
                            <td :class="['Comments', darkMode ? 'td-darkmode' : 'td-lightmode']">...</td>
                        </tr>
                        <tr :class="['table-row', darkMode ? 'tr-darkmode' : 'tr-lightmode']" id="row-1">
                            <td
                                :class="['Action', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Action-darkmode' : 'Action-lightmode']">
                                Customer offer</td>
                            <td
                                :class="['Date', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Date-darkmode' : 'Date-lightmode']">
                                ...</td>
                            <td :class="['Comments', darkMode ? 'td-darkmode' : 'td-lightmode']">...</td>
                        </tr>
                        <tr :class="['table-row', darkMode ? 'tr-darkmode' : 'tr-lightmode']" id="row-1">
                            <td
                                :class="['Action', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Action-darkmode' : 'Action-lightmode']">
                                Customer order</td>
                            <td
                                :class="['Date', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Date-darkmode' : 'Date-lightmode']">
                                ...</td>
                            <td :class="['Comments', darkMode ? 'td-darkmode' : 'td-lightmode']">...</td>
                        </tr>
                        <tr :class="['table-row', darkMode ? 'tr-darkmode' : 'tr-lightmode']" id="row-1">
                            <td
                                :class="['Action', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Action-darkmode' : 'Action-lightmode']">
                                Supplier order</td>
                            <td
                                :class="['Date', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Date-darkmode' : 'Date-lightmode']">
                                ...</td>
                            <td :class="['Comments', darkMode ? 'td-darkmode' : 'td-lightmode']">...</td>
                        </tr>
                        <tr :class="['table-row', darkMode ? 'tr-darkmode' : 'tr-lightmode']" id="row-1">
                            <td
                                :class="['Action', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Action-darkmode' : 'Action-lightmode']">
                                Ingress</td>
                            <td
                                :class="['Date', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Date-darkmode' : 'Date-lightmode']">
                                ...</td>
                            <td :class="['Comments', darkMode ? 'td-darkmode' : 'td-lightmode']">...</td>
                        </tr>
                        <tr :class="['table-row', darkMode ? 'tr-darkmode' : 'tr-lightmode']" id="row-1">
                            <td
                                :class="['Action', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Action-darkmode' : 'Action-lightmode']">
                                Egress</td>
                            <td
                                :class="['Date', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Date-darkmode' : 'Date-lightmode']">
                                ...</td>
                            <td :class="['Comments', darkMode ? 'td-darkmode' : 'td-lightmode']">...</td>
                        </tr>
                        <tr :class="['table-row', darkMode ? 'final-tr-darkmode' : 'final-tr-lightmode']" id="row-2">
                            <td
                                :class="['Action', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Action-darkmode' : 'Action-lightmode']">
                                Ingress bill</td>
                            <td
                                :class="['Date', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Date-darkmode' : 'Date-lightmode']">
                                ...</td>
                            <td :class="['Comments', darkMode ? 'td-darkmode' : 'td-lightmode']">...</td>
                        </tr>
                        <tr :class="['table-row', darkMode ? 'final-tr-darkmode' : 'final-tr-lightmode']" id="row-1">
                            <td
                                :class="['Action', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Action-darkmode' : 'Action-lightmode']">
                                Egress bill</td>
                            <td
                                :class="['Date', darkMode ? 'td-darkmode' : 'td-lightmode', darkMode ? 'Date-darkmode' : 'Date-lightmode']">
                                ...</td>
                            <td :class="['Comments', darkMode ? 'td-darkmode' : 'td-lightmode']">...</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </section>
</template>
    
<script setup>
import { ref } from 'vue';

const darkMode = ref(true)
</script>

<script>
export default {
    name: "Accounting",
};
</script>      
      
      
<style scoped>
.accounting-information {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    padding: 1.25rem 1.875rem;
    border-radius: 0.625rem;
    box-shadow: 0.25rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25);
}

.section-darkmode {
    background-color: #2c2c2c;
}

.section-lightmode {
    background-color: #fff;
}

.label {
    letter-spacing: 5%;
    font: 400 1rem/1.875rem Overpass, sans-serif;
}

.label-darkmode {
    color: #FFFFFF;
}

.label-lightmode {
    color: #000;
}

.label#accounting {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.asset-data {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
    padding-left: 0.625rem;
    padding-top: 1rem;
}

.data-table {
    width: 100%;
    padding: 0 0.625rem;
    table-layout: fixed;
    border-collapse: collapse;
}

.table-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 3.125rem;
    padding: 0.625rem;
    gap: 0.625rem;
}

.tr-head-darkmode {
    border-top: none;
    border-bottom: 0.0625rem solid #000000;
}

.tr-head-lightmode {
    border-top: none;
    border-bottom: 0.0625rem solid #8e8e8e;
}

.first-tr-darkmode {
    border-top: 0.0625rem solid #000000;
}

.first-tr-lightmode {
    border-top: 0.0625rem solid #8e8e8e;
}

.final-tr-darkmode {
    background-color: #212121;
}

.final-tr-lightmode {
    background-color: #EBEBEB;
}


th,
td {
    height: 1.875rem;
    text-align: left;
    padding: 0;
    letter-spacing: 5%;
    font: 400 0.875rem/1.875rem Overpass, sans-serif;
}

.th-darkmode,
.td-darkmode {
    color: #ffffff;
}

.th-lightmode,
.td-lightmode {
    color: #000;
}

th {
    font: 700 0.875rem/1.875rem Overpass, sans-serif;
}

tr#row-2 {
    margin-bottom: 0.75rem;
}


.Action {
    width: 40%;
}

.Action-darkmode {
    border-right: 0.0625rem solid #000000;
}

.Action-lightmode {
    border-right: 0.0625rem solid #8e8e8e;
}

.Date {
    width: 20%;
}

.Date-darkmode {
    border-right: 0.0625rem solid #000000;
}

.Date-lightmode {
    border-right: 0.0625rem solid #8e8e8e;
}

.Comments {
    width: 40%;
}
</style>