*428*681Plaintiff A.J. Fistes Corporation (Fistes) appeals from a judgment entered after the trial court sustained without leave to amend the demurrer filed by defendants GDL Best Contractors, Inc. (GDL) and its officers, Francisco M. Lopez, Jose C. Lopez, and Benjamin Lopez (collectively, the Lopezes), to Fistes's third amended complaint. Fistes brought suit against GDL, the Lopezes, and the Montebello Unified School District (the District), seeking a declaration the contract the District awarded to GDL for the remediation of school properties was void due to violations of the Public Contract Code and the Government Code. Fistes alleged it was the low bidder on the contract. Fistes also sought a constructive trust against GDL in favor of the District. In sustaining the demurrer, the trial court found Fistes lacked standing to sue GDL and the Lopezes, and Fistes's third amended complaint was fatally uncertain. Fistes later voluntarily dismissed the District without prejudice. On appeal, Fistes contends it has standing as a state taxpayer because the District is an agency of the state and state money wholly funded the remediation project.
While Fistes's appeal was pending, the Legislature amended Code of Civil Procedure section 526a,
We reverse and remand for further proceedings. On remand, the trial court should grant Fistes leave to amend its complaint.
FACTUAL AND PROCEDURAL BACKGROUND
A. The Fistes and GDL Bids and the District's Contract Award
In February 2016 the District issued specifications for a project entitled, "Exterior Environmental Remediation and Painting at Various Sites" (the project).
The District opened bidding on the project on March 1, 2016. Fistes submitted a bid to complete the work for $1,127,900; GDL submitted a bid for $2,555,000. On March 7 the District informed Fistes its bid was deemed nonresponsive because the company had failed to include required financial statements, and the bid was missing a corporate seal. Fistes sent the District a *683letter on March 9 protesting the rejection of its bid. On April 7, 2016 the District awarded the contract to GDL.
B. Department 85 Proceedings
On April 19, 2016 Fistes filed a petition for a writ of mandate against the District, naming GDL as a real party in interest. On April 27 Fistes filed an ex parte application for issuance of an alternative writ of mandate and a temporary restraining order. The District and GDL opposed the application. GDL argued it had "begun substantial performance and [was] nearing completion of its performance on the Project." (Italics omitted.) On April 27, after hearing argument from counsel, the trial court denied the application, but set a hearing on the petition for November 15, 2016.
On August 8, 2016 Fistes filed a verified first amended petition for writ of mandate and complaint for declaratory, injunctive, and other equitable relief. Fistes named the District as a defendant and respondent and GDL as a defendant and real party in interest. Fistes alleged the District's governing board illegally awarded GDL the project contract, which Fistes sought to declare void. Fistes alleged the District violated multiple provisions of the Public Contract Code and Government Code, including accepting GDL's bid proposal despite its failure to prequalify for the contract ( Pub. Contract Code, § 20111.5, subd. (d) ) and contracting with GDL despite a conflict of interest ( Gov. Code, § 1090 ). Fistes sought a judgment declaring the award of the contract to GDL void or invalid, a constructive trust in favor of the District and taxpayers, injunctive relief, and a peremptory writ of mandate directing the District to rescind all illegal payments to GDL and to deliver to Fistes a number of requested documents.
*430On September 28, 2016 Fistes filed an ex parte application seeking continuation of the trial, a briefing schedule on two discovery motions, and leave to amend to add a reference to Public Contract Code section 20111.6, which requires prospective bidders on specified public projects to submit prequalification questionnaires and financial statements. GDL opposed the application, arguing Fistes's petition for a writ of mandate was "moot as the Project has now been completed," and Fistes lacked standing to bring its claims. After a hearing, on September 28, 2016 the trial denied Fistes's ex parte application, dismissed the writ of mandate cause of action as moot, and granted Fistes leave to amend.
*684C. Department 50 Proceedings
1. Fistes's third amended complaint
On October 18, 2016 Fistes filed a second amended complaint. Following the filing of a demurrer by GDL, but before a hearing, Fistes filed the operative third amended complaint. Fistes named the District, GDL, and the Lopezes as defendants.
The third amended complaint alleged "[a]t all times relevant hereto [Fistes] has paid taxes to the State of California that were used directly and/or indirectly to make the payments that are the subject of this action and is interested in assuring [the District] does not pay money out under contracts that are awarded in violation of California law." Further, the project "was funded by the State of California via the Leroy F. Greene School Facilities Act of 1998 ... and/or funds from state school bonds." Fistes also alleged the District "paid GDL $2,416,470.62 from the California State School Facility Program" for its work on the project.
Fistes alleged the District violated Public Contract Code sections 20111.5 and 20111.6 by failing to require bidders to prequalify for the contract. Fistes also alleged conflicts of interest between the District and GDL, in violation of Government Code section 1090. Specifically, the District and GDL had agreed GDL would perform other contracts for less compensation in return for the District awarding the project to GDL. In addition, the District's "officers, employees and/or consultants (including GDL)" had financial and nonfinancial interests in the contract.
Fistes alleged Francisco M. Lopez, Benjamin Lopez, and Jose C. Lopez were, respectively, the president, vice president, and secretary-treasurer of GDL. Fistes alleged as to the Lopezes: "GDL was used by [the Lopezes] to perpetrate fraud (i.e. obtain payment from [the District] on an illegal contract), circumvent a statute (i.e. not comply with the Public Contract Code statutes applicable to school district bidder pre-qualification and contract awards) and/or accomplish some other wrongful or inequitable purpose (i.e. obtain payment from [the District] on an illegal contract), such that justice and equity require the Court to disregard the corporate entity separateness of GDL from [the Lopezes] and treat GDL's acts and liabilities as if they were those of [the Lopezes] since they were the ones actually controlling GDL as its only officers, directors and shareholders and they benefitted most from [the District]'s illegal payments to GDL. For purposes of this action [the Lopezes] are the alter egos of GDL such that their liability should be joint and several with GDL ...." Further, GDL "pass[ed] significant portions of [the]
*431$2,416,470.62 to [the Lopezes] in the form of increased salary, bonuses, *685distributions, shareholder advances and other forms of compensation, value and/or other benefits that they would not have received but for the monies GDL received from [the District] on the Project."
Fistes sought a judgment declaring the contract between the District and GDL "void, invalid and/or that amounts paid thereunder must be reduced and returned to [the District] as provided in Public Contract Code § 5110." Fistes also sought to establish a constructive trust in favor of the District against GDL and the Lopezes and a judgment ordering GDL and the Lopezes "to repay to [the District] (or Plaintiff on behalf of and for the benefit of [the District] ) all excess/illegal payments received" for performance of the contract.
2. Defendants' demurrer
GDL and the Lopezes demurred to the third amended complaint. They argued Fistes lacked taxpayer standing under former section 526a
Fistes opposed the demurrer, arguing it had standing as a "disappointed bidder" acting in the public interest. Fistes contended its third amended complaint was not uncertain, but requested leave to amend if the trial court concluded otherwise. Fistes also requested leave to amend to reassert its cause of action for a writ of mandate, arguing the court should find its claim was not moot because public contracts would always be completed before a legal challenge could be adjudicated. Fistes sought leave to plead additional facts to address mootness and to support recovery of its bid preparation costs from the District.
Fistes also argued it had sufficiently alleged alter ego liability against the Lopezes and a cause of action for restitution. In the alternative, Fistes *686requested leave to amend, arguing it could allege liability of the Lopezes based on their unjust enrichment from the contract, pointing to an independent audit of the contract relating to alleged financial improprieties. Fistes filed an attorney declaration in support of this request, attaching several news articles regarding the Legislature's initiation of an audit of the District and the District's firing of its superintendent, chief financial officer, and chief business officer, as well as letters from a third party to the District regarding an audit of the District the company was hired to perform.
In their reply, GDL and the Lopezes argued Fistes had no standing to bring an action against GDL for return of the funds *432the District paid under the contract, noting Fistes sued as a taxpayer, not a disappointed bidder. Further, any remedy Fistes had against the District was limited to an action for a writ of mandate to compel the District to perform its ministerial duties, not a claim against GDL and the Lopezes as private parties.
After a hearing, on April 28, 2017 the trial court sustained the demurrer without leave to amend. The trial court found Fistes lacked standing as a taxpayer under former section 526a because Fistes "does not allege that it is a taxpayer in the District of Montebello but rather a taxpayer in the state." Further, Fistes did not have standing as a disappointed bidder to bring an action against GDL and the Lopezes. The trial court also sustained the demurrer based on uncertainty, finding the third amended complaint "does not adequately apprise [GDL and the Lopezes] of the causes of actions they must defend." The court found the third amended complaint violated California Rules of Court, rule 2.112,
The trial court entered judgment on June 1, 2017. Fistes timely appealed. On August 4, 2017 Fistes voluntarily dismissed the District without prejudice.
*687DISCUSSION
A. Standard of Review
"In reviewing an order sustaining a demurrer, we examine the operative complaint de novo to determine whether it alleges facts sufficient to state a cause of action under any legal theory. [Citation.] Where the demurrer was sustained without leave to amend, we consider whether the plaintiff could cure the defect by an amendment." ( T.H. v. Novartis Pharmaceuticals Corp. (2017)
A trial court abuses its discretion by sustaining a demurrer without leave to amend where " 'there is a reasonable possibility that the defect can be cured by amendment.' " ( Loeffler v. Target Corp. (2014)
" 'Both standing and the interpretation of statutes are questions of law to which we typically apply a de novo standard of review.' " ( California DUI Lawyers Assn. v. Department of Motor Vehicles (2018)
*688B. The Third Amended Complaint Alleges Facts Sufficient To Establish Taxpayer Standing Under Section 526a
1. Taxpayer standing under section 526a
"At its core, standing concerns a specific party's interest in the outcome of a lawsuit. [Citations.] We ... require a party to show that he or she is sufficiently interested as a prerequisite to deciding, on the merits, whether a party's challenge to legislative or executive action independently has merit." ( Weatherford, supra , 2 Cal.5th at p. 1247,
" Section 526a provides a mechanism for controlling illegal, injurious, or wasteful actions by [government] officials," which "remains available even where the injury is insufficient to satisfy general standing requirements under section 367." ( Weatherford,
The courts have upheld taxpayer standing under section 526a in suits against school districts to obtain a judgment restraining or preventing the waste of public funds. (See Los Altos Property Owners Assn. v. Hutcheon (1977)
*689association and school district residents had standing to sue school district to enjoin junior high school consolidation plan]; accord, Taxpayers for Accountable School Bond Spending v. San Diego Unified School Dist. (2013)
Further, taxpayers have standing under section 526a to sue "to set aside void or illegal contracts," including by bringing suit against a private entity to disgorge public funds paid by a local entity on an allegedly illegal public contract. ( Holloway v. Showcase Realty Agents, Inc., supra , 22 Cal.App.5th at pp. 770-771,
The Supreme Court in Weatherford considered what tax payments are sufficient to grant taxpayer standing under former section 526a. ( Weatherford,
*435*6902. Section 526a, as amended, applies to this action
The 2018 amendment to section 526a clarifies the scope of tax payments that qualify to confer taxpayer standing. Section 526a, subdivision (a), now provides, "An action to obtain a judgment, restraining and preventing any illegal expenditure of, waste of, or injury to, the estate, funds, or other property of a local agency, may be maintained against any officer thereof, or any agent, or other person, acting in its behalf, either by a resident therein, or by a corporation, who is assessed for and is liable to pay, or, within one year before the commencement of the action, has paid, a tax that funds the defendant local agency , including, but not limited to, the following: [¶] (1) An income tax. [¶] (2) A sales and use tax or transaction and use tax initially paid by a consumer to a retailer. [¶] (3) A property tax, including a property tax paid by a tenant or lessee to a landlord or lessor pursuant to the terms of a written lease. [¶] (4) A business license tax." (Italics added.)
In its supplemental letter brief, Fistes argued the amendment to section 526a applies to this case because it would not alter defendants' liability for past conduct and would not deprive defendants of any substantive defense.
There is a "presumption that statutes operate prospectively absent a clear indication the voters or the Legislature intended otherwise." ( Californians for Disability Rights v. Mervyn's, LLC (2006)
*691or if it " ' "substantially affect[s] existing rights and obligations," ' " then the law's application to a pending case is impermissible, absent the express intent of the Legislature to allow retroactive application. ( Mervyn's , at p. 231,
The courts have applied changes in law to pending cases both to limit and to expand the plaintiff's standing. (See Mervyn's, supra , 39 Cal.4th at p. 231,
The court in Amaral confronted the effect of a change in law that expanded a plaintiff's standing to sue. ( Amaral, supra , 163 Cal.App.4th at p. 1199,
The reasoning of Mervyn's and Amaral applies squarely to the Legislature's amendment of section 526a. The amendment specifies which tax payments are sufficient to establish taxpayer standing, but "does not change the legal consequences of [defendants'] past conduct by imposing new or different liabilities based on such conduct." ( *437Mervyn's, supra , 39 Cal.4th at p. 232,
The fact the Legislature amended section 526a while the appeal was pending does not alter our analysis. As discussed, in Mervyn's , Proposition 64 took effect to deprive the plaintiff of standing while the case was pending on appeal. ( Mervyn's, supra , 39 Cal.4th at p. 227,
3. Fistes has alleged facts sufficient to establish standing under section 526a
GDL and the Lopezes contend Fistes has not alleged facts sufficient to establish taxpayer standing because the third amended complaint alleges only that Fistes pays taxes in the state, not in the District. Fistes responds in its letter brief that the allegation Fistes paid state taxes that were used to fund the District's payments to GDL under the contract is sufficient to establish standing under section 526a, as amended. Fistes is correct.
*693Section 526a, subdivision (a), provides a corporation that has been assessed and is liable to pay or has paid within one year before the commencement of an action "a tax that funds the defendant local agency" has standing to sue to restrain an illegal expenditure of public funds by the local agency. The third amended complaint alleges Fistes "paid taxes to the State of California that were used directly and/or indirectly to make the payments that are the subject of this action."
Moreover, the allegation by Fistes that it paid state taxes (assuming the taxes were assessed or paid within one year of the filing of the complaint) is alone sufficient to confer standing under section 526a. Under California's public school system funding scheme, "school districts receive their funding primarily from the state." ( Kirchmann v. Lake Elsinore Unified School Dist. (2000)
*694Therefore, by alleging payment of state taxes, Fistes has adequately alleged payment of "a tax that funds" the District. ( § 526a, subd. (a).) By its plain terms, section 526a does not require a corporation to make tax payments directly to the local agency. The legislative history accompanying the 2018 amendment supports this conclusion. As the analysis of the legislation by the Assembly Committee on Judiciary stated, "AB 2376 clarifies specifically what kinds of taxes are sufficient to establish taxpayer standing. As a preliminary matter, the tax must have been one that funds the defendant government (i.e. not necessarily paid directly to the defendant government) ...." (Assem. Com. on Judiciary, com. on Assem. Bill No. 2376 (2017-2018 Reg. Sess.) Apr. 10, 2018, p. 4.) Nor does section 526a impose a residency requirement on corporations, despite imposing one on individuals. ( § 526a, subd. (a) [authorizing action "either by a resident therein, or by a corporation"]; see Irwin v. City of Manhattan Beach (1966)
The reliance by GDL and the Lopezes on Cornelius v. Los Angeles County etc. Authority (1996)
*439accounting for only 15 percent of the MTA's funding. ( Cornelius , at p. 1778,
Fistes has therefore alleged facts sufficient to establish standing to sue to restrain the alleged illegal expenditure of public funds by the District.
C. The Trial Court Erred in Sustaining the Demurrer to the Third Amended Complaint Without Leave To Amend Based on Uncertainty
Fistes contends the third amended complaint was not uncertain because it adequately apprised GDL and the Lopezes of the legal and factual bases for *695Fistes's claims, and to the extent the third amended complaint was deficient, the trial court should have granted leave to amend. We agree on both points.
" '[D]emurrers for uncertainty are disfavored, and are granted only if the pleading is so incomprehensible that a defendant cannot reasonably respond.' " ( Mahan v. Charles W. Chan Ins. Agency, Inc. (2017)
"[U]nder our liberal pleading rules, where the complaint contains substantive factual allegations sufficiently apprising defendant of the issues it is being asked to meet, a demurrer for uncertainty should be overruled or plaintiff given leave to amend." ( Williams v. Beechnut Nutrition Corp. (1986)
Although the third amended complaint is not a model of clarity, it contains substantive factual allegations sufficient to apprise GDL and the Lopezes of the claims against GDL: whether the award of the project contract to GDL was unlawful, and whether GDL must return the payments it received from the District for work performed under the contract. Further, the third amended complaint alleges the District violated Public Contract Code sections 20111.5 and 20111.6 by failing to require prequalification of bidders, and that the District had a conflict of interest with GDL in violation of Government Code section 1090.
To the extent the third amended complaint violated California Rules of Court, rule 2.112, by failing to explain the nature of the alleged cause of action, the trial court should have granted leave to *440amend to correct this deficiency.
D. Fistes Failed To Allege Facts Sufficient To Establish Liability Against the Lopezes
Fistes contends it has adequately alleged two theories of liability against the Lopezes: liability as the alter egos of GDL for any profits the Lopezes made from the allegedly illegal contract, and a cause of action for restitution. Neither theory is adequately pleaded, but the trial court should have allowed Fistes leave to amend.
"To recover on an alter ego theory, a plaintiff need not use the words 'alter ego,' but must allege sufficient facts to show a unity of interest and ownership, and an unjust result if the corporation is treated as the sole actor." ( Leek v. Cooper (2011)
As to the unity of interest between GDL and the Lopezes, Fistes alleges only that the Lopezes "were the ones actually controlling GDL as its only officers, directors and shareholders and they benefitted most from [the District]'s illegal payments to GDL." But "[a]n allegation that a person owns all of the corporate stock and makes all of the management decisions is insufficient to cause the court to disregard the corporate entity." ( Leek v. Cooper, supra , 194 Cal.App.4th at p. 415,
Likewise, Fistes has not sufficiently alleged an unjust result if GDL is treated as separate from the Lopezes. Fistes alleges "GDL was used by [the Lopezes] to perpetrate fraud (i.e. obtain payment from [the District] on an illegal contract), circumvent a statute (i.e. not comply with the Public Contract Code statutes applicable to school district bidder pre-qualification and contract awards) and/or accomplish some other wrongful or inequitable purpose (i.e. obtain payment from [the District] on an illegal contract)." Each of these allegations relates to the alleged illegal award of the contract by the District to GDL. Fistes makes no factual allegations of wrongdoing by the Lopezes, nor that " 'adherence to the fiction of the separate existence of the corporation would promote injustice ... or bring about inequitable *697results ....' " ( Toho-Towa Co., Ltd. v. Morgan Creek Productions, Inc. (2013)
Fistes also argues its claims against the Lopezes for restitution are cognizable, relying on Hartford Casualty Ins. Co. v. J.R. Marketing, L.L.C. (2015)
Fistes alleges GDL paid the Lopezes "increased salar[ies], bonuses, distributions, shareholder advances and other forms of compensation" from the funds GDL received from the District. But Fistes does not allege facts showing the payments from GDL to the Lopezes lacked an adequate legal basis. Fistes therefore has not alleged a cause of action for restitution against the Lopezes on behalf of the District. Indeed, the sole basis alleged for restitution is the invalidity of the contract awarded to GDL, not any action by the Lopezes. Thus, Fistes's purported cause of action for restitution against the Lopezes is merely a restatement of its claims based on alter ego liability.
E. The Trial Court's Dismissal of Fistes's Writ of Mandate Action Is Not Part of This Appeal
Fistes contends the trial court
The judgment is reversed and the matter remanded for further proceedings. On remand, the trial court should grant Fistes leave to amend its complaint consistent with this opinion. Fistes is to recover its costs on appeal.
WE CONCUR:
ZELON, Acting P. J.
SEGAL, J.
All further undesignated statutory references are to the Code of Civil Procedure.
GDL and the Lopezes argue in their supplemental brief the amendment to section 526a did not confer standing on Fistes because Fistes's payment of taxes to the state was insufficient for standing under the amendment, and Fistes's standing argument should be rejected because Fistes opposed the demurrer based only on its standing as a disappointed bidder, not a taxpayer. These contentions are not persuasive. As to the second contention, we decline to find forfeiture because it was GDL and the Lopezes who raised Fistes's standing as a state taxpayer in their demurrer, and the trial court addressed in its ruling whether Fistes had taxpayer standing under former section 526a. (People v. McCullough (2013)
The factual summary is taken from the third amended complaint and the attached exhibits.
Judge James C. Chalfant presided over the Department 85 proceedings.
On our own motion, we augment the record to include the trial court's September 28, 2016 minute order. (Cal. Rules of Court, rule 8.155(a)(1)(A).)
Former section 526a provided, "An action to obtain a judgment, restraining and preventing any illegal expenditure of, waste of, or injury to, the estate, funds, or other property of a county, town, city or city and county of the state, may be maintained against any officer thereof, or any agent, or other person, acting in its behalf, either by a citizen resident therein, or by a corporation, who is assessed for and is liable to pay, or, within one year before the commencement of the action, has paid, a tax therein." As discussed below, in 2018 the Legislature amended section 526a, effective January 1, 2019.
California Rules of Court, rule 2.112 provides, "Each separately stated cause of action, count, or defense must specifically state: [¶] (1) Its number (e.g., 'first cause of action'); [¶] (2) Its nature (e.g., 'for fraud'); [¶] (3) The party asserting it if more than one party is represented on the pleading (e.g., 'by plaintiff Jones'); and [¶] (4) The party or parties to whom it is directed (e.g., 'against defendant Smith')."
The trial court did not address Fistes's request for leave to amend to reassert its cause of action for a writ of mandate against the District.
In its analysis of Assembly Bill No. 2376, the Assembly's Concurrence in Senate Amendments explained the amendment to section 526a was in direct response to Chief Justice Cantil-Sakauye's concurrence in Weatherford , "to make clear that sales and use taxes, income taxes, business license taxes, and property taxes, among others, are sufficient to establish standing under the statute." (Assem. Conc. in Sen. Amend., com. on Assem. Bill No. 2376 (2017-2018 Reg. Sess.) Aug. 23, 2018, p. 2; see Sen. Rules Com., Off. of Sen. Floor Analyses, 3d reading analysis of Assem. Bill No. 2376 (2017-2018 Reg. Sess.) as amended July 5, 2018, pp. 2-3 [The amendment "clarifies the standing requirements" under section 526a in response to Weatherford to address "[t]he ambiguity of current law [that] prevents the public from establishing taxpayer standing under Section 526a as the Legislature intended."].)
GDL and the Lopezes do not address in their supplemental brief whether the amendment to section 526a applies prospectively to this case.
The third amended complaint alleges further the project "was funded by the State of California via the Leroy F. Greene School Facilities Act of 1998 ... and/or funds from state school bonds," and the District "paid GDL $2,416,470.62 from the California State School Facility Program" for its work on the project. The Leroy F. Greene School Facilities Act of 1998 (Ed. Code, § 17070.10 et seq. ) "governs the allocation of state funds for school facilities construction." (California Charter Schools Assn. v. Los Angeles Unified School Dist. (2015)
Although Fistes did not allege it was assessed and liable to pay or paid state taxes within one year of its filing of the action, GDL and the Lopezes did not raise the timing of Fistes's payment of taxes as an issue in their demurrer or on appeal.
Because we conclude Fistes has taxpayer standing under the amendment to section 526a, we do not reach its arguments it has alleged standing as a disappointed bidder, public interest standing, or common law taxpayer standing. Nor do we address whether Fistes had taxpayer standing under former section 526a.
California Rules of Court, rule 2.112, requires that each "separately stated cause of action" must be numbered, describe "its nature (e.g., 'for fraud')," and state the party asserting the claim and against whom the cause of action is asserted. However, rule 2.112 does not require the plaintiff to separate its claims into separate causes of action.
Judge Chalfant.
In its Civil Case Information Statement, Fistes lists only GDL and the Lopezes as parties to this appeal.
The parties have not addressed whether the District is a necessary or indispensable party to Fistes's third amended complaint or whether the case may proceed in the District's absence. (See Tracy Press, Inc. v. Superior Court (2008)
