forked from adempiere/adempiere-vue
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Cash Managements (Transcoding) (adempiere#1569)
- Loading branch information
1 parent
3a0c6e4
commit 4b7767b
Showing
9 changed files
with
595 additions
and
4 deletions.
There are no files selected for viewing
62 changes: 62 additions & 0 deletions
62
src/components/ADempiere/Form/VPOS2/Options/cashManagement/cashClosing/index.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
62 changes: 62 additions & 0 deletions
62
src/components/ADempiere/Form/VPOS2/Options/cashManagement/cashDetailClosing.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
79 changes: 79 additions & 0 deletions
79
src/components/ADempiere/Form/VPOS2/Options/cashManagement/cashOpening/index.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
79 changes: 79 additions & 0 deletions
79
src/components/ADempiere/Form/VPOS2/Options/cashManagement/cashOpening/panel.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
62 changes: 62 additions & 0 deletions
62
src/components/ADempiere/Form/VPOS2/Options/cashManagement/cashWithdrawal.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
Oops, something went wrong.