<template>
  <ViewList
    :vbind="{
      api: 'payment_schedule',
      params: {
        filter: { txn_detail: scheduleDetailId },
        values:
          'link,ref_code,batch_date,amount_remain,penalty_remain,penalty_paid,penalty_amount,penalty_reduce,ovd_days,remain_amount,paid_amount,txn_detail__transaction__product__trade_code,txn_detail__status,txn_detail__transaction__product__code,txn_detail__phase__name,txn_detail,id,txn_detail__transaction__customer__fullname,txn_detail__transaction__customer__code,txn_detail__transaction__customer__legal_code,status__name,type__name,code,from_date,txn_detail__transaction__policy__code,to_date,amount,cycle,cycle_days,txn_detail__transaction,type,status,updater,entry,detail,txn_detail__transaction__code,txn_detail__code',
      },
      setting: 'payment_schedule_list_timeline',
    }"
  />
</template>

<script>
export default {
  props: {
    scheduleDetailId: [Number, String],
  },
};
</script>
