Short-term financing in a cash-constrained supply chain