- $NetAmount = Total Amount With TAX
- $GrossAmount = Actual Amount
- $TAX = TAX in Percentage
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
import os | |
import shutil | |
def organize_downloads(downloads_folder): | |
""" | |
Organizes files in the downloads folder based on their extensions. | |
Args: | |
downloads_folder: Path to the Downloads folder. |
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
stages: | |
- build | |
- deploy | |
before_script: | |
- | | |
# docker variables for name and tag of new image | |
export DOCKER_TAG="${CI_COMMIT_SHA:0:8}" | |
export DOCKER_REPO="$CI_REGISTRY_IMAGE" | |
export DOCKER_IMAGE="${DOCKER_REPO}:${DOCKER_TAG}" |
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
``` | |
<script> | |
$(function () { | |
let dtButtons = $.extend(true, [], $.fn.dataTable.defaults.buttons) | |
let deleteButtonTrans = '{{ trans('global.datatables.delete') }}' | |
let deleteButton = { | |
text: deleteButtonTrans, | |
url: "{{ route('products.massDestroy') }}", | |
className: 'btn-danger', | |
action: function (e, dt, node, config) { |
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
Deployment of Django App on Shared Hosting | |
Like A2Hosting |