name: contract_payments
label: 付款合同
filter_scope: space
filters: !<tag:yaml.org,2002:js/function> |-
  function () {

      return [
        ["bop","=","付款合同"],
        ["instance_state","<>","terminated"], "and",["instance_state","<>","pending"], "and",["instance_state","<>","rejected"], "and",["instance_state","<>","droped"]
      ];

  }
columns:
  - field: create_date
    width: 150
  - field: 'no'
    width: 150
    wrap: true
  - field: name
    width: 220
    wrap: true
  - field: instance_state
    width: 120
    wrap: true
  - field: othercompany
    width: 220
    wrap: true
  - field: amount
    width: 120
    wrap: true
  - field: unfor_invoicing_amount
    width: 120
    wrap: true
  - field: unpaid_amount
    width: 120
    wrap: true
  - field: for_invoicing_amount
    width: 120
    wrap: true
  - field: paid_amount
    width: 120
    wrap: true
  - field: owner
    width: 120
    wrap: true
filter_fields:
  - contract_type
  - signed_date
  - othercompany
  - instance_state
sort:
  - - create_date
    - desc
