Skip to content

Commit

Permalink
Feat: Cash Managements (Transcoding) (adempiere#1569)
Browse files Browse the repository at this point in the history
  • Loading branch information
elsiosanchez authored Oct 30, 2023
1 parent 3a0c6e4 commit 4b7767b
Show file tree
Hide file tree
Showing 9 changed files with 595 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<!--
ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
Contributor(s): Elsio Sanchez elsiosanchez15@outlook.com https://github.com/elsiosanchez
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https:www.gnu.org/licenses/>.
-->

<template>
<el-row :gutter="10">
<el-col :span="8" style="width: 100% !important;">
<div>
<el-card
shadow="never"
class="custom-card-options"
:body-style="{ padding: '10px' }"
>
<p
class="card-options-buttons"
>
<i class="el-icon-sold-out" />
<br>
{{ $t('form.pos.optionsPoinSales.cashManagement.closeBox') }}
</p>
</el-card>
</div>
</el-col>
</el-row>
</template>

<script>
import { defineComponent } from '@vue/composition-api'

export default defineComponent({
name: 'cashClosing'
})
</script>

<style lang="scss" scoped>
.card-options-buttons {
cursor: pointer;
text-align: center !important;
color: black;
min-height: 50px;
}
.custom-card-options {
margin: 1px;
cursor: pointer;
}
.custom-card-options:hover {
background-color: #eaf5fe;
border: 1px solid #36a3f7;
}
</style>
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<!--
ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
Contributor(s): Elsio Sanchez elsiosanchez15@outlook.com https://github.com/elsiosanchez
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https:www.gnu.org/licenses/>.
-->

<template>
<el-row :gutter="10">
<el-col :span="8" style="width: 100% !important;">
<div>
<el-card
shadow="never"
class="custom-card-options"
:body-style="{ padding: '10px' }"
>
<p
class="card-options-buttons"
>
<i class="el-icon-sold-out" />
<br>
{{ $t('form.pos.optionsPoinSales.cashManagement.detailedCloseBox') }}
</p>
</el-card>
</div>
</el-col>
</el-row>
</template>

<script>
import { defineComponent } from '@vue/composition-api'

export default defineComponent({
name: 'cashDetailClosing'
})
</script>

<style lang="scss" scoped>
.card-options-buttons {
cursor: pointer;
text-align: center !important;
color: black;
min-height: 50px;
}
.custom-card-options {
margin: 1px;
cursor: pointer;
}
.custom-card-options:hover {
background-color: #eaf5fe;
border: 1px solid #36a3f7;
}
</style>
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<!--
ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
Contributor(s): Elsio Sanchez elsiosanchez15@outlook.com https://github.com/elsiosanchez
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https:www.gnu.org/licenses/>.
-->

<template>
<el-row :gutter="10">
<el-col :span="8" style="width: 100% !important;">
<div @click="openCahs">
<el-card
shadow="never"
class="custom-card-options"
:body-style="{ padding: '10px' }"
>
<p
class="card-options-buttons"
>
<i class="el-icon-sell" />
<br>
{{ $t('form.pos.optionsPoinSales.cashManagement.cashOpening') }}
</p>
</el-card>
</div>
</el-col>
</el-row>
</template>
<script>
import { defineComponent } from '@vue/composition-api'
import lang from '@/lang'
import store from '@/store'
export default defineComponent({
name: 'cashOpening',
setup() {
function openCahs() {
store.dispatch('setModalDialogVPOS', {
title: lang.t('form.pos.optionsPoinSales.cashManagement.cashOpening'),
doneMethod: () => {
store.commit('setShowedModalDialogVPOS', {
isShowed: false
})
},
componentPath: () => import('@/components/ADempiere/Form/VPOS2/Options/cashManagement/cashOpening/panel.vue'),
isShowed: true
})
}
return {
openCahs
}
}
})
</script>

<style lang="scss" scoped>
.card-options-buttons {
cursor: pointer;
text-align: center !important;
color: black;
min-height: 50px;
}
.custom-card-options {
margin: 1px;
cursor: pointer;
}
.custom-card-options:hover {
background-color: #eaf5fe;
border: 1px solid #36a3f7;
}
</style>
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<!--
ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
Contributor(s): Elsio Sanchez elsiosanchez15@outlook.com https://github.com/elsiosanchez
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https:www.gnu.org/licenses/>.
-->

<template>
<el-row :gutter="10">
<el-col :span="8" style="width: 100% !important;">
<div @click="openCahs">
<el-card
shadow="never"
class="custom-card-options"
:body-style="{ padding: '10px' }"
>
<p
class="card-options-buttons"
>
<i class="el-icon-sell" />
<br>
{{ $t('form.pos.optionsPoinSales.cashManagement.cashOpening') }}
</p>
</el-card>
</div>
</el-col>
</el-row>
</template>
<script>
import { defineComponent } from '@vue/composition-api'
import lang from '@/lang'
import store from '@/store'
export default defineComponent({
name: 'cashOpening',
setup() {
function openCahs() {
store.dispatch('setModalDialogVPOS', {
title: lang.t('form.pos.optionsPoinSales.cashManagement.cashOpening'),
doneMethod: () => {
store.commit('setShowedModalDialogVPOS', {
isShowed: false
})
},
componentPath: () => import('@/components/ADempiere/Form/VPOS2/Options/cashManagement/cashOpening/panel.vue'),
isShowed: true
})
}
return {
openCahs
}
}
})
</script>

<style lang="scss" scoped>
.card-options-buttons {
cursor: pointer;
text-align: center !important;
color: black;
min-height: 50px;
}
.custom-card-options {
margin: 1px;
cursor: pointer;
}
.custom-card-options:hover {
background-color: #eaf5fe;
border: 1px solid #36a3f7;
}
</style>
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<!--
ADempiere-Vue (Frontend) for ADempiere ERP & CRM Smart Business Solution
Copyright (C) 2017-Present E.R.P. Consultores y Asociados, C.A.
Contributor(s): Elsio Sanchez elsiosanchez15@outlook.com https://github.com/elsiosanchez
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https:www.gnu.org/licenses/>.
-->

<template>
<el-row :gutter="10">
<el-col :span="8" style="width: 100% !important;">
<div>
<el-card
shadow="never"
class="custom-card-options"
:body-style="{ padding: '10px' }"
>
<p
class="card-options-buttons"
>
<i class="el-icon-money" />
<br>
{{ $t('form.pos.optionsPoinSales.cashManagement.cashwithdrawal') }}
</p>
</el-card>
</div>
</el-col>
</el-row>
</template>

<script>
import { defineComponent } from '@vue/composition-api'

export default defineComponent({
name: 'cashwithdrawal'
})
</script>

<style lang="scss" scoped>
.card-options-buttons {
cursor: pointer;
text-align: center !important;
color: black;
min-height: 50px;
}
.custom-card-options {
margin: 1px;
cursor: pointer;
}
.custom-card-options:hover {
background-color: #eaf5fe;
border: 1px solid #36a3f7;
}
</style>
Loading

0 comments on commit 4b7767b

Please sign in to comment.