invoice-table-template.js 720 Bytes
Newer Older
eddie.woo's avatar
eddie.woo committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
commonModule.directive('invoiceTableTemplate', ['$log', '$translate',
    function ($log, $translate) {
        'use strict';
        $log.debug('invoiceTableTemplate.ctor()...');

        return {
            restrict: 'E',
            templateUrl: '/app/common/controls/invoice-table-template/invoice-table-template.html' + '?_=' + Math.random(),
            replace: true,
            controller: 'invoiceTableTemplateController',
            scope: {
                invoice: '=',
                //是否需要加载明细,如果Invoice中不包含,请值为true
                isLoadDetail:'=?'
            },
            link: function (scope, element) {
               
            }
        };
    }
]);