Operating profit (loss) for the six months ended June 30, 2021 increased to $5.0 million from $0.3 million for the six months ended June 30, 2020. Operating profit margin increased from 0.2% in 2020 to 2.2% in 2021. In the Thailand region, operating profit (loss) margin increased slightly year over year from 3.7% to 3.9%. Revenue increased by 58%, but operating profit remained low because the Thailand region provided a $2.2 million allowance for diminution in the value of inventories in 2021. In the North Asia region, operating profit (loss) margin decreased slightly from 3.0% in 2020 to 2.7% for the same period in 2021, primarily attributable to copper price fluctuations. The ROW region’s operating profit (loss) margin increased from (4.1)% in 2020 to 1.3% in 2021, primarily attributable to decreased competition due to COVID-19.
Selling, general and administrative expenses for the six months ended June 30, 2021 were $13.0 million, compared to $11.8 million reported for the six months ended June 30, 2020. Net income (loss) attributable to APWC shareholders was $(0.1) million for the first six months of 2021, compared to $(1.2) million for the same period in 2020. The increase in net income was primarily due to an increase in gross profit. The weighted average number of shares issued and outstanding was 13.82 million for the six months ended June 30, 2021 and 2020.
Financial Condition
APWC reported $39.0 million in cash and cash equivalents as of June 30, 2021, compared to cash and cash equivalents of $52.2 million as of December 31, 2020.
Current assets totaled $306.6 million as of June 30, 2021, compared to $263.7 million as of December 31, 2020. Working capital was $168.9 million as of June 30, 2021, as compared to $174.3 million as of June 30, 2020. Short term bank loans were $56.2 million at June 30, 2021, an increase from $10.1 million at the end of 2020. The Company had $3.5 million in long-term debt outstanding at June 30, 2021, compared to $3.7 million in long-term debt as of December 31, 2020. Shareholder’s equity attributable to APWC was $152.6 million as of June 30, 2021, compared to $157.9 million as of December 31, 2020.
APWC reported $46.3 million in cash used in operations during the six months ended June 30, 2021, compared to cash generated from operations of $10.8 million in the corresponding period in 2020. The increase in cash used in operations in 2021 was primarily attributable to recovery of economy, which led to an increase in purchases of materials and copper prices. The Company reported $1.9 million in cash outflows from investing activities during the six months ended June 30, 2021, compared to $15.7 million in cash outflows in the same period of 2020. The decrease in cash used for investing activities was attributable primarily to decrease in purchase of investment properties and short-term bank deposits in 2021. APWC reported $38.7 million in cash inflows from financing activities during the first six months of 2021, compared to $5.6 million in cash inflows from financing activities in the same period of 2020. The increase in cash inflows in 2021 was primarily attributable to an increase in borrowings.
2