import { HttpClient } from '@angular/common/http';
import { Injectable } from '@angular/core';
import { BaseService } from '../../base/base-service';

@Injectable({
    providedIn: 'root'
})
export class PeriodSummaryService extends BaseService {

    constructor(
        public http: HttpClient
    ) {
        super('/v1/register/period_summaries', http)
     }

     searchSummary(data){
        return this.http.get(`${this.fullUrl}/${data.payment_date}/${data.period}/${data.counter_no}`);
    }
}


