22a. Non-current trade receivables

in PLN thousand As at 31 December 2018 As at 31 December 2017
Receivables due from finance lease 6 376 6 819
Receivables due from sale of tangible fixed assets 1 257 1 910
Advances for construction in progress 2 093 -
Other receivables 210 209
  9 936 8 938

22b. Trade and other receivables

in PLN thousand As at 31 December 2018 As at 31 December 2017
(transformed data)
Trade receivables due from related parties 36 106 48 274
Trade receivables due from other entities 79 578 76 610
Tax and social security receivables - 3 031
Receivables due from compensations for stranded costs 165 2 043
Receivables due from compensations for gas compensation - 6 938
Receivables due from sale of tangible fixed assets 718 718
Receivables related to the guarantee fund 54 362 2 892
Receivables due from balance market 420 420
Prepayments and deferred costs in respect of the program of connecting buildings to the heat distribution network 1 618 1 718
Prepayments and deferred costs in respect of property and civil liability insurance 3 924 3 838
Finance leases receivables 438 446
Other receivables, prepayments and defered costs 119 530
  177 448 147 458
in PLN thousand As at 31 December 2018 As at 31 December 2017
Gross overdue receivables    
up to 1 month 2 313 810
over 1 month up to 3 months 40 38
over 3 months up to 6 months 19 4
over 6 months up to 1 year 33 10
over 1 year 688 2 124
  3 093 2 986
Allowances for overdue receivables (2 654) (2 215)
Net overdue receivables 439 771