c. Contracts shall be awarded to the lowest responsible bidder in each branch of work in the case of separate bids and to the single lowest responsible bidder in the case of single bids. In the event that a contract is advertised in accordance with paragraph (3) of subsection b. of this section, the contract shall be awarded in the following manner: If the sum total of the amounts bid by the lowest responsible bidder for each such branch is less than the amount bid by the lowest responsible bidder for all of the work and materials, the board, body or person authorized to award contracts for such work shall award separate contracts for each of such branches to the lowest responsible bidder therefor, but if the sum total of the amount bid by the lowest responsible bidder for each such branch is not less than the amount bid by the lowest responsible bidder for all the work and materials, the board, body or person authorized to award the contract shall award a single over-all contract to the lowest responsible bidder for all of such work and materials. In every case in which a contract is awarded under paragraph (2) or (3) of subsection b. of this section, all payments required to be made by the board, body or person awarding the contract under such contract for work and materials supplied by a subcontractor may, upon the certification of the contractor of the amount due to the subcontractor, be paid directly to the subcontractor. Payments to a subcontractor for work and materials supplied in connection with the contract shall be made within 10 calendar days of the receipt of payment for that work or the delivery of those materials by the subcontractor in accordance with the provisions of P.L. 1991, c.133 (C.2A:30A-1 et seq.), and any regulations promulgated thereunder.