You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
2.1 KiB

2 years ago
  1. <template>
  2. <div
  3. class="PaymentDetails tw-bg-neutrals-0 tw-rounded-[20px] tw-text-base-primary tw-p-5 tw-h-auto"
  4. >
  5. <div class="tw-body-3 tw-font-bold tw-mb-[11.5px]">{{ $t('Payment Details') }}</div>
  6. <div v-if="PaymentDetails.length == 1" class="tw-mb-[10px]">
  7. <div class="tw-py-[20px] t14 tw-font-bold tw-inline-block tw-mr-[40px]">
  8. <div class="tw-mb-[12px]">{{ $t('Payment Method') }}</div>
  9. <div class="tw-mb-[12px]">{{ $t('Payment Terms') }}</div>
  10. <div class="tw-mb-[12px]">{{ $t('Payment Date') }}</div>
  11. <div>{{ $t('Total Amount') }}</div>
  12. </div>
  13. <div class="t14 tw-inline-block">
  14. <div class="tw-mb-[12px]">
  15. {{ PaymentDetails[0].payment_type }}
  16. </div>
  17. <div class="tw-mb-[12px]">
  18. {{ $t('Full Payment') }}
  19. </div>
  20. <div class="tw-mb-[12px]">
  21. {{ PaymentDetails[0].modify_at }}
  22. </div>
  23. <div>
  24. {{ PaymentDetails[0].amount }}{{ Currency }}
  25. </div>
  26. </div>
  27. </div>
  28. <div
  29. class="tw-grid tw-grid-rows-[40px_40px_auto] tw-gap-[10px_12px] md:tw-grid-cols-[129px_175px_auto] md:tw-grid-rows-none md:tw-items-center md:tw-gap-[24px]"
  30. >
  31. <button
  32. class="t14 tw-text-complementary-1 tw-p-[11px] tw-font-bold tw-bg-[#EFF3FF] tw-max-w-[129px] tw-rounded-[10px] hover:tw-text-[#A0B5FF]"
  33. @click="$modal.show('BankingDetails')"
  34. >
  35. {{ $t('Banking Details') }}
  36. </button>
  37. <button
  38. class="button-border t14 tw-text-primary-1 tw-p-[11px] tw-font-bold tw-border tw-border-solid tw-rounded-[10px] tw-border-primary-1 tw-max-w-[175px] hover:tw-bg-primary-3"
  39. @click="$modal.show('UploadRemittanceSlip')"
  40. >
  41. {{ $t('Upload Remittance Slip') }}
  42. </button>
  43. <div class="t14 tw-font-normal tw-text-[#EE9546]">
  44. {{ $t('Please upload your remittance slip as soon as the bill has been transferred.') }}
  45. </div>
  46. </div>
  47. </div>
  48. </template>
  49. <script>
  50. export default {
  51. data() {
  52. return {};
  53. },
  54. props: {
  55. PaymentDetails: {
  56. type: Array,
  57. },
  58. Currency:{
  59. type:String,
  60. },
  61. },
  62. };
  63. </script>
  64. <style lang="scss" scoped></style>