New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nova Relationship Sum Field Package #35

dillingham opened this Issue Sep 11, 2018 · 0 comments


None yet
2 participants

dillingham commented Sep 11, 2018

Package that provides sum aggregate column for index views. Assuming a order / order items scenario, the order index would have a "$40" column provided a Sum::make('App\OrderItem')->column('price'); within order resource fields() method

ID Order Item Total
1 Order 1 $50
2 Order 2 $10

Maybe add some method chaining for link options

public function fields()
        return [
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment