A Colne man involved in an argument outside a pub threw his pint glass at the taxi taking his adversary away from the row.
Blackburn magistrates heard the glass smashed the rear windscreen of the cab causing £300 worth of damage.
Jake Bannister (22), of Lancaster Street, pleaded guilty to damaging a window belonging to Mohammed Yousaf.
He was given a conditional discharge for six months and ordered to pay £300 compensation, £150 victim surcharge, £85 costs and £15 victim surcharge.
Catherine Allan (prosecuting) said the taxi was called to collect a fare outside the Grey Horse in Clayton-le-Moors and the driver saw the defendant having a verbal altercation with the man who got into the taxi.
As the man got in, Bannister said “have a nice day” and then threw his pint glass. An offer of a conditional caution for the offence on condition he paid the £300 compensation was withdrawn.
Helen Oats (defending) said: “He is a self-employed builder, work has been slow, and he couldn’t afford to pay the £300.”