mirror of
https://github.com/frappe/books.git
synced 2024-12-25 12:10:06 +00:00
32 lines
806 B
Vue
32 lines
806 B
Vue
<template>
|
|
<div class="frappe-list-form row no-gutters">
|
|
<div class="col-4 border-right">
|
|
<frappe-list :doctype="doctype" :filters="filters" :key="doctype" />
|
|
</div>
|
|
<div class="col-8 background-gray">
|
|
<print-view v-if="name" :key="doctype + name" :doctype="doctype" :name="name" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import List from '../components/List/List';
|
|
import PrintView from '../components/Print/PrintView';
|
|
|
|
export default {
|
|
props: ['doctype', 'name', 'filters'],
|
|
components: {
|
|
FrappeList: List,
|
|
PrintView: PrintView,
|
|
},
|
|
}
|
|
</script>
|
|
<style lang="scss">
|
|
.frappe-list-form {
|
|
min-height: calc(100vh - 4rem);
|
|
}
|
|
@import "../styles/variables";
|
|
.background-gray {
|
|
background-color: $gray-100
|
|
}
|
|
</style>
|